This documentation is archived and is not being maintained.

LightType Enumeration

Defines the light type.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

public enum LightType
public enum LightType
public enum LightType

 Member nameDescription
Supported by the .NET Compact FrameworkDirectionalThis light source is directional and is attached to a frame but appears to illuminate all objects with equal intensity, as if it were at an infinite distance from the objects. Directional light has orientation but no position, and it is commonly used to simulate distant light sources, such as the sun. 
Supported by the .NET Compact FrameworkPointThis light is a point source. The light has a position in space and radiates light in all directions. 

Directional lights are slightly faster than point lights, but point lights look a little better.

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Compact Framework

Supported in: 2.0