Garry's Mod Wiki

Revision Difference

Structures/SunInfo#566070

<structure> <realm>Client</realm> <description>Returned by <page>util.GetSunInfo</page>.</description> <fields> <item name="direction" type="Vector">The suns direction relative to 0,0,0</item>⤶ <item name="obstruction" type="number">Indicates how obstructed the sun is, 1 not visible, 0 fully visible</item>⤶ <item name="direction" type="Vector">The sun's direction relative to 0,0,0.</item>⤶ <item name="obstruction" type="number">Indicates how obstructed the sun is, 1 not visible, 0 fully visible.</item>⤶ ⤶ <item name="overlaycolor" type="Vector" added="2026.01.07">Normalized color of sun's overlay in `0`-`1` range.</item>⤶ ⤶ <item name="overlaysize" type="number" added="2026.01.07">Size of sun's overlay.</item>⤶ ⤶ <item name="sunsize" type="number" added="2026.01.07">Size of sun.</item>⤶ </fields> </structure>