Light.XDirection Property

Language:

Retrieves or sets an X-axis value that indicates the direction in which the light points.

Definition

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

Property Value

System.Single
Value that indicates the direction in which the light points.

This property is read/write. 

Remarks

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