Note: This documentation is preliminary and is subject to change.
Defines the light type.
Definition
Visual Basic .NET
Public Enum LightType
C#
public enum LightType
Managed C++
__value public enum LightType
JScript .NET
public enum LightType
Members
Member
Value
Description
Directional
3
Light is a directional light source. It is equivalent to using a point light source at an infinite distance.
Spot
2
Light is a spotlight source. It is similar to a point light, except that the area of illumination is limited to a cone. This light type has a direction and several other parameters that determine the shape of the cone it produces. For more information, see the Light class.
Point
1
Light is a point source. The light has a position in space and radiates light in all directions.
Remarks
Directional lights are slightly faster than point lights, but point lights look a little better. Spotlights offer interesting visual effects but are slow.