Navigation
These archived docs are for Phaser 2.2.2 Phaser 3 docs can be found on newdocs.phaser.io.
Phaser CE docs can be found on the Phaser CE Documentation site.

Constructor

PIXI. TwistFilter

new TwistFilter()

This filter applies a twist effect making display objects appear twisted in the given direction.

Source code: pixi/filters/TwistFilter.js, line 5

Extends

Public Properties

angle : number

This angle of the twist.

Source code: pixi/filters/TwistFilter.js, line 88

dirty : boolean

Inherited From
Source code: pixi/filters/AbstractFilter.js, line 31

offset : PIXI.Point

This point describes the the offset of the twist.

Source code: pixi/filters/TwistFilter.js, line 56

padding : number

Inherited From
Source code: pixi/filters/AbstractFilter.js, line 37

radius : number

This radius of the twist.

Source code: pixi/filters/TwistFilter.js, line 72

Public Methods

syncUniforms()

Syncs the uniforms between the class object and the shaders.

Inherited From
Source code: pixi/filters/AbstractFilter.js, line 60