Sky
gfx.sky.get_rotation
ClientRetrieves 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 in degrees as {x, y, z} |
Examples
core.engine.print("info", "Sky rotation:", util.table.unpack(gfx.sky.get_rotation()))