Asin - Math

From the Fallout4 CreationKit Wiki
Revision as of 14:11, 2 December 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Math Script

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

Syntax[edit | edit source]

float Function asin(float afValue) native global

Parameters[edit | edit source]

  • afValue: The value to get the arcsine of. This value must be no greater than 1, and no less then -1.

Return Value[edit | edit source]

The arcsine of the passed-in value, in degrees.

Examples[edit | edit source]

float x = asin(1) ; x == 90
float y = asin(0) ; y == 180

See Also[edit | edit source]