Package | away3d.materials.methods |
Class | public class ColorTransformMethod |
Inheritance | ColorTransformMethod EffectMethodBase ShadingMethodBase flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
colorTransform : ColorTransform
The ColorTransform object to transform the colour of the material with. | ColorTransformMethod | ||
passes : Vector.<MaterialPassBase> [read-only]
Any passes required that render to a texture used by this method. | ShadingMethodBase |
Method | Defined By | ||
---|---|---|---|
Creates a new ColorTransformMethod. | ColorTransformMethod | ||
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 |
colorTransform | property |
colorTransform:ColorTransform
The ColorTransform object to transform the colour of the material with.
public function get colorTransform():ColorTransform
public function set colorTransform(value:ColorTransform):void
ColorTransformMethod | () | Constructor |
public function ColorTransformMethod()
Creates a new ColorTransformMethod.
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 |