Sin - Math

From the Fallout4 CreationKit Wiki
Revision as of 14:12, 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 sine of the value (in degrees) it is given.

Syntax[edit | edit source]

float Function sin(float afValue) native global

Parameters[edit | edit source]

  • afValue: The value to get the sine of, in degrees.

Return Value[edit | edit source]

The sine of the passed-in value.

Examples[edit | edit source]

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

See Also[edit | edit source]