AudioCueMusic

Extends: PopochiuAudioCue < Resource

Description

Method Descriptions

play

func play(fade_duration: float = 0, music_position: float = 0) -> void

Plays this audio cue. It can fade for [param fade_duration] seconds, and you can change the track starting position in seconds with [param music_position].

queue_play

func queue_play(fade_duration: float = 0, music_position: float = 0) -> Callable

Plays this audio cue. It can fade for [param fade_duration] seconds, and you can change the track starting position in seconds with [param music_position].[br][br] [i]This method is intended to be used inside a [method Popochiu.queue] of instructions.[/i]