Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
Version: 1.0
Version: 1.1
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
asset
RenderingMesh
Class RenderingMesh
渲染网格。
Hierarchy
RenderingMesh
Index
Constructors
constructor
Properties
_sub
Meshes
Accessors
sub
Mesh
Count
sub
Meshes
Methods
destroy
destroy
Sub
Meshes
get
Submesh
Constructors
constructor
new
Rendering
Mesh
(
_subMeshes
:
IRenderingSubmesh
[]
)
:
RenderingMesh
Parameters
_subMeshes:
IRenderingSubmesh
[]
Returns
RenderingMesh
Properties
Private
_sub
Meshes
_sub
Meshes
:
IRenderingSubmesh
[]
Accessors
sub
Mesh
Count
get
subMeshCount
(
)
:
number
渲染子网格的数目。
Returns
number
sub
Meshes
get
subMeshes
(
)
:
IRenderingSubmesh
[]
渲染子网格。
Returns
IRenderingSubmesh
[]
Methods
destroy
destroy
(
)
:
void
销毁此渲染网格,移除其所有渲染子网格。
Returns
void
destroy
Sub
Meshes
destroy
Sub
Meshes
(
)
:
void
销毁所有渲染子网格。
Returns
void
get
Submesh
get
Submesh
(
index
:
number
)
:
IRenderingSubmesh
获取指定的渲染子网格。
Parameters
index:
number
渲染子网格的索引。
Returns
IRenderingSubmesh
Globals
asset
Rendering
Mesh
constructor
_sub
Meshes
sub
Mesh
Count
sub
Meshes
destroy
destroy
Sub
Meshes
get
Submesh
Generated using
TypeDoc
渲染网格。