The SceneLight class represents a generic point light scene object within a SceneWorld. It provides various properties to control the light's color, intensity, attenuation, and shadow settings.
The SceneLight class represents a generic point light scene object within a SceneWorld. It provides various properties to control the light's color, intensity, attenuation, and shadow settings.
Member Name | Summary |
---|---|
LightColor | Color and brightness of the light |
Radius | Radius of the light in units |
ConstantAttenuation | The light attenuation constant term |
LinearAttenuation | The light attenuation linear term |
QuadraticAttenuation | The light attenuation quadratic term |
ShadowTextureResolution | Get or set the resolution of the shadow map. If this is zero the engine will decide what it should use. |
ShadowsEnabled | Enable or disable shadow rendering |
LightCookie | Access the LightCookie - which is a texture that gets drawn over the light |
FogLighting | Controls the fog lighting mode |
FogStrength | Determines the strength of the fog effect |