Pixi’VN
indexInterfaces

Interface: AnimatedSpriteFrameSource

pixi-vn on GitHub

Defined in: src/canvas/interfaces/AnimatedSpriteSource.ts:4

A frame of an AnimatedSpriteSource with its own duration.

Properties

texture

> texture: string

Defined in: src/canvas/interfaces/AnimatedSpriteSource.ts:8

The frame name inside the spritesheet, or (when no spritesheet is set) the alias/URL of the texture.


time

> time: number

Defined in: src/canvas/interfaces/AnimatedSpriteSource.ts:12

The duration of the frame, in milliseconds.

On this page