Skip to content

Class MeshData

Namespace: Apogee.Content
Assembly: Apogee.Content.dll

One glTF primitive: triangles with one material.

public sealed class MeshData

Inheritance

object ← MeshData

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

Vector3

BoundsMin

public Vector3 BoundsMin { get; }

Property Value

Vector3

Indices

public uint[] Indices { get; }

Property Value

uint[]

MaterialIndex

public int MaterialIndex { get; }

Property Value

int

Name

public string Name { get; }

Property Value

string

Vertices

public Vertex[] Vertices { get; }

Property Value

Vertex[]