Constructors

Properties

_playPromisePendind: boolean = false
action: AudioPlayerAction = undefined

The action to perform with the audio source. This action will be erased at the end of the frame

audioSource: HTMLAudioElement

The audio source to play.

fixedToTimeScale: boolean = false

TRUE If the playback rate is fixed to the TimeManager time scale, default FALSE

loop: boolean = false

TRUE If the audio source should loop.

state: AudioPlayerState = "stopped"

READONLY, The current state of the audio source.

volume: number = 1

The volume of the audio source.

Accessors

Methods