Class InstancedMesh
Represents an instanced mesh containing material, vertex data, and other properties.
Inherited Members
Namespace: Genesis.Graphics
Assembly: Genesis.dll
Syntax
public class InstancedMesh
Constructors
InstancedMesh()
Initializes a new instance of the InstancedMesh class.
Declaration
public InstancedMesh()
Properties
Material
Gets or sets the material of the mesh.
Declaration
public Material Material { get; set; }
Property Value
Type | Description |
---|---|
Material |
Normals
Gets or sets the normals of the mesh.
Declaration
public float[] Normals { get; set; }
Property Value
Type | Description |
---|---|
float[] |
Propertys
Gets or sets additional properties for the mesh.
Declaration
public Dictionary<string, object> Propertys { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> |
TextureCords
Gets or sets the texture coordinates of the mesh.
Declaration
public float[] TextureCords { get; set; }
Property Value
Type | Description |
---|---|
float[] |
VertexColors
Gets or sets the vertex color data of the mesh.
Declaration
public float[] VertexColors { get; set; }
Property Value
Type | Description |
---|---|
float[] |
Vertices
Gets or sets the vertex data of the mesh.
Declaration
public float[] Vertices { get; set; }
Property Value
Type | Description |
---|---|
float[] |