Package | laya.d3.shadowMap |
Class | public class ParallelSplitShadowMap |
Inheritance | ParallelSplitShadowMap Object |
Property | Defined By | ||
---|---|---|---|
PSSMNum : int | ParallelSplitShadowMap |
Method | Defined By | ||
---|---|---|---|
ParallelSplitShadowMap | |||
_setGlobalParallelLightDir(dir:Vector3):void | ParallelSplitShadowMap | ||
beginRenderTarget(index:int):void | ParallelSplitShadowMap | ||
calcSplitFrustum(sceneCamera:BaseCamera):void | ParallelSplitShadowMap | ||
disposeAllRenderTarget():void | ParallelSplitShadowMap | ||
endRenderTarget(index:int):void | ParallelSplitShadowMap | ||
getCurrentPSSM():int | ParallelSplitShadowMap | ||
getFarDistance():Number | ParallelSplitShadowMap | ||
ParallelSplitShadowMap | |||
getLightCamera(index:int):Camera | ParallelSplitShadowMap | ||
getLightFrustumCulling(currentPSSM:int):BoundFrustum | ParallelSplitShadowMap | ||
getPCFType():int | ParallelSplitShadowMap | ||
getRenderTarget(index:int):RenderTexture | ParallelSplitShadowMap | ||
getShadowMapTextureSize():int | ParallelSplitShadowMap | ||
getSplitDistance(index:int):Number | ParallelSplitShadowMap | ||
ParallelSplitShadowMap | |||
[static]
计算两个矩阵的乘法
| ParallelSplitShadowMap | ||
setFarDistance(value:Number):void | ParallelSplitShadowMap | ||
ParallelSplitShadowMap | |||
setPCFType(PCFtype:int):void | ParallelSplitShadowMap | ||
setShadowMapTextureSize(size:int):void | ParallelSplitShadowMap |
PSSMNum | property |
PSSMNum:int
public function get PSSMNum():int
public function set PSSMNum(value:int):void
ParallelSplitShadowMap | () | Constructor |
public function ParallelSplitShadowMap()
_setGlobalParallelLightDir | () | method |
beginRenderTarget | () | method |
public function beginRenderTarget(index:int):void
Parameters
index:int |
calcSplitFrustum | () | method |
disposeAllRenderTarget | () | method |
public function disposeAllRenderTarget():void
endRenderTarget | () | method |
public function endRenderTarget(index:int):void
Parameters
index:int |
getCurrentPSSM | () | method |
public function getCurrentPSSM():int
Returnsint |
getFarDistance | () | method |
public function getFarDistance():Number
ReturnsNumber |
getGlobalParallelLightDir | () | method |
getLightCamera | () | method |
getLightFrustumCulling | () | method |
public function getLightFrustumCulling(currentPSSM:int):BoundFrustum
Parameters
currentPSSM:int |
BoundFrustum |
getPCFType | () | method |
public function getPCFType():int
Returnsint |
getRenderTarget | () | method |
getShadowMapTextureSize | () | method |
public function getShadowMapTextureSize():int
Returnsint |
getSplitDistance | () | method |
public function getSplitDistance(index:int):Number
Parameters
index:int |
Number |
getSplitFrustumCulling | () | method |
multiplyMatrixOutFloat32Array | () | method |
public static function multiplyMatrixOutFloat32Array(left:Matrix4x4, right:Matrix4x4, out:Float32Array):void
计算两个矩阵的乘法
Parameters
left:Matrix4x4 — left矩阵
| |
right:Matrix4x4 — right矩阵
| |
out:Float32Array — 输出矩阵
|
setFarDistance | () | method |
public function setFarDistance(value:Number):void
Parameters
value:Number |
setInfo | () | method |
public function setInfo(scene:Scene, maxDistance:Number, globalParallelDir:Vector3, shadowMapTextureSize:int, numberOfPSSM:int, PCFType:int):void
Parameters
scene:Scene | |
maxDistance:Number | |
globalParallelDir:Vector3 | |
shadowMapTextureSize:int | |
numberOfPSSM:int | |
PCFType:int |
setPCFType | () | method |
public function setPCFType(PCFtype:int):void
Parameters
PCFtype:int |
setShadowMapTextureSize | () | method |
public function setShadowMapTextureSize(size:int):void
Parameters
size:int |