Background for Fallout 4
Member of the Math script
floatfunctionDegreesToRadians(floatafDegrees)NativeGlobal

Description

Wiki Description

Converts from degrees to radians.

Documentation Comment

Converts degrees to radians


Caveats


Parameters

floatafDegrees

CK Wiki Description

The value in degrees to convert.


Examples

float x = DegreesToRadians(360) ; x ~= 6.28318
float y = DegreesToRadians(90) ; y ~= 1.57080

Auto-Generated Example

float myFloat__afDegrees

float returnedValue = Math.DegreesToRadians(myFloat__afDegrees)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.