Versions Compared
compared with
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 | ||||||
---|---|---|---|---|---|---|
| ||||||
setSunPosition(x, y, z); |
Parameters
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.
Parameter | Type | Mandatory | Notes | Warzone Version |
---|---|---|---|---|
x | Number | The x-position of the Sun | 3.2 | |
y | Number | The y-position of the Sun | 3.2 | |
z | Number | The z-position (height) of the Sun | 3.2 |
Return values
Unknown at present
Example
Waiting to learn more about the parameters before proving an example.
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|
Div | ||
---|---|---|
| ||
See alsoRelated functions:
|