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



Public Properties
 PropertyDefined By
 InheritedautoUpdateShadows : Boolean
ShadowMapperBase
  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
 Inheritedsnap : Number
DirectionalShadowMapper
Protected Properties
 PropertyDefined By
 Inherited_casterCollector : ShadowCasterCollector
ShadowMapperBase
 Inherited_depthCamera : Camera3D
DirectionalShadowMapper
 Inherited_depthLens : FreeMatrixLens
DirectionalShadowMapper
 Inherited_depthMapSize : uint = 2048
ShadowMapperBase
 Inherited_light : LightBase
ShadowMapperBase
 Inherited_lightOffset : Number = 10000
DirectionalShadowMapper
 Inherited_localFrustum : Vector.<Number>
DirectionalShadowMapper
 Inherited_matrix : Matrix3D
DirectionalShadowMapper
Public Methods
 MethodDefined By
  
NearDirectionalShadowMapper(coverageRatio:Number = .5)
NearDirectionalShadowMapper
 Inherited
dispose():void
ShadowMapperBase
 Inherited
ShadowMapperBase
Protected Methods
 MethodDefined By
 Inherited
ShadowMapperBase
 Inherited
ShadowMapperBase
 Inherited
drawDepthMap(target:TextureBase, scene:Scene3D, renderer:DepthRenderer):void
[override]
DirectionalShadowMapper
  
[override]
NearDirectionalShadowMapper
 Inherited
updateProjectionFromFrustumCorners(viewCamera:Camera3D, corners:Vector.<Number>, matrix:Matrix3D):void
DirectionalShadowMapper
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
Constructor Detail
NearDirectionalShadowMapper()Constructor
public function NearDirectionalShadowMapper(coverageRatio:Number = .5)



Parameters
coverageRatio:Number (default = .5)
Method Detail
updateDepthProjection()method
override protected function updateDepthProjection(viewCamera:Camera3D):void

Parameters

viewCamera:Camera3D