Firelight Technologies FMOD Studio API

Studio::System::getListenerAttributes

Retrieves the position, velocity and orientation of the 3D sound listener.

C++ Syntax

FMOD_RESULT Studio::System::getListenerAttributes(
  FMOD_3D_ATTRIBUTES *attributes
);

C Syntax

FMOD_RESULT FMOD_Studio_System_GetListenerAttributes(
  FMOD_STUDIO_SYSTEM *system,
  FMOD_3D_ATTRIBUTES *attributes
);

Parameters

attributes
Address of a variable to receive the 3D attributes for the listener. See FMOD_3D_ATTRIBUTES.

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.

See Also




Version 1.03.06 Built on Apr 17, 2014