CLASSES
TagsA - Z

SoundTrack

Audio

Description

class SoundTrack

Constructor

new SoundTrack(scene, options)

Parameters

Name Type Description
scene Scene
optional options any

Members

id : number

soundCollection : Array<Sound>

Methods

dispose() void

AddSound(sound) void

Parameters

Name Type Description
sound Sound

RemoveSound(sound) void

Parameters

Name Type Description
sound Sound

setVolume(newVolume) void

Parameters

Name Type Description
newVolume number

switchPanningModelToHRTF() void

switchPanningModelToEqualPower() void

connectToAnalyser(analyser) void

Parameters

Name Type Description
analyser Analyser