GetSunPositionZ - Game

Member of: Game Script (Requires 1.6)

Gets the Z position of the sun.

SyntaxEdit

float Function GetSunPositionZ() native global

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit