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 as {x, y, z} in radians

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set sky rotation
gfx.sky.set_rotation({0.0, 1.5708, 0.0})

On this page