Table of Contents

Class ModelMeshPartContent

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Processors
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

IndexCollection

Material

Gets the material of this mesh part.

public MaterialContent Material { get; set; }

Property Value

MaterialContent

NumVertices

Gets the number of vertices used in this mesh part.

public int NumVertices { get; }

Property Value

int

PrimitiveCount

Gets the number of primitives to render for this mesh part.

public int PrimitiveCount { get; }

Property Value

int

StartIndex

Gets the location in the index buffer at which to start reading vertices.

public int StartIndex { get; }

Property Value

int

Tag

Gets a user-defined tag object.

public object Tag { get; set; }

Property Value

object

VertexBuffer

Gets the collection of vertices for this mesh part.

public VertexBufferContent VertexBuffer { get; }

Property Value

VertexBufferContent

VertexOffset

Gets the offset from the start of the index buffer to the first vertex index.

public int VertexOffset { get; }

Property Value

int