Class SubMesh
Defined in: Mesh.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SubMesh(mesh)
|
Method Attributes | Method Name and Description |
---|---|
render(meshNode, renderQueue, camera)
|
|
setIndexBufferData(data)
|
|
setMaterial(material)
|
|
setVertexBufferData(name, data)
|
|
setVertexCount(vertexCount)
|
Method Detail
render(meshNode, renderQueue, camera)
- Parameters:
- meshNode
- renderQueue
- camera
setIndexBufferData(data)
- Parameters:
- data
setMaterial(material)
- Parameters:
- material
setVertexBufferData(name, data)
- Parameters:
- name
- data
setVertexCount(vertexCount)
- Parameters:
- vertexCount