Packageaway3d.lights.shadowmaps
Classpublic class ShadowMapperBase
SubclassesPlanarShadowMapper

Public Properties
 PropertyDefined by
  depthMapSize : uint
ShadowMapperBase
Protected Properties
 PropertyDefined by
  _casterCollector : ShadowCasterCollector
ShadowMapperBase
  _light : LightBase
ShadowMapperBase
Public Methods
 MethodDefined by
  
ShadowMapperBase
  
dispose():void
ShadowMapperBase
  
getDepthMap(contextIndex:uint):TextureBase
ShadowMapperBase
Protected Methods
 MethodDefined by
  
drawDepthMap(target:TextureBase, scene:Scene3D, renderer:DepthRenderer):void
ShadowMapperBase
  
updateDepthProjection(viewCamera:Camera3D):void
ShadowMapperBase
Property detail
_casterCollectorproperty
protected var _casterCollector:ShadowCasterCollector
depthMapSizeproperty 
depthMapSize:uint  [read-write]Implementation
    public function get depthMapSize():uint
    public function set depthMapSize(value:uint):void
depthProjectionproperty 
depthProjection:Matrix3D  [read-only]

Depth projection matrix that projects from scene space to depth map.

Implementation
    arcane function get depthProjection():Matrix3D
_lightproperty 
protected var _light:LightBase
Constructor detail
ShadowMapperBase()constructor
public function ShadowMapperBase(light:LightBase)Parameters
light:LightBase
Init Parameters
Method detail
dispose()method
public function dispose():void
drawDepthMap()method 
protected function drawDepthMap(target:TextureBase, scene:Scene3D, renderer:DepthRenderer):void Parameters
target:TextureBase
 
scene:Scene3D
 
renderer:DepthRenderer
getDepthMap()method 
public function getDepthMap(contextIndex:uint):TextureBase Parameters
contextIndex:uint

Returns
TextureBase
renderDepthMap()method 
arcane function renderDepthMap(context:Context3D, contextIndex:uint, entityCollector:EntityCollector, renderer:DepthRenderer):void

Renders the depth map for this light.

Parameters
context:Context3D — The EntityCollector that contains the original scene data.
 
contextIndex:uint — The DepthRenderer to render the depth map.
 
entityCollector:EntityCollector
 
renderer:DepthRenderer
updateDepthProjection()method 
protected function updateDepthProjection(viewCamera:Camera3D):void Parameters
viewCamera:Camera3D
Wiki link
Click to go to the wiki page for 'away3d.lights.shadowmaps.ShadowMapperBase'

Code examples

Comments