Share via


Light Class

Defines a set of lighting properties.

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

Syntax

'Declaration
Public NotInheritable Class Light
'Usage
Dim instance As Light
public sealed class Light
public ref class Light sealed
public final class Light
public final class Light
Not applicable.

Remarks

Light properties are not updated on the device until either Update is called to commit the changes or Enabled is set to true.

Inheritance Hierarchy

System.Object
   Microsoft.WindowsMobile.DirectX.Direct3D.BaseMesh
    Microsoft.WindowsMobile.DirectX.Direct3D.Light

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

Light Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Direct3D Programming