Scripting API
Scripting API
FieldKind
Enum in Abyss.Core, from Abyss.Core.
What kind of value a component field holds.
public enum FieldKindValues
| Name | Value | Description |
|---|---|---|
F32 | 0 | 32-bit float. |
F64 | 1 | 64-bit float. |
I32 | 2 | Signed 32-bit integer. |
U32 | 3 | Unsigned 32-bit integer. |
I64 | 4 | Signed 64-bit integer. |
U64 | 5 | Unsigned 64-bit integer. |
U8 | 6 | A byte. |
Bool | 7 | A one-byte boolean. |
Entity | 8 | An 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. |
I8 | 9 | Signed 8-bit integer. |
I16 | 10 | Signed 16-bit integer. |
U16 | 11 | Unsigned 16-bit integer. |
Text | 12 | A 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. |
