 | ConnectionSet3DListenerAttributes Method |
Set the position, velocity and orientation of the listener in 3D space
Namespace:
TeamSpeak.Sdk.Client
Assembly:
TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntaxpublic void Set3DListenerAttributes(
Nullable<Vector> position,
Nullable<Vector> forward,
Nullable<Vector> up
)
Public Sub Set3DListenerAttributes (
position As Nullable(Of Vector),
forward As Nullable(Of Vector),
up As Nullable(Of Vector)
)
public:
void Set3DListenerAttributes(
Nullable<Vector> position,
Nullable<Vector> forward,
Nullable<Vector> up
)
member Set3DListenerAttributes :
position : Nullable<Vector> *
forward : Nullable<Vector> *
up : Nullable<Vector> -> unit
Parameters
- position
- Type: SystemNullableVector
3D position of the listener. If passing null, the parameter is ignored and the value not updated. - forward
- Type: SystemNullableVector
Forward orientation of the listener. The vector must be of unit length and perpendicular to the up vector. If passing null, the parameter is ignored and the value not updated. - up
- Type: SystemNullableVector
Upward orientation of the listener. The vector must be of unit length and perpendicular to the forward vector. If passing null, the parameter is ignored and the value not updated.
See Also