Inheritance #

AudioListener3D
Table of contents

AudioListener3D #

is_instantiable, Node3D, Node, core, not_builtin_classes

Overrides the location sounds are heard from.

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

Members #

Methods #

func clear_current() -> void#

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

const func get_listener_transform() -> Transform3D#

Returns the listener's global orthonormalized Transform3D.

const func is_current() -> bool#

Returns true if the listener was made current using make_current, false otherwise.

Note: There may be more than one AudioListener3D marked as "current" in the scene tree, but only the one that was made current last will be used.

func make_current() -> void#

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

Annotations #

Constants #

Constructors #

Enums #

Operators #

Signals #

Theme Items #

Tutorials #