Light.ZDirection Property

Language:

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.


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