AudioGroupResource

The AudioAsset type for audio group.

AudioGroupResource is a resource that can be used to group audio resources. It allows you to create collections of audio resources that can be played back in different modes (random, forward sequence, backward sequence).

This class extends AudioAsset and provides functionality to manage a group of AudioResource objects. The group can be used to play multiple audio files in a specific order or randomly based on the configured AudioGroupResourcePlayMode.

See also

Constructors

Link copied to clipboard
constructor(name: String, audioResources: List<AudioResource>, mode: AudioGroupResourcePlayMode = AudioGroupResourcePlayMode.FORWARD)

Creates an AudioGroupResource from a list of AudioResources.

Properties

Link copied to clipboard

Gets the list of all AudioResources in this audio group.

Functions

Link copied to clipboard
open override fun close()

Closes this audio group resource and releases any native resources.

Link copied to clipboard
fun getName(): String

Gets the name of the audio group resource.

Link copied to clipboard

Gets the play mode of the audio group resource.