new ColorMatrixFilter()
The ColorMatrixFilter class lets you apply a 4x4 matrix transformation on the RGBA color and alpha values of every pixel on your displayObject to produce a result with a new set of RGBA color and alpha values. It's pretty powerful!
- Source - pixi/filters/ColorMatrixFilter.js, line 5
Extends
Members
-
dirty :Boolean
-
- Inherited From:
- Source - pixi/filters/AbstractFilter.js, line 31
-
matrix :Array.<Number>
-
Sets the matrix of the color matrix filter
Type:
- Array.<Number>
- Default Value:
- [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]
- Source - pixi/filters/ColorMatrixFilter.js, line 46
-
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