Share via


Light.ZDirection Property (Microsoft.DirectX.Direct3D)

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

Definition

Visual Basic Public Property ZDirection As Single
C# public float ZDirection { get; set; }
C++ public:
property float ZDirection {
        float get();
        void set(float value);
}
JScript public function get ZDirection() : float
public function set ZDirection(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.