|  | 
| MeshModelNode Class | 
 Inheritance Hierarchy
Inheritance Hierarchy Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
 Syntax
Syntaxpublic class MeshModelNode : ModelNode
The MeshModelNode type exposes the following members.
 Constructors
Constructors Properties
Properties|  | Name | Description | 
|---|
|  | Mesh | Gets or sets a mesh that defined this SceneNode. | 
Top Methods
Methods|  | Name | Description | 
|---|
|  | DisposeWithMeshAndMaterial | DisposeWithMeshAndMaterial first disposes the Mesh object and then calls the DisposeWithMaterial(Boolean) method to dispose the materials and SceneNode. | 
|  | OnUpdate | OnUpdate (Overrides ModelNodeOnUpdate)
 | 
|  | SetCustomIndexBuffer(Int32, GpuBuffer, Int32, Int32, IndexType) | Sets the TriangleIndices and a custom index buffer that is used to render this MeshModelNode. | 
|  | SetCustomIndexBuffer(Int32, GpuBuffer, BoundingBox, Int32, Int32, IndexType) | Sets the TriangleIndices and a custom index buffer that is used to render this MeshModelNode. | 
|  | SetCustomVertexBuffer(PositionNormalTextureVertex, GpuBuffer, VertexBufferDescription) | SetCustomVertexBuffer can be used to change the vertices and the vertex buffer that is used to render this MeshModelNode.
            This method also recalculates the bounding box of the mesh based on the new vertices. To prevent this, also pass the existing bounding box as a parameter.
            This method can be called only when Mesh is StandardMesh or TriangleMesh<PositionNormalTextureVertex>. | 
|  | SetCustomVertexBuffer(PositionNormalTextureVertex, GpuBuffer, BoundingBox, VertexBufferDescription) | SetCustomVertexBuffer can be used to change the vertices and the vertex buffer that is used to render this MeshModelNode.
            This method can be called only when Mesh is StandardMesh or TriangleMesh<PositionNormalTextureVertex>. | 
Top See Also
See Also