正在准备搜索索引...
搜索索引不可用
LayaAir3引擎API
LayaAir3引擎API
laya/RenderDriver/WebGLDriver/3DRenderPass/BatchModule/WebGLMeshRenderBatchAgent
WebGLMeshRenderBatchAgent
类 WebGLMeshRenderBatchAgent
实现
IBatchModuleAgent
索引
构造函数
constructor
属性
_main
Batch
Queue
_shadow
Batch
Queue
_spot
Batch
Queue
方法
add
Render
Node
append
Render
Element
create
release
remove
Render
Node
set
Cull
Camera
set
Dir
Light
Cull
Info
set
Spot
Culling
Dir
update
Property
构造函数
constructor
new
WebGLMesh
Render
Batch
Agent
(
)
:
WebGLMeshRenderBatchAgent
返回
WebGLMeshRenderBatchAgent
属性
_main
Batch
Queue
_main
Batch
Queue
:
FastSinglelist
<
WebGLBatchQueue
>
_shadow
Batch
Queue
_shadow
Batch
Queue
:
FastSinglelist
<
WebGLBatchQueue
>
_spot
Batch
Queue
_spot
Batch
Queue
:
FastSinglelist
<
WebGLBatchQueue
>
方法
add
Render
Node
add
Render
Node
(
object
)
:
boolean
尝试添加渲染节点
参数
object
:
BaseRender
返回
boolean
append
Render
Element
append
Render
Element
(
cullMode
,
cullInfoIndex
,
context
)
:
IModuleAgentResource
添加渲染元素
参数
cullMode
:
BatchCullMode
cullInfoIndex
:
number
context
:
WebGLRenderContext3D
返回
IModuleAgentResource
create
create
(
)
:
void
创建
返回
void
release
release
(
)
:
void
释放
返回
void
remove
Render
Node
remove
Render
Node
(
object
)
:
boolean
尝试移除渲染节点
参数
object
:
BaseRender
返回
boolean
set
Cull
Camera
set
Cull
Camera
(
cameraCullInfo
)
:
void
设置相机裁剪信息
参数
cameraCullInfo
:
CameraCullInfo
[]
返回
void
set
Dir
Light
Cull
Info
set
Dir
Light
Cull
Info
(
directLightCullInfo
)
:
void
设置方向光裁剪信息
参数
directLightCullInfo
:
ShadowCullInfo
[]
返回
void
set
Spot
Culling
Dir
set
Spot
Culling
Dir
(
spotCullInfo
)
:
void
设置点光源裁剪信息
参数
spotCullInfo
:
CameraCullInfo
[]
返回
void
update
Property
update
Property
(
object
,
property
)
:
void
更新属性
参数
object
:
BaseRender
property
:
string
|
number
返回
void
Version
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
构造函数
constructor
属性
_main
Batch
Queue
_shadow
Batch
Queue
_spot
Batch
Queue
方法
add
Render
Node
append
Render
Element
create
release
remove
Render
Node
set
Cull
Camera
set
Dir
Light
Cull
Info
set
Spot
Culling
Dir
update
Property
LayaAir3引擎API
加载中……
尝试添加渲染节点