class
SceneLight
public class SceneLight : SceneObject Base class for light scene objects for use with a SceneWorld.
Constructors
SceneLight(SceneWorld sceneWorld, Vector3 position, Single radius, Color color) SceneLight(SceneWorld sceneWorld) Properties
| Name | Type | Description |
|---|---|---|
LightColor | Color | Color and brightness of the light |
Radius | Single | Radius of the light in units |
ConstantAttenuation | Single | The light attenuation constant term |
LinearAttenuation | Single | The light attenuation linear term |
QuadraticAttenuation | Single | The light attenuation quadratic term |
ShadowTextureResolution | Int32 | Get or set the resolution of the shadow map. If this is zero the engine will decide what it should use. |
ShadowsEnabled | Boolean | Enable or disable shadow rendering |
LightCookie | Texture | Access the LightCookie - which is a texture that gets drawn over the light |
Shape | LightShape | |
ShapeSize | Vector2 | |
FogLighting | FogLightingMode | |
FogStrength | Single | |
ShadowBias | Single | |
ShadowHardness | Single |