Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The light type property defines which type of light source you are using. The light type is set by using a value from the D3DMLIGHTTYPEenumeration in the Typemember of the light's D3DMLIGHTstructure. There are two types of lights in Microsoft® Direct3D® Mobile: point lights and directional lights. Each type illuminates objects in a scene differently, with varying levels of computational overhead. For general information about how each type of light works, see Light Objects.

See Also

Concepts

Light Properties