Skip to content
On this page

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 ​

client/views/audio.ts:71


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 ​

NameType
soundNamestring
pannumber
volumenumber
soundInstantID?string

Returns ​

void

Defined in ​

client/views/audio.ts:86


stop3DAudio ​

Usage

AthenaClient.views.audio.AudioView.Static stop3DAudio(soundInstantID?): void

Stop current audio

Static

Parameters ​

NameType
soundInstantID?string

Returns ​

void

Defined in ​

client/views/audio.ts:99

Created by Stuyk | Est. 2020