Package | away3d.materials.methods |
Class | public class EnvMapMethod |
Inheritance | EnvMapMethod ShadingMethodBase |
Property | Defined by | ||
---|---|---|---|
alpha : Number | EnvMapMethod | ||
passes : Vector
Any passes required that render to a texture used by this method.
| ShadingMethodBase | ||
viewDirVaryingReg : ShaderRegisterElement | ShadingMethodBase |
Method | Defined by | ||
---|---|---|---|
EnvMapMethod | |||
Copies the state from a ShadingMethodBase object into the current object.
| ShadingMethodBase | ||
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
| EnvMapMethod |
alpha | property |
alpha:Number
[read-write]Implementation
public function get alpha():Number
public function set alpha(value:Number):void
EnvMapMethod | () | constructor |
public function EnvMapMethod(envMap:CubeMap, alpha:Number = 1)
Parameters
envMap:CubeMap |
|
alpha:Number (default = 1 )
|
activate | () | method |
arcane override function activate(context:Context3D, contextIndex:uint):void
Parameters
context:Context3D |
|
contextIndex:uint |
deactivate | () | method |
arcane override function deactivate(context:Context3D):void
Parameters
context:Context3D |
dispose | () | method |
public override function dispose(deep:Boolean):void
Cleans up any resources used by the current object.
Parametersdeep:Boolean — Indicates whether other resources should be cleaned up, that could potentially be shared across different instances.
|
getFragmentPostLightingCode | () | method |
arcane override function getFragmentPostLightingCode(regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
regCache:ShaderRegisterCache |
|
targetReg:ShaderRegisterElement |
String |