| Package | away3d.materials.methods |
| Class | public class ShaderMethodSetup |
| Inheritance | ShaderMethodSetup flash.events.EventDispatcher |
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
| ShaderMethodSetup | |||
addMethod(method:EffectMethodBase):void
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 | ||
getMethodAt(index:int):EffectMethodBase | ShaderMethodSetup | ||
hasMethod(method:EffectMethodBase):Boolean | ShaderMethodSetup | ||
removeMethod(method:EffectMethodBase):void
Removes a method from the pass. | ShaderMethodSetup | ||
| _ambientMethod | property |
arcane var _ambientMethod:BasicAmbientMethod| _ambientMethodVO | property |
arcane var _ambientMethodVO:MethodVO| _colorTransformMethod | property |
arcane var _colorTransformMethod:ColorTransformMethod| _colorTransformMethodVO | property |
arcane var _colorTransformMethodVO:MethodVO| _diffuseMethod | property |
arcane var _diffuseMethod:BasicDiffuseMethod| _diffuseMethodVO | property |
arcane var _diffuseMethodVO:MethodVO| _methods | property |
arcane var _methods:Vector.<MethodVOSet>| _normalMethod | property |
arcane var _normalMethod:BasicNormalMethod| _normalMethodVO | property |
arcane var _normalMethodVO:MethodVO| _shadowMethod | property |
arcane var _shadowMethod:ShadowMapMethodBase| _shadowMethodVO | property |
arcane var _shadowMethodVO:MethodVO| _specularMethod | property |
arcane var _specularMethod:BasicSpecularMethod| _specularMethodVO | property |
arcane var _specularMethodVO:MethodVO| ambientMethod | property |
ambientMethod:BasicAmbientMethod public function get ambientMethod():BasicAmbientMethod public function set ambientMethod(value:BasicAmbientMethod):void| colorTransformMethod | property |
colorTransformMethod:ColorTransformMethod arcane function get colorTransformMethod():ColorTransformMethod arcane function set colorTransformMethod(value:ColorTransformMethod):void| diffuseMethod | property |
diffuseMethod:BasicDiffuseMethodThe method to perform diffuse shading.
public function get diffuseMethod():BasicDiffuseMethod public function set diffuseMethod(value:BasicDiffuseMethod):void| normalMethod | property |
normalMethod:BasicNormalMethod public function get normalMethod():BasicNormalMethod public function set normalMethod(value:BasicNormalMethod):void| numMethods | property |
numMethods:int [read-only] public function get numMethods():int| shadowMethod | property |
shadowMethod:ShadowMapMethodBase public function get shadowMethod():ShadowMapMethodBase public function set shadowMethod(value:ShadowMapMethodBase):void| specularMethod | property |
specularMethod:BasicSpecularMethodThe method to perform specular shading.
public function get specularMethod():BasicSpecularMethod public function set specularMethod(value:BasicSpecularMethod):void| ShaderMethodSetup | () | Constructor |
public function ShaderMethodSetup()| addMethod | () | method |
public function addMethod(method:EffectMethodBase):voidAdds 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):voidInserts 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 |
| hasMethod | () | method |
public function hasMethod(method:EffectMethodBase):BooleanParameters
method:EffectMethodBase |
Boolean |
| removeMethod | () | method |
public function removeMethod(method:EffectMethodBase):voidRemoves a method from the pass.
Parameters
method:EffectMethodBase — The method to be removed.
|