English
Interface: SSUserDataEvent
Defined in: ssplayer-webgl/src/SSPlayer.ts:18
A user-data event fired by a part on the frame it was authored. Optional fields mirror the SSAB payload: each is present only if that value type was authored (an authored integer of 0 is still present, distinct from absent).
Properties
frameNo
frameNo:
number
Defined in: ssplayer-webgl/src/SSPlayer.ts:25
The frame the key is authored on — not necessarily the frame it was noticed on, since one tick can step across several.
integer?
optionalinteger?:number
Defined in: ssplayer-webgl/src/SSPlayer.ts:32
partIndex
partIndex:
number
Defined in: ssplayer-webgl/src/SSPlayer.ts:19
partName
partName:
string|null
Defined in: ssplayer-webgl/src/SSPlayer.ts:20
point?
optionalpoint?:object
Defined in: ssplayer-webgl/src/SSPlayer.ts:37
User-data point as authored.
x
x:
number
y
y:
number
rect?
optionalrect?:object
Defined in: ssplayer-webgl/src/SSPlayer.ts:35
User-data rectangle as authored (left/top/right/bottom).
bottom
bottom:
number
left
left:
number
right
right:
number
top
top:
number
source
source:
number
Defined in: ssplayer-webgl/src/SSPlayer.ts:31
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.
str?
optionalstr?:string
Defined in: ssplayer-webgl/src/SSPlayer.ts:33