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¶
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¶
BoundsMin¶
The box around every instance, in world space.
public required Vector3 BoundsMin { get; init; }
Property Value¶
Instances¶
public required IReadOnlyList<MeshInstance> Instances { get; init; }
Property Value¶
Lights¶
public required IReadOnlyList<LightData> Lights { get; init; }
Property Value¶
Materials¶
public required IReadOnlyList<MaterialData> Materials { get; init; }
Property Value¶
Meshes¶
public required IReadOnlyList<MeshData> Meshes { get; init; }
Property Value¶
Name¶
public required string Name { get; init; }
Property Value¶
Textures¶
public required IReadOnlyList<TextureData> Textures { get; init; }