Click or drag to resize
Ab4d.SharpEngine logo

MeshModelNodeSetCustomVertexBuffer Method

Overload List
 NameDescription
Public methodSetCustomVertexBuffer(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>.
Public methodSetCustomVertexBuffer(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