Package | away3d.materials.methods |
Class | public class ShadowMapMethodBase |
Inheritance | ShadowMapMethodBase ShadingMethodBase flash.events.EventDispatcher |
Subclasses | CascadeShadowMapMethod, SimpleShadowMapMethodBase |
Property | Defined By | ||
---|---|---|---|
alpha : Number | ShadowMapMethodBase | ||
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 |
Property | Defined By | ||
---|---|---|---|
_alpha : Number = 1 | ShadowMapMethodBase | ||
_castingLight : LightBase | ShadowMapMethodBase | ||
_epsilon : Number = .002 | ShadowMapMethodBase | ||
_passes : Vector.<MaterialPassBase> | ShadingMethodBase | ||
_shadowMapper : ShadowMapperBase | ShadowMapMethodBase | ||
_sharedRegisters : ShaderRegisterData | ShadingMethodBase |
Method | Defined By | ||
---|---|---|---|
ShadowMapMethodBase(castingLight:LightBase) | ShadowMapMethodBase | ||
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 |
_alpha | property |
protected var _alpha:Number = 1
_castingLight | property |
protected var _castingLight:LightBase
_epsilon | property |
protected var _epsilon:Number = .002
_shadowMapper | property |
protected var _shadowMapper:ShadowMapperBase
alpha | property |
alpha:Number
public function get alpha():Number
public function set alpha(value:Number):void
castingLight | property |
epsilon | property |
epsilon:Number
public function get epsilon():Number
public function set epsilon(value:Number):void
ShadowMapMethodBase | () | Constructor |
getFragmentCode | () | method |
arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |