Pixi’VN
indexNamespaceseffectsFunctions

Function: shockwaveEffect()

pixi-vn on GitHub

> shockwaveEffect(alias, options?, priority?): Promise<string[] | undefined>

Defined in: src/canvas/functions/canvas-effect.ts:566

Shockwave the canvas element: a single radial ripple distortion travels outward from an origin point and fades (ShockwaveFilter) - a one-shot impact, not a repeated oscillation.

Parameters

alias

string

The alias to identify the component.

options?

ShockwaveEffectProps = {}

Animation options.

priority?

UPDATE_PRIORITY

The priority of the PixiJS ticker.

Returns

Promise<string[] | undefined>

On this page