Share via


Light.Position Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the position of the light in world space, as specified by a Vector3 structure.

Definition

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

Property Value

Microsoft.DirectX.Vector3
A Vector3 structure that represents the position of the light in world space.

This property is read/write. 

Remarks

This member has no effect on directional lights.

Exceptions

InvalidCallException

The property value is invalid.