Package | away3d.lights.shadowmaps |
Class | public class NearDirectionalShadowMapper |
Inheritance | NearDirectionalShadowMapper DirectionalShadowMapper ShadowMapperBase Object |
Property | Defined By | ||
---|---|---|---|
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 | ||
depthMap : TextureProxyBase [read-only] | ShadowMapperBase | ||
depthMapSize : uint | ShadowMapperBase | ||
light : LightBase | ShadowMapperBase | ||
lightOffset : Number | DirectionalShadowMapper |
Method | Defined By | ||
---|---|---|---|
NearDirectionalShadowMapper(coverageRatio:Number = .5) | NearDirectionalShadowMapper | ||
dispose():void | ShadowMapperBase |
Method | Defined By | ||
---|---|---|---|
ShadowMapperBase | |||
[override] | NearDirectionalShadowMapper | ||
updateDepthProjection(viewCamera:Camera3D):void [override] | NearDirectionalShadowMapper |
coverageRatio | property |
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.
public function get coverageRatio():Number
public function set coverageRatio(value:Number):void
depthProjection | property |
depthProjection:Matrix3D
[read-only] [override] Depth projection matrix that projects from scene space to depth map.
arcane function get depthProjection():Matrix3D
NearDirectionalShadowMapper | () | Constructor |
public function NearDirectionalShadowMapper(coverageRatio:Number = .5)
coverageRatio:Number (default = .5 )
|
drawDepthMap | () | method |
override protected function drawDepthMap(target:TextureBase, scene:Scene3D, renderer:DepthRenderer):void
Parameters
target:TextureBase | |
scene:Scene3D | |
renderer:DepthRenderer |
updateDepthProjection | () | method |
override protected function updateDepthProjection(viewCamera:Camera3D):void
Parameters
viewCamera:Camera3D |