Compartir a través de


LightType Enumeration

Defines the light type.

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

Syntax

'Declaration
Public Enumeration LightType
'Usage
Dim instance As LightType
public enum LightType
public enum class LightType
public enum LightType
public enum LightType

Members

  Member name Description
Supported by the .NET Compact Framework Directional This 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 Framework Point This 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.

Platforms

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.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Direct3D Programming