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

Description

Wiki Description

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

Documentation Comment

Calculates the arccosine of the passed in value, returning degrees


Caveats


Parameters

floatafValue

CK Wiki Description

The value to get the arccosine of. This value must be no greater than 1, and no less then -1.


Examples

float x = acos(0) ; x == 90
float y = acos(-1) ; y == 180

Auto-Generated Example

float myFloat__afValue

float returnedValue = Math.acos(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.