SunInfo
Description
Returned by util.GetSunInfo.
Members
table with Color structure overlayColor
Color of sun's overlay in
0-255 range as Color structure.
This was recently added in version (2026.01.07). It might only be available on the Dev Branch right now.
string overlayMaterial
The sun's overlay name of material. For example:
sprites/light_glow02_add_noz.vmt.
This was recently added in version (2026.01.07). It might only be available on the Dev Branch right now.
number overlaySize
Size of sun's overlay.
This was recently added in version (2026.01.07). It might only be available on the Dev Branch right now.
table with Color structure sunColor
Color of sun in
0-255 range as Color structure.
This was recently added in version (2026.01.07). It might only be available on the Dev Branch right now.
string sunMaterial
The sun's name of material.
This was recently added in version (2026.01.07). It might only be available on the Dev Branch right now.
number sunSize
Size of sun.
This was recently added in version (2026.01.07). It might only be available on the Dev Branch right now.
boolean enabled
State of sun.
This was recently added in version (2026.01.12). It might only be available on the Dev Branch right now.
Garry's Mod
Rust
Steamworks
Wiki Help