Packageaway3d.materials.methods
Classpublic class ShadowMapMethodBase
InheritanceShadowMapMethodBase Inheritance ShadingMethodBase Inheritance flash.events.EventDispatcher
Subclasses DitheredShadowMapMethod, FilteredShadowMapMethod, HardShadowMapMethod, NearShadowMapMethod, SoftShadowMapMethod, TripleFilteredShadowMapMethod



Public Properties
 PropertyDefined By
  alpha : Number
ShadowMapMethodBase
  castingLight : LightBase
[read-only]
ShadowMapMethodBase
  epsilon : Number
ShadowMapMethodBase
 Inheritedpasses : Vector.<MaterialPassBase>
[read-only] Any passes required that render to a texture used by this method.
ShadingMethodBase
 InheritedviewDirVaryingReg : ShaderRegisterElement
ShadingMethodBase
Protected Properties
 PropertyDefined By
  _depthMapCoordReg : ShaderRegisterElement
ShadowMapMethodBase
 Inherited_globalPosReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_normalFragmentReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_passes : Vector.<MaterialPassBase>
ShadingMethodBase
 Inherited_projectionReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_secondaryUVFragmentReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_tangentVaryingReg : ShaderRegisterElement
ShadingMethodBase
  _usePoint : Boolean
ShadowMapMethodBase
 Inherited_uvFragmentReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_viewDirFragmentReg : ShaderRegisterElement
ShadingMethodBase
 Inherited_viewDirVaryingReg : ShaderRegisterElement
ShadingMethodBase
Public Methods
 MethodDefined By
  
ShadowMapMethodBase
 Inherited
Copies the state from a ShadingMethodBase object into the current object.
ShadingMethodBase
 Inherited
dispose():void
Cleans up any resources used by the current object.
ShadingMethodBase
Protected Methods
 MethodDefined By
  
ShadowMapMethodBase
  
ShadowMapMethodBase
  
ShadowMapMethodBase
  
ShadowMapMethodBase
 Inherited
getTexSampleCode(vo:MethodVO, targetReg:ShaderRegisterElement, inputReg:ShaderRegisterElement, uvReg:ShaderRegisterElement = null, forceWrap:String = null):String
A helper method that generates standard code for sampling from a texture using the normal uv coordinates.
ShadingMethodBase
 Inherited
Marks the shader program as invalid, so it will be recompiled before the next render.
ShadingMethodBase
Property Detail
_depthMapCoordRegproperty
protected var _depthMapCoordReg:ShaderRegisterElement

_usePointproperty 
protected var _usePoint:Boolean

alphaproperty 
alpha:Number


Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
castingLightproperty 
castingLight:LightBase  [read-only]


Implementation
    public function get castingLight():LightBase
depthMapCoordRegproperty 
depthMapCoordReg:ShaderRegisterElement

Wrappers that override the vertex shader need to set this explicitly


Implementation
    arcane function get depthMapCoordReg():ShaderRegisterElement
    arcane function set depthMapCoordReg(value:ShaderRegisterElement):void
epsilonproperty 
epsilon:Number


Implementation
    public function get epsilon():Number
    public function set epsilon(value:Number):void
Constructor Detail
ShadowMapMethodBase()Constructor
public function ShadowMapMethodBase(castingLight:LightBase)



Parameters
castingLight:LightBase
Method Detail
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 
arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String

Parameters

vo:MethodVO
 
regCache:ShaderRegisterCache
 
targetReg:ShaderRegisterElement

Returns
String
getPlanarFragmentCode()method 
protected function getPlanarFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String

Parameters

vo:MethodVO
 
regCache:ShaderRegisterCache
 
targetReg:ShaderRegisterElement

Returns
String
getPlanarVertexCode()method 
protected function getPlanarVertexCode(vo:MethodVO, regCache:ShaderRegisterCache):String

Parameters

vo:MethodVO
 
regCache:ShaderRegisterCache

Returns
String
getPointFragmentCode()method 
protected function getPointFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String

Parameters

vo:MethodVO
 
regCache:ShaderRegisterCache
 
targetReg:ShaderRegisterElement

Returns
String
getPointVertexCode()method 
protected function getPointVertexCode(vo:MethodVO, regCache:ShaderRegisterCache):String

Parameters

vo:MethodVO
 
regCache:ShaderRegisterCache

Returns
String
getVertexCode()method 
override arcane function getVertexCode(vo:MethodVO, regCache:ShaderRegisterCache):String

Parameters

vo:MethodVO
 
regCache:ShaderRegisterCache

Returns
String
initConstants()method 
override arcane function initConstants(vo:MethodVO):void

Parameters

vo:MethodVO

initVO()method 
override arcane function initVO(vo:MethodVO):void

Parameters

vo:MethodVO

setRenderState()method 
override arcane function setRenderState(vo:MethodVO, renderable:IRenderable, stage3DProxy:Stage3DProxy, camera:Camera3D):void

Parameters

vo:MethodVO
 
renderable:IRenderable
 
stage3DProxy:Stage3DProxy
 
camera:Camera3D