gfx.sky.set_rotation
Client
Sets the rotation of the sky
Syntax
local status = gfx.sky.set_rotation(
rotation
)Parameters
| Type | Name | Description |
|---|---|---|
vector3 | rotation | Sky rotation to apply as {x, y, z} in radians |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.sky.set_rotation({0.0, 1.5708, 0.0})