GetSunPositionZ - Game

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script (Requires 1.6)

Gets the Z position of the sun.

Syntax[edit | edit source]

float Function GetSunPositionZ() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The Z position of the sun, or 0.0 if the sun is not up.

Examples[edit | edit source]

Debug.Trace("The Sun has a z position of: " + GetSunPositionZ())

See Also[edit | edit source]