Light.XDirection Property (Microsoft.DirectX.Direct3D)

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.