Skip to content

Class ModelData

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

A glTF file, flattened: the meshes the default scene uses, where they are, their materials and textures, and its lights.

public sealed class ModelData

Inheritance

object ← ModelData

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

BoundsMax

public required Vector3 BoundsMax { get; init; }

Property Value

Vector3

BoundsMin

The box around every instance, in world space.

public required Vector3 BoundsMin { get; init; }

Property Value

Vector3

Instances

public required IReadOnlyList<MeshInstance> Instances { get; init; }

Property Value

IReadOnlyList<MeshInstance>

Lights

public required IReadOnlyList<LightData> Lights { get; init; }

Property Value

IReadOnlyList<LightData>

Materials

public required IReadOnlyList<MaterialData> Materials { get; init; }

Property Value

IReadOnlyList<MaterialData>

Meshes

public required IReadOnlyList<MeshData> Meshes { get; init; }

Property Value

IReadOnlyList<MeshData>

Name

public required string Name { get; init; }

Property Value

string

Textures

public required IReadOnlyList<TextureData> Textures { get; init; }

Property Value

IReadOnlyList<TextureData>