CNavArea:GetLightIntensity
Recently Added
This was recently added in version (2026.07.02). It might only be available on the Dev Branch right now.
Description
Returns the stored light intensity of this nav area.
Arguments
1 Vector position = nil
If given, a world position to calculate light intensity at. (elevation ignored)
Internally light intensity is stored for each corner, so the final value would be interpolated from these 4 values based on which one is closest.
If omitted, the return value will be simply an average of the 4 values.
Garry's Mod
Rust
Steamworks
Wiki Help