Class Mesh
[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
MeshThe mesh.
Mesh(MeshDraw, ParameterCollection)
Initializes a new instance of the Mesh class.
public Mesh(MeshDraw meshDraw, ParameterCollection parameters)
Parameters
meshDraw
MeshDrawThe mesh draw.
parameters
ParameterCollectionThe parameters.
Exceptions
- ArgumentNullException
parameters
Fields
BoundingBox
Gets or sets the bounding box encompassing this Mesh.
public BoundingBox BoundingBox
Field Value
BoundingSphere
Gets the bounding sphere
public BoundingSphere BoundingSphere
Field Value
Name
public string Name
Field Value
NodeIndex
Index of the transformation node in Model.
public int NodeIndex
Field Value
Skinning
public MeshSkinningDefinition Skinning
Field Value
Properties
Draw
public MeshDraw Draw { get; set; }
Property Value
MaterialIndex
public int MaterialIndex { get; set; }
Property Value
Parameters
public ParameterCollection Parameters { get; }