Package | away3d.lights.shadowmaps |
Class | public class ShadowMapperBase |
Inheritance | ShadowMapperBase Object |
Subclasses | CascadeShadowMapper, CubeMapShadowMapper, DirectionalShadowMapper |
Property | Defined By | ||
---|---|---|---|
autoUpdateShadows : Boolean | ShadowMapperBase | ||
depthMap : TextureProxyBase [read-only] | ShadowMapperBase | ||
depthMapSize : uint | ShadowMapperBase | ||
light : LightBase | ShadowMapperBase |
Property | Defined By | ||
---|---|---|---|
_casterCollector : ShadowCasterCollector | ShadowMapperBase | ||
_depthMapSize : uint = 2048 | ShadowMapperBase | ||
_light : LightBase | ShadowMapperBase |
Method | Defined By | ||
---|---|---|---|
ShadowMapperBase | |||
dispose():void | ShadowMapperBase | ||
updateShadows():void | ShadowMapperBase |
Method | Defined By | ||
---|---|---|---|
ShadowMapperBase | |||
ShadowMapperBase | |||
ShadowMapperBase | |||
updateDepthProjection(viewCamera:Camera3D):void | ShadowMapperBase |
_casterCollector | property |
protected var _casterCollector:ShadowCasterCollector
_depthMapSize | property |
protected var _depthMapSize:uint = 2048
_light | property |
protected var _light:LightBase
_shadowsInvalid | property |
arcane var _shadowsInvalid:Boolean
autoUpdateShadows | property |
autoUpdateShadows:Boolean
public function get autoUpdateShadows():Boolean
public function set autoUpdateShadows(value:Boolean):void
depthMap | property |
depthMap:TextureProxyBase
[read-only] public function get depthMap():TextureProxyBase
depthMapSize | property |
depthMapSize:uint
public function get depthMapSize():uint
public function set depthMapSize(value:uint):void
light | property |
light:LightBase
public function get light():LightBase
public function set light(value:LightBase):void
ShadowMapperBase | () | Constructor |
public function ShadowMapperBase()
createCasterCollector | () | method |
createDepthTexture | () | method |
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 |
renderDepthMap | () | method |
arcane function renderDepthMap(stage3DProxy:Stage3DProxy, entityCollector:EntityCollector, renderer:DepthRenderer):void
Renders the depth map for this light.
Parameters
stage3DProxy:Stage3DProxy — The EntityCollector that contains the original scene data.
| |
entityCollector:EntityCollector — The DepthRenderer to render the depth map.
| |
renderer:DepthRenderer |
setDepthMap | () | method |
arcane function setDepthMap(depthMap:TextureProxyBase):void
This is used by renderers that can support depth maps to be shared across instances
Parameters
depthMap:TextureProxyBase |
updateDepthProjection | () | method |
updateShadows | () | method |
public function updateShadows():void