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

Description

Wiki Description

Calculates the tangent of the value (in degrees) it is given.

Documentation Comment

Calculates the tangent of the passed in value (in degrees)


Caveats


Parameters

floatafValue

CK Wiki Description

The value to get the tangent of, in degrees.


Examples

float x = tan(180) ; x == 0
float y = tan(45) ; y == 1

Auto-Generated Example

float myFloat__afValue

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