Sky

gfx.sky.set_rotation

Client

Sets the rotation of the sky

Syntax

local status = gfx.sky.set_rotation(
    rotation
)

Parameters

TypeNameDescription
vector3rotationSky rotation to apply in degrees as {x, y, z}

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set sky rotation
gfx.sky.set_rotation({0, 90, 0})

On this page