ColorTransformMethod provides a shading method that changes the colour of a material according to a ColorTransform
object.
colorTransform:ColorTransform
[read-write]
The ColorTransform object to transform the colour of the material with.
Implementation
public function get colorTransform():ColorTransform
public function set colorTransform(value:ColorTransform):void
public function ColorTransformMethod()
Init Parameters
arcane override function activate(context:Context3D, contextIndex:uint):void
Sets the render state for this method.
Parameters
| context:Context3D — The Context3D currently used for rendering.
|
|
| contextIndex:uint |
arcane override function getFragmentPostLightingCode(regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Get the fragment shader code that should be added after all per-light code. Usually composits everything to the target register.
Parameters
Returns
arcane override function reset():void
Resets the method's state for compilation.