Packageaway3d.lights.shadowmaps
Classpublic class CascadeShadowMapper
InheritanceCascadeShadowMapper Inheritance ShadowMapperBase Inheritance Object
Implements flash.events.IEventDispatcher



Public Properties
 PropertyDefined By
 InheritedautoUpdateShadows : Boolean
ShadowMapperBase
 InheriteddepthMap : TextureProxyBase
[read-only]
ShadowMapperBase
  depthMapSize : uint
[override]
CascadeShadowMapper
 Inheritedlight : LightBase
ShadowMapperBase
  lightOffset : Number
CascadeShadowMapper
  numCascades : int
CascadeShadowMapper
Protected Properties
 PropertyDefined By
 Inherited_casterCollector : ShadowCasterCollector
ShadowMapperBase
 Inherited_depthMapSize : uint = 2048
ShadowMapperBase
 Inherited_light : LightBase
ShadowMapperBase
  _scissorRects : Vector.<Rectangle>
CascadeShadowMapper
Public Methods
 MethodDefined By
  
CascadeShadowMapper(numCascades:uint = 3)
CascadeShadowMapper
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
CascadeShadowMapper
  
dispatchEvent(event:Event):Boolean
CascadeShadowMapper
 Inherited
dispose():void
ShadowMapperBase
  
getDepthProjections(partition:uint):Matrix3D
CascadeShadowMapper
  
getSplitRatio(index:uint):Number
CascadeShadowMapper
  
hasEventListener(type:String):Boolean
CascadeShadowMapper
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
CascadeShadowMapper
  
setSplitRatio(index:uint, value:Number):void
CascadeShadowMapper
 Inherited
ShadowMapperBase
  
willTrigger(type:String):Boolean
CascadeShadowMapper
Protected Methods
 MethodDefined By
 Inherited
ShadowMapperBase
 Inherited
ShadowMapperBase
  
drawDepthMap(target:TextureBase, scene:Scene3D, renderer:DepthRenderer):void
[override]
CascadeShadowMapper
  
[override]
CascadeShadowMapper
Property Detail
_scissorRectsproperty
protected var _scissorRects:Vector.<Rectangle>

depthMapSizeproperty 
depthMapSize:uint[override]


Implementation
    public function get depthMapSize():uint
    public function set depthMapSize(value:uint):void
lightOffsetproperty 
lightOffset:Number


Implementation
    public function get lightOffset():Number
    public function set lightOffset(value:Number):void
nearPlaneDistancesproperty 
nearPlaneDistances:Vector.<Number>  [read-only]


Implementation
    arcane function get nearPlaneDistances():Vector.<Number>
numCascadesproperty 
numCascades:int


Implementation
    public function get numCascades():int
    public function set numCascades(value:int):void
Constructor Detail
CascadeShadowMapper()Constructor
public function CascadeShadowMapper(numCascades:uint = 3)



Parameters
numCascades:uint (default = 3)
Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

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

Parameters

target:TextureBase
 
scene:Scene3D
 
renderer:DepthRenderer

getDepthProjections()method 
public function getDepthProjections(partition:uint):Matrix3D

Parameters

partition:uint

Returns
Matrix3D
getSplitRatio()method 
public function getSplitRatio(index:uint):Number

Parameters

index:uint

Returns
Number
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

setSplitRatio()method 
public function setSplitRatio(index:uint, value:Number):void

Parameters

index:uint
 
value:Number

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

Parameters

viewCamera:Camera3D

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean