PIXI. GrayFilter

new GrayFilter()

This greyscales the palette of your Display Objects.

Source - pixi/filters/GrayFilter.js, line 5

Extends

Members

dirty :Boolean

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

gray :Number

The strength of the gray. 1 will make the object black and white, 0 will make the object its normal color.

Source - pixi/filters/GrayFilter.js, line 41

padding :Number

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

Methods

syncUniforms()

Syncs the uniforms between the class object and the shaders.

Inherited From:
Source - pixi/filters/AbstractFilter.js, line 60
Phaser Copyright © 2012-2014 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-dev on Thu Dec 04 2014 11:33:10 GMT-0000 (GMT) using the DocStrap template.