Package | away3d.materials.methods |
Class | public class ColorMatrixMethod |
Inheritance | ColorMatrixMethod EffectMethodBase ShadingMethodBase flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
colorMatrix : Array
The ColorMatrixFilter object to transform the color of the material. | ColorMatrixMethod | ||
passes : Vector.<MaterialPassBase> [read-only]
Any passes required that render to a texture used by this method. | ShadingMethodBase |
Method | Defined By | ||
---|---|---|---|
ColorMatrixMethod(matrix:Array)
Creates a new ColorTransformMethod. | ColorMatrixMethod | ||
copyFrom(method:ShadingMethodBase):void
Copies the state from a ShadingMethodBase object into the current object. | ShadingMethodBase | ||
dispose():void
Cleans up any resources used by the current object. | ShadingMethodBase |
colorMatrix | property |
colorMatrix:Array
The ColorMatrixFilter object to transform the color of the material.
public function get colorMatrix():Array
public function set colorMatrix(value:Array):void
ColorMatrixMethod | () | Constructor |
public function ColorMatrixMethod(matrix:Array)
Creates a new ColorTransformMethod.
Parametersmatrix:Array |
activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void
Parameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
getFragmentCode | () | method |
override arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |