Background for Skyrim SE
Member of the Math script
floatfunctionRadiansToDegrees(floatafRadians)NativeGlobal

Description

Wiki Description

Converts from radians to degrees.

Documentation Comment

Converts radians to degrees


Caveats

CK Wiki - Notes

The same result can be achieved without a function call by simply dividing by 0.01745329252:

float x = 6.2831853072 / 0.01745329252 ; x ~= 360
float y = 1.5707963268 / 0.01745329252 ; y ~= 90

Parameters

floatafRadians

CK Wiki Description

The value in radians to convert.


Examples

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

Auto-Generated Example

float myFloat__afRadians

float returnedValue = Math.RadiansToDegrees(myFloat__afRadians)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.