Type Alias: PixiVNJsonCanvasImageVideoShow
> PixiVNJsonCanvasImageVideoShow = object
Defined in: src/schema/PixiVNJsonCanvas.ts:24
Shows an image or video asset on the canvas.
Properties
alias
> alias: string
Defined in: src/schema/PixiVNJsonCanvas.ts:30
Unique identifier (alias) used to reference this element on the canvas.
operationType
> operationType: "show"
Defined in: src/schema/PixiVNJsonCanvas.ts:26
props?
> optional props?: PixiVNJsonCanvasImageVideoShowProps
Defined in: src/schema/PixiVNJsonCanvas.ts:39
Display options (position, scale, alpha, etc.) for the image or video sprite.
transition?
> optional transition?: PixiVNJsonMediaTransiotions
Defined in: src/schema/PixiVNJsonCanvas.ts:43
Optional transition effect applied when the element appears on screen.
type
> type: "image" | "video"
Defined in: src/schema/PixiVNJsonCanvas.ts:25
url?
> optional url?: string
Defined in: src/schema/PixiVNJsonCanvas.ts:35
The url of the image or video. If the url is not provided, the url will be set to the alias.