Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the light type.
Definition
Visual Basic Public Enum LightType C# public enum LightType C++ public enum class LightType JScript 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.
Enumeration Information
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll) Strong Name Microsoft.DirectX.Direct3D, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492