Class MeshData¶
Namespace: Apogee.Content
Assembly: Apogee.Content.dll
One glTF primitive: triangles with one material.
public sealed class MeshData
Inheritance¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
MeshData(string, Vertex[], uint[], int, Vector3, Vector3)¶
One glTF primitive: triangles with one material.
public MeshData(string name, Vertex[] vertices, uint[] indices, int materialIndex, Vector3 boundsMin, Vector3 boundsMax)
Parameters¶
name string
vertices Vertex[]
indices uint[]
materialIndex int
boundsMin Vector3
boundsMax Vector3
Properties¶
BoundsMax¶
public Vector3 BoundsMax { get; }
Property Value¶
BoundsMin¶
public Vector3 BoundsMin { get; }
Property Value¶
Indices¶
public uint[] Indices { get; }
Property Value¶
uint[]
MaterialIndex¶
public int MaterialIndex { get; }
Property Value¶
Name¶
public string Name { get; }
Property Value¶
Vertices¶
public Vertex[] Vertices { get; }
Property Value¶
Vertex[]