Skip to content

Type Alias: SSUiClip ​

SSUiClip = { animation: string; label?: string; } | { animation?: string; label: string; }

Defined in: packages/ssplayer-pixi-ui/src/uiState.ts:38

What a state plays instead of the label named after it: the section of animation that starts at label.

With only animation, the whole of it. With only label, that label in the animation the states are read from. A section runs to the frame before the next label, or to the end of the animation.