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