AudioSystem

AudioSystem ⇐ MRSystem

This system manages spatial audio in the THREE.js scene.

Kind: global class
Extends: MRSystem

audioSystem.AudioSystem

Kind: instance class of AudioSystem

new exports.AudioSystem()

AudioSystem’s Default constructor that sets up the audio listener and loader

audioSystem.update(dt, frame)

Kind: instance method of AudioSystem

Param
dt
frame

audioSystem.attachedComponent(entity)

Kind: instance method of AudioSystem

Param
entity

audioSystem.updatedComponent(entity)

Kind: instance method of AudioSystem

Param
entity

audioSystem.detachedComponent(entity)

Kind: instance method of AudioSystem

Param
entity

audioSystem.setAudioState(entity, state)

Kind: instance method of AudioSystem

Param
entity
state