Pixi’VN
indexNamespacestransitionsFunctions

Function: glitchOut()

pixi-vn on GitHub

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

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

Remove a image from the canvas with a glitch effect: digital-corruption bursts build up until the image is removed. See glitchIn and GlitchInOutProps.

Parameters

alias

string

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

props?

GlitchInOutProps = {}

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