Light.Type Property

Language:

Retrieves or sets the type of the light source.

Definition

Visual Basic Public Property Type As LightType
C# public LightType Type { get; set; }
C++ public:
property LightType Type {
        LightType get();
        void set(LightType value);
}
JScript public function get Type() : LightType
public function set Type(LightType);

Property Value

Microsoft.DirectX.Direct3D.LightType
A value that represents the light source's type.

This property is read/write. 

Remarks

This value is a member of the LightType enumerated type.

Exceptions
InvalidCallException The property value is invalid.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center