LightSource Properties |
The LightSource type exposes the following members.
Name | Description | |
---|---|---|
![]() | BoundingSphere |
Light bounding sphere.
|
![]() | Color |
Light color and strength (A field = light strength).
|
![]() | Direction |
Light direction, if its a directional light.
|
![]() | Intensity |
Light Intensity (equivilent to Color.A).
|
![]() | IsDirectionalLight |
Return if this light is a directional light.
|
![]() | IsInfinite |
Return if this light source is infinite, eg has no range and reach anywhere (like a directional light).
|
![]() | ParamsVersion |
So we can cache lights and identify when they were changed.
|
![]() | Position |
Light position in world space.
|
![]() | Range |
Light range.
|
![]() | Specular |
Specular factor.
|