Pixi’VN
indexNamespacestransitionsFunctions

Function: tvOut()

pixi-vn on GitHub

> tvOut(alias, props?, priority?): string[] | undefined

Defined in: src/canvas/functions/canvas-transition.ts:2839

Remove a image from the canvas like an old TV turning off: the image collapses into a glowing horizontal line, then into a dot, and is removed. The scale animates around the component's own anchor/pivot, so a centered anchor looks best. See tvIn and TvInOutProps.

Parameters

alias

string

The unique alias of the image. You can use this alias to refer to this image

props?

TvInOutProps = {}

The properties of the effect

priority?

UPDATE_PRIORITY

The priority of the effect

Returns

string[] | undefined

The ids of the tickers that are used in the effect.

On this page