Package | away3d.lights.shadowmaps |
Class | public class CascadeShadowMapper |
Inheritance | CascadeShadowMapper ShadowMapperBase Object |
Implements | flash.events.IEventDispatcher |
Property | Defined By | ||
---|---|---|---|
autoUpdateShadows : Boolean | ShadowMapperBase | ||
depthMap : TextureProxyBase [read-only] | ShadowMapperBase | ||
depthMapSize : uint [override] | CascadeShadowMapper | ||
light : LightBase | ShadowMapperBase | ||
lightOffset : Number | CascadeShadowMapper | ||
numCascades : int | CascadeShadowMapper |
Property | Defined By | ||
---|---|---|---|
_casterCollector : ShadowCasterCollector | ShadowMapperBase | ||
_depthMapSize : uint = 2048 | ShadowMapperBase | ||
_light : LightBase | ShadowMapperBase | ||
_scissorRects : Vector.<Rectangle> | CascadeShadowMapper |
Method | Defined 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 | ||
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 | ||
updateShadows():void | ShadowMapperBase | ||
willTrigger(type:String):Boolean | CascadeShadowMapper |
Method | Defined By | ||
---|---|---|---|
ShadowMapperBase | |||
ShadowMapperBase | |||
[override] | CascadeShadowMapper | ||
updateDepthProjection(viewCamera:Camera3D):void [override] | CascadeShadowMapper |
_scissorRects | property |
protected var _scissorRects:Vector.<Rectangle>
depthMapSize | property |
depthMapSize:uint
[override] public function get depthMapSize():uint
public function set depthMapSize(value:uint):void
lightOffset | property |
lightOffset:Number
public function get lightOffset():Number
public function set lightOffset(value:Number):void
nearPlaneDistances | property |
nearPlaneDistances:Vector.<Number>
[read-only] arcane function get nearPlaneDistances():Vector.<Number>
numCascades | property |
numCascades:int
public function get numCascades():int
public function set numCascades(value:int):void
CascadeShadowMapper | () | Constructor |
public function CascadeShadowMapper(numCascades:uint = 3)
numCascades:uint (default = 3 )
|
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 |
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 |
Matrix3D |
getSplitRatio | () | method |
public function getSplitRatio(index:uint):Number
Parameters
index:uint |
Number |
hasEventListener | () | method |
public function hasEventListener(type:String):Boolean
Parameters
type:String |
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 |
Boolean |