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