Garry's Mod Wiki

Revision Difference

Structures/SunInfo#552725

<cat>struct</cat>⤶ <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> </fields> </structure>