View source
class ColorMatrixMethod
package away3d.materials.methods
extends EffectMethodBase › ShadingMethodBase › NamedAssetBase
Available on all platforms
ColorMatrixMethod provides a shading method that changes the colour of a material analogous to a ColorMatrixFilter.
Constructor
new(matrix:Array<Float>)
Creates a new ColorTransformMethod.
Parameters:
matrix | An array of 20 items for 4 x 5 color transform. |
|---|