Scripting API

Scripting API

MaterialSlotName

Record in Abyss.Core, from Abyss.Core.

One of a model's materials, as the model's sidecar keeps it for the key the build writes of it: Addresses.Models.Door.Materials.Stone.

public record MaterialSlotName

Constructors

MaterialSlotName

public MaterialSlotName(string Label, string? Name)

One of a model's materials, as the model's sidecar keeps it for the key the build writes of it: Addresses.Models.Door.Materials.Stone.

Parameters

  • Label: Material0, what a load names it by after the model's path.
  • Name: What the model calls it; null for one it names nothing, which its Materials section calls by its label.

Properties

Label

public string Label { get; init; }

Material0, what a load names it by after the model's path.

Name

public string? Name { get; init; }

What the model calls it; null for one it names nothing, which its Materials section calls by its label.

Methods

Of

public static IReadOnlyList<MaterialSlotName> Of(ModelDescription described)

Every material of a model, in its order, as its import describes them.

Parameters

  • described