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

new SepiaFilter()

This applies a sepia effect to your Display Objects.

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

Extends

Public Properties

dirty : boolean

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

padding : number

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

sepia : number

The strength of the sepia. 1 will apply the full sepia effect, 0 will make the object its normal color.

Source code: pixi/filters/SepiaFilter.js, line 43

Public Methods

syncUniforms()

Syncs the uniforms between the class object and the shaders.

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