Click or drag to resize
Ab4d.SharpEngine logo

TriangleMeshTSetCustomVertexBuffer Method

Overload List
 NameDescription
Public methodSetCustomVertexBuffer(T, GpuBuffer, VertexBufferDescription) SetCustomVertexBuffer can be used to change the Vertices and the vertex buffer that is used to render the mesh. 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.
Public methodSetCustomVertexBuffer(T, GpuBuffer, BoundingBox, VertexBufferDescription) SetCustomVertexBuffer can be used to change the Vertices and the vertex buffer that is used to render the mesh.
Top
See Also