Scripting API

Scripting API

MaterialAddress

Class in Abyss.Core, from Abyss.Core.

A material's key, which AssetAccess.LoadMaterial takes.

public sealed class MaterialAddress : AssetKey

Constructors

MaterialAddress

public MaterialAddress(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 MaterialAddress FromId(AssetGuid id)

The key of the file of the identity id: one saved, made again.

Parameters

  • id

Exceptions

  • ArgumentException: The identity is none.