API

Class AudioSceneComponent

Defines the sound scene component responsible to manage any sounds in a given scene.

please use AudioEngineV2 instead

Implements

Index
audioListenerPositionProvider: Nullable<() => Vector3> = null

Gets or Sets a custom listener position for all sounds in the scene By default, this is the position of the first active camera

audioListenerRotationProvider: Nullable<() => Vector3> = null

Gets or Sets a custom listener rotation for all sounds in the scene By default, this is the rotation of the first active camera

audioPositioningRefreshRate: number = 500

Gets or sets a refresh rate when using 3D audio positioning

name: "Audio" = SceneComponentConstants.NAME_AUDIO

The component name helpful to identify the component in the list of scene components.

scene: Scene

The scene the component belongs to.