Table of Contents

Class ModelMeshPart

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll
public sealed class ModelMeshPart
Inheritance
ModelMeshPart
Inherited Members

Constructors

ModelMeshPart()

Using this constructor is strongly discouraged. Adding meshes to models at runtime is not supported and may lead to NullReferenceExceptions if parent is not set.

[Obsolete("This constructor is deprecated and will be made internal in a future release.")]
public ModelMeshPart()

Properties

Effect

public Effect Effect { get; set; }

Property Value

Effect

IndexBuffer

public IndexBuffer IndexBuffer { get; set; }

Property Value

IndexBuffer

NumVertices

public int NumVertices { get; set; }

Property Value

int

PrimitiveCount

public int PrimitiveCount { get; set; }

Property Value

int

StartIndex

public int StartIndex { get; set; }

Property Value

int

Tag

public object Tag { get; set; }

Property Value

object

VertexBuffer

public VertexBuffer VertexBuffer { get; set; }

Property Value

VertexBuffer

VertexOffset

public int VertexOffset { get; set; }

Property Value

int