Package | away3d.lights.shadowmaps |
Class | public class NearDirectionalShadowMapper |
Inheritance | NearDirectionalShadowMapper DirectionalShadowMapper ShadowMapperBase Object |
Property | Defined By | ||
---|---|---|---|
autoUpdateShadows : Boolean | ShadowMapperBase | ||
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 | ||
snap : Number | DirectionalShadowMapper |
Method | Defined By | ||
---|---|---|---|
NearDirectionalShadowMapper(coverageRatio:Number = .5) | NearDirectionalShadowMapper | ||
dispose():void | ShadowMapperBase | ||
updateShadows():void | ShadowMapperBase |
Method | Defined By | ||
---|---|---|---|
ShadowMapperBase | |||
ShadowMapperBase | |||
[override] | DirectionalShadowMapper | ||
updateDepthProjection(viewCamera:Camera3D):void [override] | NearDirectionalShadowMapper | ||
updateProjectionFromFrustumCorners(viewCamera:Camera3D, corners:Vector.<Number>, matrix:Matrix3D):void | DirectionalShadowMapper |
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
NearDirectionalShadowMapper | () | Constructor |
public function NearDirectionalShadowMapper(coverageRatio:Number = .5)
coverageRatio:Number (default = .5 )
|
updateDepthProjection | () | method |
override protected function updateDepthProjection(viewCamera:Camera3D):void
Parameters
viewCamera:Camera3D |