new GrayFilter()
This greyscales the palette of your Display Objects.
- Source code: pixi/filters/GrayFilter.js, line 5
Extends
Public Properties
-
dirty : boolean
-
- Inherited From
- Source code: 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 code: pixi/filters/GrayFilter.js, line 41
-
padding : number
-
- Inherited From
- Source code: pixi/filters/AbstractFilter.js, line 37
Public Methods
-
syncUniforms()
-
Syncs the uniforms between the class object and the shaders.
- Inherited From
- Source code: pixi/filters/AbstractFilter.js, line 60