Listener

    Overrides the location sounds are heard from.

    Once added to the scene tree and enabled using , this node will override the location sounds are heard from. This can be used to listen from a location different from the Camera.

    Disables the listener to use the current camera’s listener instead.


    • get_listener_transform ( ) const

    Returns the listener’s global orthonormalized Transform.


    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.


    • void make_current ( )

    Enables the listener. This will override the current camera’s listener.