API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_NetSync_GetListenerPosition Function

Populates the given 3 element array with the position of the given session. If the given session has never called set_listener_position, or if the position has not yet been replicated, this method will set each to { 0, 0, 0 }
The coordinate system used for ambisonic mixing is as right handed: positive X pointing right, positive Y pointing upward, positive Z pointing backward
A value of 1.0 is equal to 1 meter.

Signature

bool ovr_NetSync_GetListenerPosition(long long connection_id, ovrID sessionId, ovrNetSyncVec3 *position)

Parameters

connection_id: long long
sessionId: ovrID
position: ovrNetSyncVec3 *

Returns

bool