![]() |
![]() |
![]() |
Light.Position Property |
Language: |
Retrieves or sets the position of the light in world space, as specified by a Vector3 structure.
Visual Basic .NET Public Property Position As Vector3 C# public Vector3 Position { get; set; } Managed C++ public: __property Vector3 get_Position();
public: __property void set_Position(Vector3);JScript .NET public function get Position() : Vector3
public function set Position(Vector3);
Microsoft.DirectX.Vector3 . A Vector3 structure that represents the position of the light in world space.
This property is read/write.
This member has no effect on directional lights.
Exceptions
InvalidCallException The property value is invalid.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center