Defines the sound scene component responsible to manage any sounds in a given scene.
Gets whether audio is enabled or not. Please use related enable/disable method to switch state.
Sets a custom listener position for all sounds in the scene By default, this is the position of the first active camera
Gets or sets a refresh rate when using 3D audio positioning
Gets whether audio is outputing to headphone or not. Please use the according Switch methods to change output.
The component name helpfull to identify the component in the list of scene components.
The scene the component belongs to.
Adds all the elements from the container to the scene
the container holding the elements
Disables audio in the associated scene.
Disposes the component and the associated ressources.
Enables audio in the associated scene.
Rebuilds the elements related to this component in case of context lost for instance.
Registers the component in a given scene
Removes all the elements in the container from the scene
contains the elements to remove
if the removed element should be disposed (default: false)
Serializes the component data to the specified json object
The object to serialize to
Switch audio to headphone output.
Switch audio to normal speakers.
Generated using TypeDoc