Scripting API

Scripting API

MaterialId

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

The id of a material the engine created. See MeshId.

public readonly record struct MaterialId

Constructors

MaterialId

public MaterialId(ulong Value)

The id of a material the engine created. See MeshId.

Parameters

  • Value: The engine's id.

Properties

Value

public ulong Value { get; init; }

The engine's id.

RunsShader

public bool RunsShader { get; }

Whether it runs a game's shader, rather than Bevy's own surface: the only kind a UI element is drawn with.

Methods

ToString

public override string ToString()

The id as a person reads it: material 3.