English
Interface: SSAudioEvent
Defined in: ssplayer-webgl/src/SSPlayer.ts:70
An audio event fired by a part: the SSAB sound reference (hashes + alias name) plus loop count. The runtime plays no audio — the host resolves the sound and plays it on its own audio engine. Attach an IAudioManager (e.g. SSWebAudioManager) to actually play it.
Properties
frameNo
frameNo:
number
Defined in: ssplayer-webgl/src/SSPlayer.ts:77
The frame the key is authored on — not necessarily the frame it was noticed on, since one tick can step across several.
loopNum
loopNum:
number
Defined in: ssplayer-webgl/src/SSPlayer.ts:87
partIndex
partIndex:
number
Defined in: ssplayer-webgl/src/SSPlayer.ts:71
partName
partName:
string|null
Defined in: ssplayer-webgl/src/SSPlayer.ts:72
soundListNameHash
soundListNameHash:
number
Defined in: ssplayer-webgl/src/SSPlayer.ts:84
soundName
soundName:
string|null
Defined in: ssplayer-webgl/src/SSPlayer.ts:86
soundNameHash
soundNameHash:
number
Defined in: ssplayer-webgl/src/SSPlayer.ts:85
source
source:
number
Defined in: ssplayer-webgl/src/SSPlayer.ts:83
The source that fired it: a handle like those getTrackMainSource and addTrackSource return. Tells track 0's main animation from an overlay or from the outgoing side of a crossfade.