Scripting API

Scripting API

ModelMesh

Record in Abyss.Core.Scenes, from Abyss.Core.

One mesh of a model: a primitive or several, each drawn with a material of its own.

public record ModelMesh

Constructors

ModelMesh

public ModelMesh(string? Name, IReadOnlyList<ModelPrimitive> Primitives)

One mesh of a model: a primitive or several, each drawn with a material of its own.

Parameters

  • Name: What the file calls it.
  • Primitives: Its primitives, in its order.

Properties

Name

public string? Name { get; init; }

What the file calls it.

Primitives

public IReadOnlyList<ModelPrimitive> Primitives { get; init; }

Its primitives, in its order.