Class: GrayFilter

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 Sat Nov 15 2014 19:55:16 GMT-0000 (GMT) using the DocStrap template.