Packageaway3d.lights.shadowmaps
Classpublic class DirectionalShadowMapper
InheritanceDirectionalShadowMapper Inheritance ShadowMapperBase Inheritance Object
Subclasses NearDirectionalShadowMapper



Public Properties
 PropertyDefined By
 InheriteddepthMap : TextureProxyBase
[read-only]
ShadowMapperBase
 InheriteddepthMapSize : uint
ShadowMapperBase
 Inheritedlight : LightBase
ShadowMapperBase
  lightOffset : Number
DirectionalShadowMapper
Protected Properties
 PropertyDefined By
 Inherited_casterCollector : ShadowCasterCollector
ShadowMapperBase
  _depthCamera : Camera3D
DirectionalShadowMapper
 Inherited_depthMapSize : uint = 2048
ShadowMapperBase
 Inherited_light : LightBase
ShadowMapperBase
Public Methods
 MethodDefined By
  
DirectionalShadowMapper
 Inherited
dispose():void
ShadowMapperBase
Protected Methods
 MethodDefined By
 Inherited
ShadowMapperBase
  
drawDepthMap(target:TextureBase, scene:Scene3D, renderer:DepthRenderer):void
[override]
DirectionalShadowMapper
  
[override]
DirectionalShadowMapper
Property Detail
_depthCameraproperty
protected var _depthCamera:Camera3D

depthProjectionproperty 
depthProjection:Matrix3D  [read-only]

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


Implementation
    arcane function get depthProjection():Matrix3D
lightOffsetproperty 
lightOffset:Number


Implementation
    public function get lightOffset():Number
    public function set lightOffset(value:Number):void
Constructor Detail
DirectionalShadowMapper()Constructor
public function DirectionalShadowMapper()



Method Detail
drawDepthMap()method
override protected function drawDepthMap(target:TextureBase, scene:Scene3D, renderer:DepthRenderer):void

Parameters

target:TextureBase
 
scene:Scene3D
 
renderer:DepthRenderer

updateDepthProjection()method 
override protected function updateDepthProjection(viewCamera:Camera3D):void

Parameters

viewCamera:Camera3D