Packageaway3d.lights.shadowmaps
Classpublic class NearDirectionalShadowMapper
InheritanceNearDirectionalShadowMapper Inheritance DirectionalShadowMapper Inheritance ShadowMapperBase Inheritance Object



Public Properties
 PropertyDefined By
  coverageRatio : Number
A value between 0 and 1 to indicate the ratio of the view frustum that needs to be covered by the shadow map.
NearDirectionalShadowMapper
 InheriteddepthMap : TextureProxyBase
[read-only]
ShadowMapperBase
 InheriteddepthMapSize : uint
ShadowMapperBase
 Inheritedlight : LightBase
ShadowMapperBase
 InheritedlightOffset : Number
DirectionalShadowMapper
Protected Properties
 PropertyDefined By
 Inherited_casterCollector : ShadowCasterCollector
ShadowMapperBase
 Inherited_depthCamera : Camera3D
DirectionalShadowMapper
 Inherited_depthMapSize : uint = 2048
ShadowMapperBase
 Inherited_light : LightBase
ShadowMapperBase
Public Methods
 MethodDefined By
  
NearDirectionalShadowMapper(coverageRatio:Number = .5)
NearDirectionalShadowMapper
 Inherited
dispose():void
ShadowMapperBase
Protected Methods
 MethodDefined By
 Inherited
ShadowMapperBase
  
drawDepthMap(target:TextureBase, scene:Scene3D, renderer:DepthRenderer):void
[override]
NearDirectionalShadowMapper
  
[override]
NearDirectionalShadowMapper
Property Detail
coverageRatioproperty
coverageRatio:Number

A value between 0 and 1 to indicate the ratio of the view frustum that needs to be covered by the shadow map.


Implementation
    public function get coverageRatio():Number
    public function set coverageRatio(value:Number):void
depthProjectionproperty 
depthProjection:Matrix3D  [read-only] [override]

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


Implementation
    arcane function get depthProjection():Matrix3D
Constructor Detail
NearDirectionalShadowMapper()Constructor
public function NearDirectionalShadowMapper(coverageRatio:Number = .5)



Parameters
coverageRatio:Number (default = .5)
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