Variables
Const ModelShadowCastingMode
ModelShadowCastingMode: { OFF: number; ON: number } = Enum({/*** @en Disable shadow projection.* @zh 不投射阴影。*/OFF: 0,/*** @en Enable shadow projection.* @zh 开启阴影投射。*/ON: 1,})
Const ModelShadowReceivingMode
ModelShadowReceivingMode: { OFF: number; ON: number } = Enum({/*** @en Disable shadow projection.* @zh 不接收阴影。*/OFF: 0,/*** @en Enable shadow projection.* @zh 开启阴影投射。*/ON: 1,})
Const batch_extras_size
batch_extras_size: number = GFXFormatInfos[batch_id.format].size + GFXFormatInfos[batch_uv.format].size
Const m4_local
m4_
local: Mat4 = new Mat4()
Shadow projection mode.
阴影投射方式。