A set of meshes can be used to create a Model via the ModelBuilder class.
Mesh |
Bounds | Sets AABB bounds for this mesh. |
HasIndexBuffer | Whether this mesh has an index buffer. |
HasVertexBuffer | Whether this mesh has a vertex buffer. |
IndexCount | Number of indices this mesh has. |
IsValid | |
Material | Sets material for this mesh. |
PrimitiveType | Sets the primitive type for this mesh. |
UvDensity | Used to calculate texture size for texture streaming. |
VertexCount | Number of vertices this mesh has. |
CreateBuffers | Create vertex and index buffers. |
CreateIndexBuffer | Create an empty index buffer, it can be resized later |
CreateVertexBuffer | Create an empty vertex buffer, it can be resized later |
LockIndexBuffer | Lock all the memory in this buffer so you can write to it |
LockVertexBuffer | |
SetIndexBufferData | |
SetIndexBufferSize | Resize the index buffer. |
SetIndexRange | Set how many indices this mesh draws |
SetVertexBufferData | |
SetVertexBufferSize | Resize the vertex buffer |
SetVertexRange | Set how many vertices this mesh draws (if there's no index buffer) |
TriangulatePolygon |