Firelight Technologies FMOD Studio API
System::get3DNumListeners
Retrieves the number of 3D listeners.
C++ Syntax
FMOD_RESULT System::get3DNumListeners(
int *numlisteners
);
C Syntax
FMOD_RESULT FMOD_System_Get3DNumListeners(
FMOD_SYSTEM *system,
int *numlisteners
);
C# Syntax
RESULT System.get3DNumListeners(
out int numlisteners
);
JavaScript Syntax
System.get3DNumListeners(
numlisteners // writes value to numlisteners.val
);
Parameters
- numlisteners
- Address of a variable that receives the current number of 3D listeners in the 3D scene.
Return Values
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
Remarks
NOTE! Users of the Studio API should call Studio::System::getNumListeners instead of this function.
See Also
Version 1.10.03 Built on Feb 1, 2018