The Light class in the Sandbox namespace is an abstract component that represents a light source in a scene. It provides properties to control the light's color, shadow casting, and interaction with fog.
The Light class in the Sandbox namespace is an abstract component that represents a light source in a scene. It provides properties to control the light's color, shadow casting, and interaction with fog.
Member Name | Summary |
---|---|
LightColor | The main color of the light. |
Shadows | Should this light cast shadows? |
FogMode | Determines how the light interacts with fog. |
FogStrength | The strength of the light's influence on fog, ranging from 0 to 1. |