Share via


Light.Enabled Property (Microsoft.DirectX.Direct3D)

Retrieves or sets a Boolean value that enables or disables a set of lighting parameters within a device.

Definition

Visual Basic Public Property Enabled As Boolean
C# public bool Enabled { get; set; }
C++ public:
property bool Enabled {
        bool get();
        void set(bool value);
}
JScript public function get Enabled() : boolean
public function set Enabled(boolean);

Property Value

System.Boolean
Value that enables or disables the lighting parameters.

This property is read/write.