Garry's Mod Wiki

Revision Difference

Structures/SunInfo#517064

<cat>struct</cat> <structure> <description>Returned by <page>util.GetSunInfo</page>.</description> <fields>{{StructureField|Vector|direction|The suns direction relative to 0,0,0</fields>⤶ <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> ⤶ ⤶ {{StructureField|number|obstruction|Indicates how obstructed the sun is, 1 not visible, 0 fully visible}}⤶ }}