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

new DotScreenFilter()

This filter applies a dotscreen effect making display objects appear to be made out of black and white halftone dots like an old printer.

Source code: pixi/filters/DotScreenFilter.js, line 6

Extends

Public Properties

angle : number

The radius of the effect.

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

dirty : boolean

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

padding : number

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

scale : number

The scale of the effect.

Source code: pixi/filters/DotScreenFilter.js, line 57

Public Methods

syncUniforms()

Syncs the uniforms between the class object and the shaders.

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