MDLLightType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates the types of MDLLight.
public enum MDLLightType
type MDLLightType =
- Inheritance
-
MDLLightType
Fields
Ambient | 1 | A nondirectional, diffuse light that is not dependent on its location. |
Directional | 2 | A directional light that is not dependent on its location. |
DiscArea | 6 | A disc-shaped light that shines in all directions. |
Environment | 11 | A light that is generated by an environment light texture map. |
Linear | 5 | A line of light that shines in all directions. |
Photometric | 9 | A light that is an instance of MDLPhotometricLight. |
Point | 4 | A point light that shines in all directions. |
Probe | 10 | A light that is shone through a cube map. |
RectangularArea | 7 | A rectangular light that shines in all directions. |
Spot | 3 | A light source that shines in a specific direction from a specific place. |
SuperElliptical | 8 | A super-ellipse-shaped light that shines in all directions |
Unknown | 0 | An unknown light type, or an uninitialized light. |