Pixi’VN
indexType aliases

Type Alias: PixiVNJsonCanvasImageVideoShow

> PixiVNJsonCanvasImageVideoShow = object

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

Shows an image or video asset on the canvas.

Properties

alias

> alias: string

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

Unique identifier (alias) used to reference this element on the canvas.


operationType

> operationType: "show"

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


props?

> optional props?: PixiVNJsonCanvasImageVideoShowProps

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

Display options (position, scale, alpha, etc.) for the image or video sprite.


transition?

> optional transition?: PixiVNJsonMediaTransiotions

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

Optional transition effect applied when the element appears on screen.


type

> type: "image" | "video"

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


url?

> optional url?: string

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

The url of the image or video. If the url is not provided, the url will be set to the alias.

On this page