Microsoft DirectX 9.0 SDK Update (October 2004)

Listener3DSettings.Position Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves and sets the listener's position.

Definition

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);

Property Value

Microsoft.DirectX.Vector3 . The listener's position.

This property is read/write. 

Remarks

By default, measurement units are meters, but this can be changed by changing the Listener3DSettings.DistanceFactor property.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center