Package | away3d.lights.shadowmaps |
Class | public class ShadowMapperBase |
Subclasses | PlanarShadowMapper |
Property | Defined by | ||
---|---|---|---|
depthMapSize : uint | ShadowMapperBase |
Property | Defined by | ||
---|---|---|---|
_casterCollector : ShadowCasterCollector | ShadowMapperBase | ||
_light : LightBase | ShadowMapperBase |
Method | Defined by | ||
---|---|---|---|
ShadowMapperBase | |||
dispose():void
| ShadowMapperBase | ||
getDepthMap(contextIndex:uint):TextureBase
| ShadowMapperBase |
Method | Defined by | ||
---|---|---|---|
ShadowMapperBase | |||
ShadowMapperBase |
_casterCollector | property |
protected var _casterCollector:ShadowCasterCollector
depthMapSize | property |
depthMapSize:uint
[read-write]Implementation
public function get depthMapSize():uint
public function set depthMapSize(value:uint):void
depthProjection | property |
depthProjection:Matrix3D
[read-only]Depth projection matrix that projects from scene space to depth map.
Implementation arcane function get depthProjection():Matrix3D
_light | property |
protected var _light:LightBase
ShadowMapperBase | () | constructor |
dispose | () | method |
public function dispose():void
drawDepthMap | () | method |
protected function drawDepthMap(target:TextureBase, scene:Scene3D, renderer:DepthRenderer):void
Parameters
target:TextureBase |
|
scene:Scene3D |
|
renderer:DepthRenderer |
getDepthMap | () | method |
public function getDepthMap(contextIndex:uint):TextureBase
Parameters
contextIndex:uint |
TextureBase |
renderDepthMap | () | method |
arcane function renderDepthMap(context:Context3D, contextIndex:uint, entityCollector:EntityCollector, renderer:DepthRenderer):void
Renders the depth map for this light.
Parameterscontext:Context3D — The EntityCollector that contains the original scene data.
|
|
contextIndex:uint — The DepthRenderer to render the depth map.
|
|
entityCollector:EntityCollector |
|
renderer:DepthRenderer |
updateDepthProjection | () | method |