Share via


Light.YDirection Property (Microsoft.DirectX.Direct3D)

Retrieves or sets a Y-axis value that indicates the direction of the light.

Definition

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

Property Value

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

This property is read/write. 

Remarks

Exceptions

InvalidCallException

The property value is invalid.