Class ModelMeshPartContent
- Assembly
- MonoGame.Framework.Content.Pipeline.dll
Stores design-time data for a ModelMeshPart asset.
public sealed class ModelMeshPartContent
- Inheritance
-
ModelMeshPartContent
- Inherited Members
Properties
IndexBuffer
Gets the collection of indices for this mesh part.
public IndexCollection IndexBuffer { get; }
Property Value
Material
Gets the material of this mesh part.
public MaterialContent Material { get; set; }
Property Value
NumVertices
Gets the number of vertices used in this mesh part.
public int NumVertices { get; }
Property Value
PrimitiveCount
Gets the number of primitives to render for this mesh part.
public int PrimitiveCount { get; }
Property Value
StartIndex
Gets the location in the index buffer at which to start reading vertices.
public int StartIndex { get; }
Property Value
Tag
Gets a user-defined tag object.
public object Tag { get; set; }
Property Value
VertexBuffer
Gets the collection of vertices for this mesh part.
public VertexBufferContent VertexBuffer { get; }
Property Value
VertexOffset
Gets the offset from the start of the index buffer to the first vertex index.
public int VertexOffset { get; }