Package | away3d.materials.methods |
Class | public class CascadeShadowMapMethod |
Inheritance | CascadeShadowMapMethod ShadowMapMethodBase ShadingMethodBase flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
alpha : Number | ShadowMapMethodBase | ||
baseMethod : SimpleShadowMapMethodBase | CascadeShadowMapMethod | ||
castingLight : LightBase [read-only] | ShadowMapMethodBase | ||
epsilon : Number | ShadowMapMethodBase | ||
passes : Vector.<MaterialPassBase> [read-only]
Any passes required that render to a texture used by this method. | ShadingMethodBase |
Method | Defined By | ||
---|---|---|---|
CascadeShadowMapMethod(shadowMethodBase:SimpleShadowMapMethodBase)
Creates a new CascadeShadowMapMethod object. | CascadeShadowMapMethod | ||
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 |
baseMethod | property |
baseMethod:SimpleShadowMapMethodBase
public function get baseMethod():SimpleShadowMapMethodBase
public function set baseMethod(value:SimpleShadowMapMethodBase):void
sharedRegisters | property |
sharedRegisters:ShaderRegisterData
[override] arcane function get sharedRegisters():ShaderRegisterData
arcane function set sharedRegisters(value:ShaderRegisterData):void
CascadeShadowMapMethod | () | Constructor |
public function CascadeShadowMapMethod(shadowMethodBase:SimpleShadowMapMethodBase)
Creates a new CascadeShadowMapMethod object.
ParametersshadowMethodBase:SimpleShadowMapMethodBase |
activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void
Parameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
cleanCompilationData | () | method |
override arcane function cleanCompilationData():void
getFragmentCode | () | method |
override arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |
getVertexCode | () | method |
override arcane function getVertexCode(vo:MethodVO, regCache:ShaderRegisterCache):String
Parameters
vo:MethodVO | |
regCache:ShaderRegisterCache |
String |
initConstants | () | method |
initVO | () | method |
setRenderState | () | method |
override arcane function setRenderState(vo:MethodVO, renderable:IRenderable, stage3DProxy:Stage3DProxy, camera:Camera3D):void
Parameters
vo:MethodVO | |
renderable:IRenderable | |
stage3DProxy:Stage3DProxy | |
camera:Camera3D |