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
| Type | Name | Description |
|---|---|---|
vector3 | result | Current sky rotation as {x, y, z} in radians |
Examples
core.engine.print("info", "Sky rotation:", util.table.unpack(gfx.sky.get_rotation()))