Scripting API

Scripting API

FieldKind

Enum in Abyss.Core, from Abyss.Core.

What kind of value a component field holds.

public enum FieldKind

Values

NameValueDescription
F32032-bit float.
F64164-bit float.
I322Signed 32-bit integer.
U323Unsigned 32-bit integer.
I644Signed 64-bit integer.
U645Unsigned 64-bit integer.
U86A byte.
Bool7A one-byte boolean.
Entity8An entity, as the number C# knows one by: what Entity::to_bits gives, read as a ulong. Read, never written — a parent is the engine's to set, through commands that keep the hierarchy whole — so Encode refuses one and no view of one is writable. Only the engine's own components hold one: Bevy's ChildOf, whose 0 is the parent.
I89Signed 8-bit integer.
I1610Signed 16-bit integer.
U1611Unsigned 16-bit integer.
Text12A SharedText: the handle, eight bytes, of a string the engine keeps. Read and written as its handle's number; never a curve's or a condition's number, and carried by a rebuild only onto a text or a fixed text's bytes.