Background for Fallout 4
Member of the Math script
floatfunctionatan(floatafValue)NativeGlobal

Description

Wiki Description

Calculates the arctangent of the value it is given. The returned value is in degrees.

Documentation Comment

Calculates the arctangent of the passed in value, returning degrees


Caveats


Parameters

floatafValue

CK Wiki Description

The value to get the arctangent of.


Examples

float x = atan(0) ; x == 180
float y = acos(1) ; y == 45

Auto-Generated Example

float myFloat__afValue

float returnedValue = Math.atan(myFloat__afValue)

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.