Class ModelMesh
Represents a mesh of a 3D model.
Inherited Members
Namespace: Genesis.Graphics.Animation3D
Assembly: Genesis.dll
Syntax
public class ModelMesh
Constructors
ModelMesh()
Initializes a new instance of the ModelMesh class.
Declaration
public ModelMesh()
Fields
MaxBoneInfluence
Maximum number of bones influencing a vertex.
Declaration
public const int MaxBoneInfluence = 4
Field Value
Type | Description |
---|---|
int |
Properties
Indices
List of indices defining the geometry of the mesh.
Declaration
public List<int> Indices { get; set; }
Property Value
Type | Description |
---|---|
List<int> |
Material
Material applied to the mesh.
Declaration
public Material Material { get; set; }
Property Value
Type | Description |
---|---|
Material |
Name
Name of the mesh.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Propertys
Additional properties of the mesh.
Declaration
public Dictionary<string, object> Propertys { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> |
Vertices
List of vertices in the mesh.
Declaration
public List<vertex> Vertices { get; set; }
Property Value
Type | Description |
---|---|
List<vertex> |