Share via


Light.XPosition Property (Microsoft.DirectX.Direct3D)

Retrieves or sets an X-coordinate value that indicates the position of the light.

Definition

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

Property Value

System.Single
Value that indicates the position of the light.

This property is read/write. 

Remarks

Exceptions

InvalidCallException

The property value is invalid.