Light.Direction Property (Microsoft.DirectX.Direct3D)
Retrieves or sets the direction in which the light is pointing in world space, as specified by a Vector3 structure.
Definition
Visual Basic Public Property Direction As Vector3 C# public Vector3 Direction { get; set; } C++ public:
property Vector3 Direction {
Vector3 get();
void set(Vector3 value);
}JScript public function get Direction() : Vector3
public function set Direction(Vector3);
Property Value
Microsoft.DirectX.Vector3
A Vector3 structure that represents the direction in which the light is pointing.This property is read/write.
Remarks
This member has meaning only for directional light and spotlights. The vector need not be normalized, but it should have a nonzero length.
Exceptions
The property value is invalid.