正在准备搜索索引...
搜索索引不可用
LayaAir3引擎API
LayaAir3引擎API
laya/RenderDriver/RenderModuleData/Design/3D/I3DRenderModuleData
IDirectLightData
接口 IDirectLightData
interface
IDirectLightData
{
shadowCascadesMode
:
ShadowCascadesMode
;
shadowDepthBias
:
number
;
shadowDistance
:
number
;
shadowMode
:
ShadowMode
;
shadowNearPlane
:
number
;
shadowNormalBias
:
number
;
shadowResolution
:
number
;
shadowStrength
:
number
;
shadowTwoCascadeSplits
:
number
;
transform
:
Transform3D
;
setDirection
(
value
:
Vector3
)
:
void
;
setShadowFourCascadeSplits
(
value
:
Vector3
)
:
void
;
}
实现于
RTDirectLight
WebDirectLight
索引
属性
shadow
Cascades
Mode
shadow
Depth
Bias
shadow
Distance
shadow
Mode
shadow
Near
Plane
shadow
Normal
Bias
shadow
Resolution
shadow
Strength
shadow
Two
Cascade
Splits
transform
方法
set
Direction
set
Shadow
Four
Cascade
Splits
属性
shadow
Cascades
Mode
shadowCascadesMode
:
ShadowCascadesMode
shadow
Depth
Bias
shadowDepthBias
:
number
shadow
Distance
shadowDistance
:
number
shadow
Mode
shadowMode
:
ShadowMode
shadow
Near
Plane
shadowNearPlane
:
number
shadow
Normal
Bias
shadowNormalBias
:
number
shadow
Resolution
shadowResolution
:
number
shadow
Strength
shadowStrength
:
number
shadow
Two
Cascade
Splits
shadowTwoCascadeSplits
:
number
transform
transform
:
Transform3D
方法
set
Direction
setDirection
(
value
:
Vector3
)
:
void
参数
value
:
Vector3
返回
void
set
Shadow
Four
Cascade
Splits
setShadowFourCascadeSplits
(
value
:
Vector3
)
:
void
参数
value
:
Vector3
返回
void
切换版本:
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
属性
shadow
Cascades
Mode
shadow
Depth
Bias
shadow
Distance
shadow
Mode
shadow
Near
Plane
shadow
Normal
Bias
shadow
Resolution
shadow
Strength
shadow
Two
Cascade
Splits
transform
方法
set
Direction
set
Shadow
Four
Cascade
Splits
LayaAir3引擎API
加载中……