Scripting API

Scripting API

MeshAddress

Class in Abyss.Core, from Abyss.Core.

The key of a part of a model's mesh — what is drawn with one of its materials — on the model's key, Addresses.Models.Door.Meshes.Frame, which AssetAccess.LoadMesh takes.

public sealed class MeshAddress : AssetKey

Constructors

MeshAddress

public MeshAddress(string address, string? id = null)

A key for the asset at address, of the identity id.

Parameters

  • address: What it is loaded by: scenes/moons.scene, fox#Walk.
  • id: Its identity, as its sidecar writes it; null for none, when it is found by its address alone.

Methods

FromId

public static MeshAddress FromId(AssetGuid id, string label)

The key of the part label, Mesh0/Primitive0, of the model of the identity id, one saved, made again.

Parameters

  • id
  • label

Exceptions

  • ArgumentException: The identity is none, or the label is empty.