Package | away3d.materials.methods |
Class | public class NearShadowMapMethod |
Inheritance | NearShadowMapMethod SimpleShadowMapMethodBase ShadowMapMethodBase ShadingMethodBase flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
alpha : Number [override] | NearShadowMapMethod | ||
castingLight : LightBase [read-only] | ShadowMapMethodBase | ||
epsilon : Number [override] | NearShadowMapMethod | ||
fadeRatio : Number | NearShadowMapMethod | ||
passes : Vector.<MaterialPassBase> [read-only]
Any passes required that render to a texture used by this method. | ShadingMethodBase |
Method | Defined By | ||
---|---|---|---|
NearShadowMapMethod(baseMethod:SimpleShadowMapMethodBase, fadeRatio:Number = .1) | NearShadowMapMethod | ||
copyFrom(method:ShadingMethodBase):void
Copies the state from a ShadingMethodBase object into the current object. | ShadingMethodBase | ||
dispose():void [override] | NearShadowMapMethod |
alpha | property |
alpha:Number
[override] public function get alpha():Number
public function set alpha(value:Number):void
epsilon | property |
epsilon:Number
[override] public function get epsilon():Number
public function set epsilon(value:Number):void
fadeRatio | property |
fadeRatio:Number
public function get fadeRatio():Number
public function set fadeRatio(value:Number):void
sharedRegisters | property |
sharedRegisters:ShaderRegisterData
[override]
arcane function get sharedRegisters():ShaderRegisterData
arcane function set sharedRegisters(value:ShaderRegisterData):void
NearShadowMapMethod | () | Constructor |
public function NearShadowMapMethod(baseMethod:SimpleShadowMapMethodBase, fadeRatio:Number = .1)
baseMethod:SimpleShadowMapMethodBase | |
fadeRatio:Number (default = .1 )
|
activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void
Parameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
cleanCompilationData | () | method |
override arcane function cleanCompilationData():void
deactivate | () | method |
override arcane function deactivate(vo:MethodVO, stage3DProxy:Stage3DProxy):void
Parameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
dispose | () | method |
override public function dispose():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 |
reset | () | method |
override arcane function reset():void
setRenderState | () | method |
override arcane function setRenderState(vo:MethodVO, renderable:IRenderable, stage3DProxy:Stage3DProxy, camera:Camera3D):void
Parameters
vo:MethodVO | |
renderable:IRenderable | |
stage3DProxy:Stage3DProxy | |
camera:Camera3D |