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. BlurFilter

new BlurFilter()

The BlurFilter applies a Gaussian blur to an object. The strength of the blur can be set for x- and y-axis separately (always relative to the stage).

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

Extends

Public Properties

blur : number

Sets the strength of both the blurX and blurY properties simultaneously

Default Value
  • 2
Source code: pixi/filters/BlurFilter.js, line 24

blurX : number

Sets the strength of the blurX property

Default Value
  • 2
Source code: pixi/filters/BlurFilter.js, line 40

blurY : number

Sets the strength of the blurY property

Default Value
  • 2
Source code: pixi/filters/BlurFilter.js, line 56

dirty : boolean

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

padding : number

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

Public Methods

syncUniforms()

Syncs the uniforms between the class object and the shaders.

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