playAudioTrack
playAudioTrack(
trackId
,volume
?,loop
?,category
?,pitch
?):IAudioTrack
|undefined
Plays a track. If the track does not exist, this function will create it.
Parameters
• trackId: string
• volume?: number
• loop?: boolean
• category?: string
• pitch?: number
Returns
IAudioTrack
| undefined
The track playing.