English
Interface: SSAudioEvent
Defined in: packages/ssplayer-pixi/dist/index.d.ts:66
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.
Properties
frameNo
frameNo:
number
Defined in: packages/ssplayer-pixi/dist/index.d.ts:73
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: packages/ssplayer-pixi/dist/index.d.ts:83
partIndex
partIndex:
number
Defined in: packages/ssplayer-pixi/dist/index.d.ts:67
partName
partName:
string|null
Defined in: packages/ssplayer-pixi/dist/index.d.ts:68
soundListNameHash
soundListNameHash:
number
Defined in: packages/ssplayer-pixi/dist/index.d.ts:80
soundName
soundName:
string|null
Defined in: packages/ssplayer-pixi/dist/index.d.ts:82
soundNameHash
soundNameHash:
number
Defined in: packages/ssplayer-pixi/dist/index.d.ts:81
source
source:
number
Defined in: packages/ssplayer-pixi/dist/index.d.ts:79
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.