FMExListener3D Class

This class describes the position, orientation, and velocity of the "listener" entity when using 3D audio. Create a new FMExListener3D and assign it to the FMEx.Listener3D property when using 3D audio. From that point on simply update the listener as needed and FMOD Ex will do the rest. Note that this class lacks getter methods and is meant to be wrapped by objects that maintain position, orientation and velocity using higher-level vectors and quaternions (e.g. update the listener as part of a 3D player or camera class).

Important: You must call FMEx.Update for every frame of your simulation when using 3D audio.

Tip: Advanced users can access the listener vectors with direct pointer access via undocumented "xFMEx" prefixed properties. These are guaranteed to be valid during the life of the listener object and point to 12 bytes of memory each (3 single precision floats per vector).

Methods

Expand All | Collapse All