Table of Contents

Class Mesh

Namespace
Stride.Rendering
Assembly
Stride.Rendering.dll
[DataContract]
public class Mesh
Inheritance
Mesh

Constructors

Mesh()

Initializes a new instance of the Mesh class.

public Mesh()

Mesh(Mesh)

Initializes a new instance of the Mesh class using a shallow copy constructor.

public Mesh(Mesh mesh)

Parameters

mesh Mesh

The mesh.

Mesh(MeshDraw, ParameterCollection)

Initializes a new instance of the Mesh class.

public Mesh(MeshDraw meshDraw, ParameterCollection parameters)

Parameters

meshDraw MeshDraw

The mesh draw.

parameters ParameterCollection

The parameters.

Exceptions

ArgumentNullException

parameters

Fields

BoundingBox

Gets or sets the bounding box encompassing this Mesh.

public BoundingBox BoundingBox

Field Value

BoundingBox

BoundingSphere

Gets the bounding sphere

public BoundingSphere BoundingSphere

Field Value

BoundingSphere

Name

public string Name

Field Value

string

NodeIndex

Index of the transformation node in Model.

public int NodeIndex

Field Value

int

Skinning

public MeshSkinningDefinition Skinning

Field Value

MeshSkinningDefinition

Properties

Draw

public MeshDraw Draw { get; set; }

Property Value

MeshDraw

MaterialIndex

public int MaterialIndex { get; set; }

Property Value

int

Parameters

public ParameterCollection Parameters { get; }

Property Value

ParameterCollection