Garry's Mod Wiki

SunInfo

Description

Returned by util.GetSunInfo.

Parameters

Vector direction
The suns direction relative to 0,0,0
number obstruction
Indicates how obstructed the sun is, 1 not visible, 0 fully visible