Base class: Entity
This entity emits light in a defined volume.
| Property | Type | Description |
|---|---|---|
| GetConeAngles | Method | gets the inner and outer cone angles of a spotlight |
| GetFalloff | Method | gets the light falloff mode |
| GetShadowMapSize | Method | returns the light shadow map dimensions |
| GetRange | Method | returns the light maximum distance |
| SetCascadeDistance | Method | sets the light cascade distance |
| SetConeAngles | Method | sets the inner and outer cone angles of a spotlight |
| SetFalloff | Method | sets the light falloff mode |
| SetRange | Method | sets the light maximum distance |
| SetShadowmapSize | Method | sets the dimensions of the light's shadow map |
| CreateBoxLight | Function | Creates a new box light |
| CreateDirectionalLight | Function | Creates a new directional light |
| CreatePointLight | Function | Creates a new point light |
| CreateSpotLight | Function | Creates a new spot light |