Microsoft DirectX 9.0 SDK Update (October 2004)

Light.Type Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets the type of the light source.

Definition

Visual Basic .NET Public Property Type As LightType
C# public LightType Type { get; set; }
Managed C++ public: __property LightType get_Type();
public: __property void set_Type(LightType);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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