Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Set the position of the Sun, which affects shadows on the map.

 

Syntax

Code Block
themeRDark
languagejavascript
linenumberstrue
setSunPosition(x, y, z);

Parameters

(warning) It's not yet clear what the bounds are on these parameters, or what their reference point is. Current assumption is map dimensions and coordinate system.

ParameterTypeMandatory

Notes

Warzone Version
xNumber(tick)The x-position of the Sun(question)
yNumber(tick)The y-position of the Sun(question)
zNumber(tick)The z-position (height) of the Sun(question)

Return values

Unknown at present

Example

Waiting to learn more about the parameters before proving an example.

Div
classbox

Availability

Requires:

  • Warzone (question) and above
Div
classbox

See also

Related functions: