Light.ZPosition Property

Language:

Retrieves or sets a Z-coordinate value that indicates the position of the light.

Definition

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


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