AudioMixerGroupsComponent

A Component that manages audio mix groups for spatial audio processing.

This component serves as a container for AudioMixerGroupResource instances associated with an Entity, providing methods to:

  • Add new audio mix groups.

  • Remove existing groups.

  • Query currently attached groups.

Constructors

Link copied to clipboard
constructor()

Creates an AudioMixerGroupsComponent instance.

constructor(mixerGroupResource: AudioMixerGroupResource)

Creates an AudioMixerGroupsComponent instance with a valid AudioMixerGroupResource.

Functions

Link copied to clipboard
Link copied to clipboard
fun clear()

Clears all AudioMixerGroupResource in this component.

Link copied to clipboard
open override fun clone(): Component

Creates and returns a copy of this Component instance.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

Gets all AudioMixerGroupResource in this component.

Link copied to clipboard

Gets an AudioMixerGroupResource by its name.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun removeMixerGroup(name: String)

Removes an AudioMixerGroupResource by its name. If not found, no action is taken.

Link copied to clipboard
open override fun toString(): String