VrSoundEffects #

Methods #

static getSupportedResource(formats) #

Takes an object mapping audio formats to resources, and returns the first resource that's supported on the current system.

static load(formats) #

Load the given audio resource. Audio clips must be loaded before playing.

static play(formats) #

Play the audio resource indicated by the handle. Resource must have previously been loaded.

static volume(formats, volume) #

Adjust the volume for this sound.

static unload(formats, volume) #

Dispose of any resources associated with this handle.

You can file an issue on GitHub if you see a typo or error on this page!