AudioMixerGroupResource

constructor(name: String, volume: Float = 1.0f, playbackSpeed: Float = 1.0f)

The constructor of AudioMixerGroupResource, which is used to create an AudioMixerGroupResource instance with a specified name, volume, and playback speed.

Parameters

name

The name of the AudioMixerGroupResource. The name must consist of alphanumeric characters only and can have a maximum length of 256 bytes.

volume

The volume of the audio. Valid value range: 0.0f, 1.0f. The default value is 1.0f.

playbackSpeed

The playback speed of the audio. Valid value range: (0.25f, 4.0f]. The default value is 1.0f.