Packageaway3d.materials.methods
Classpublic class ShaderMethodSetup
InheritanceShaderMethodSetup Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined By
  ambientMethod : BasicAmbientMethod
ShaderMethodSetup
  diffuseMethod : BasicDiffuseMethod
The method to perform diffuse shading.
ShaderMethodSetup
  normalMethod : BasicNormalMethod
ShaderMethodSetup
  numMethods : int
[read-only]
ShaderMethodSetup
  shadowMethod : ShadowMapMethodBase
ShaderMethodSetup
  specularMethod : BasicSpecularMethod
The method to perform specular shading.
ShaderMethodSetup
Public Methods
 MethodDefined By
  
ShaderMethodSetup
  
Adds a method to change the material after all lighting is performed.
ShaderMethodSetup
  
addMethodAt(method:EffectMethodBase, index:int):void
Inserts a method to change the material after all lighting is performed at the given index.
ShaderMethodSetup
  
dispose():void
ShaderMethodSetup
  
ShaderMethodSetup
  
hasMethod(method:EffectMethodBase):Boolean
ShaderMethodSetup
  
Removes a method from the pass.
ShaderMethodSetup
Property Detail
_ambientMethodproperty
arcane var _ambientMethod:BasicAmbientMethod

_ambientMethodVOproperty 
arcane var _ambientMethodVO:MethodVO

_colorTransformMethodproperty 
arcane var _colorTransformMethod:ColorTransformMethod

_colorTransformMethodVOproperty 
arcane var _colorTransformMethodVO:MethodVO

_diffuseMethodproperty 
arcane var _diffuseMethod:BasicDiffuseMethod

_diffuseMethodVOproperty 
arcane var _diffuseMethodVO:MethodVO

_methodsproperty 
arcane var _methods:Vector.<MethodVOSet>

_normalMethodproperty 
arcane var _normalMethod:BasicNormalMethod

_normalMethodVOproperty 
arcane var _normalMethodVO:MethodVO

_shadowMethodproperty 
arcane var _shadowMethod:ShadowMapMethodBase

_shadowMethodVOproperty 
arcane var _shadowMethodVO:MethodVO

_specularMethodproperty 
arcane var _specularMethod:BasicSpecularMethod

_specularMethodVOproperty 
arcane var _specularMethodVO:MethodVO

ambientMethodproperty 
ambientMethod:BasicAmbientMethod


Implementation
    public function get ambientMethod():BasicAmbientMethod
    public function set ambientMethod(value:BasicAmbientMethod):void
colorTransformMethodproperty 
colorTransformMethod:ColorTransformMethod


Implementation
    arcane function get colorTransformMethod():ColorTransformMethod
    arcane function set colorTransformMethod(value:ColorTransformMethod):void
diffuseMethodproperty 
diffuseMethod:BasicDiffuseMethod

The method to perform diffuse shading.


Implementation
    public function get diffuseMethod():BasicDiffuseMethod
    public function set diffuseMethod(value:BasicDiffuseMethod):void
normalMethodproperty 
normalMethod:BasicNormalMethod


Implementation
    public function get normalMethod():BasicNormalMethod
    public function set normalMethod(value:BasicNormalMethod):void
numMethodsproperty 
numMethods:int  [read-only]


Implementation
    public function get numMethods():int
shadowMethodproperty 
shadowMethod:ShadowMapMethodBase


Implementation
    public function get shadowMethod():ShadowMapMethodBase
    public function set shadowMethod(value:ShadowMapMethodBase):void
specularMethodproperty 
specularMethod:BasicSpecularMethod

The method to perform specular shading.


Implementation
    public function get specularMethod():BasicSpecularMethod
    public function set specularMethod(value:BasicSpecularMethod):void
Constructor Detail
ShaderMethodSetup()Constructor
public function ShaderMethodSetup()



Method Detail
addMethod()method
public function addMethod(method:EffectMethodBase):void

Adds a method to change the material after all lighting is performed.

Parameters

method:EffectMethodBase — The method to be added.

addMethodAt()method 
public function addMethodAt(method:EffectMethodBase, index:int):void

Inserts a method to change the material after all lighting is performed at the given index.

Parameters

method:EffectMethodBase — The method to be added.
 
index:int — The index of the method's occurrence

dispose()method 
public function dispose():void

getMethodAt()method 
public function getMethodAt(index:int):EffectMethodBase

Parameters

index:int

Returns
EffectMethodBase
hasMethod()method 
public function hasMethod(method:EffectMethodBase):Boolean

Parameters

method:EffectMethodBase

Returns
Boolean
removeMethod()method 
public function removeMethod(method:EffectMethodBase):void

Removes a method from the pass.

Parameters

method:EffectMethodBase — The method to be removed.