Pixi’VN
indexType aliases

Type Alias: PixiVNJsonAnimatedSpriteControl

> PixiVNJsonAnimatedSpriteControl = { alias: string; operationType: "pause" | "resume"; type: "asprite"; } | { alias: string; frame: number; operationType: "goto"; type: "asprite"; }

Defined in: src/schema/PixiVNJsonCanvas.ts:243

Pauses, resumes, or selects a frame in an animated sprite.

Union Members

Type Literal

{ alias: string; operationType: "pause" | "resume"; type: "asprite"; }

alias

> alias: string

Alias of the animated sprite to control.

operationType

> operationType: "pause" | "resume"

type

> type: "asprite"


Type Literal

{ alias: string; frame: number; operationType: "goto"; type: "asprite"; }

alias

> alias: string

Alias of the animated sprite to control.

frame

> frame: number

Zero-based frame index.

operationType

> operationType: "goto"

type

> type: "asprite"

On this page