Listener

Inherits: Spatial < Node < Object Overrides the location sounds are heard from.

Description

make_current, this node will override the location sounds are heard from. This can be used to listen from a location different from the Camera.

Methods

Method Descriptions

  • clear_current ( ) Disables the listener to use the current camera’s listener instead.

  • Transform get_listener_transform ( ) const Transform.

  • bool is_current ( ) const true if the listener was made current using make_current, 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.

  • make_current ( ) Enables the listener. This will override the current camera’s listener.