Share via


Light.Enabled Property

Indicates whether lighting parameters are enabled within a device.

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

Syntax

'Declaration
Public Property Enabled As Boolean
'Usage
Dim instance As Light
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public bool Enabled { get; set; }
public:
property bool Enabled {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_Enabled ()

/** @property */
public void set_Enabled (boolean value)
public function get Enabled () : boolean

public function set Enabled (value : boolean)
Not applicable.

Property Value

Value that enables or disables the lighting parameters.

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 Class
Light Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace