Pixi’VN
indexNamespaceseffectsFunctions

Function: wiggleEffect()

pixi-vn on GitHub

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

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

Wiggle the canvas element: a decaying rotation oscillation around its current angle.

Parameters

alias

string

The alias to identify the component.

options?

WiggleEffectProps = {}

Animation options.

priority?

UPDATE_PRIORITY

The priority of the PixiJS ticker.

Returns

Promise<string[] | undefined>

On this page