gfx.sky.get_rotation

Client

Retrieves the current rotation of the sky


Syntax

local result = gfx.sky.get_rotation()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
vector3resultCurrent sky rotation as {x, y, z} in radians

Examples

Print current sky rotation
core.engine.print("info", "Sky rotation:", util.table.unpack(gfx.sky.get_rotation()))

On this page