Next: The Environment, Previous: Sources, Up: Audio [Contents][Index]
The listener is a collection of global state that represents the player within the 3D sound model. For games that do not need 3D sound modeling, manipulating the listener’s master volume is the only interesting thing to do here.
Return the current master volume of the listener.
Return the current position of the listener.
Return the current velocity of the listener.
Return the current orientation of the listener.
Set the listener’s master volume to volume, a value in the range [0, 1].
Set the listener’s position to the 3D vector position.
Set the listener’s velocity to the 3D vector velocity.
Set the listener’s orientation to the 3D vectors at and up.