Struct Listener

Overrides the location sounds are heard from.

struct Listener ;

Once added to the scene tree and enabled using makeCurrent, this node will override the location sounds are heard from. This can be used to listen from a location different from the Camera. Note: There is no 2D equivalent for this node yet.

Methods

NameDescription
clearCurrent Disables the listener to use the current camera's listener instead.
getListenerTransform Returns the listener's global orthonormalized Transform.
isCurrent Returns true if the listener was made current using makeCurrent, false otherwise. Note: There may be more than one Listener marked as "current" in the scene tree, but only the one that was made current last will be used.
makeCurrent Enables the listener. This will override the current camera's listener.