Scripting API

Scripting API

ImageId

Record struct in Abyss.Core, from Abyss.Core.

The id of an image the engine loaded or made. See MeshId.

public readonly record struct ImageId

Remarks

An image read off a disk is asked for rather than created: the id exists before the file has been read. World.StateOf is how you find out whether anything is in it yet. One made from pixels, with CreateImage, is there at once.

Constructors

ImageId

public ImageId(ulong Value)

The id of an image the engine loaded or made. See MeshId.

Parameters

  • Value: The engine's id.

An image read off a disk is asked for rather than created: the id exists before the file has been read. World.StateOf is how you find out whether anything is in it yet. One made from pixels, with CreateImage, is there at once.

Properties

Value

public ulong Value { get; init; }

The engine's id.

Methods

ToString

public override string ToString()

The id as a person reads it: image 3.