AthenaClient.views.audio.AudioView ​
client/views/audio.AudioView
Constructors ​
constructor ​
• new AudioView()
Methods ​
init ​
Usage
AthenaClient.views.audio.AudioView.Static
init(): void
Returns ​
void
Defined in ​
play3DAudio ​
Usage
AthenaClient.views.audio.AudioView.Static
play3DAudio(soundName
, pan
, volume
, soundInstantID?
): void
Play an audio from the WebView. Requires a specific name for a file. Do not add '.ogg'.
Static
Parameters ​
Name | Type |
---|---|
soundName | string |
pan | number |
volume | number |
soundInstantID? | string |
Returns ​
void
Defined in ​
stop3DAudio ​
Usage
AthenaClient.views.audio.AudioView.Static
stop3DAudio(soundInstantID?
): void
Stop current audio
Static
Parameters ​
Name | Type |
---|---|
soundInstantID? | string |
Returns ​
void