正在准备搜索索引...
搜索索引不可用
LayaAir3引擎API
LayaAir3引擎API
laya/RenderDriver/DriverDesign/3DRenderPass/I3DRenderPass
IInstanceRenderElement3D
接口 IInstanceRenderElement3D
interface
IInstanceRenderElement3D
{
canDynamicBatch
:
boolean
;
geometry
:
IRenderGeometryElement
;
instanceElementList
:
SingletonList
<
IRenderElement3D
>
;
isRender
:
boolean
;
materialId
:
number
;
materialRenderQueue
:
number
;
materialShaderData
:
ShaderData
;
owner
:
IBaseRenderNode
;
renderShaderData
:
ShaderData
;
subShader
:
SubShader
;
transform
:
Transform3D
;
clearRenderData
()
:
void
;
destroy
()
:
void
;
recover
()
:
void
;
setGeometry
(
geometry
:
IRenderGeometryElement
)
:
void
;
}
层级 (
查看层级一览
)
IRenderElement3D
IInstanceRenderElement3D
实现于
NoRenderInstanceRenderElement3D
WebGLInstanceRenderElement3D
WebGPUInstanceRenderElement3D
索引
属性
can
Dynamic
Batch
geometry
instance
Element
List
is
Render
material
Id
material
Render
Queue
material
Shader
Data
owner
render
Shader
Data
sub
Shader
transform
方法
clear
Render
Data
destroy
recover
set
Geometry
属性
can
Dynamic
Batch
canDynamicBatch
:
boolean
geometry
geometry
:
IRenderGeometryElement
instance
Element
List
instanceElementList
:
SingletonList
<
IRenderElement3D
>
is
Render
isRender
:
boolean
material
Id
materialId
:
number
material
Render
Queue
materialRenderQueue
:
number
material
Shader
Data
materialShaderData
:
ShaderData
owner
owner
:
IBaseRenderNode
render
Shader
Data
renderShaderData
:
ShaderData
sub
Shader
subShader
:
SubShader
transform
transform
:
Transform3D
方法
clear
Render
Data
clearRenderData
()
:
void
返回
void
destroy
destroy
()
:
void
返回
void
recover
recover
()
:
void
返回
void
set
Geometry
setGeometry
(
geometry
:
IRenderGeometryElement
)
:
void
参数
geometry
:
IRenderGeometryElement
返回
void
切换版本:
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
属性
can
Dynamic
Batch
geometry
instance
Element
List
is
Render
material
Id
material
Render
Queue
material
Shader
Data
owner
render
Shader
Data
sub
Shader
transform
方法
clear
Render
Data
destroy
recover
set
Geometry
LayaAir3引擎API
加载中……