Editor model · interface
InspectorField
interface InspectorFieldimport type { InspectorField } from '@driftengine/editor';Properties
| Name | Type | Description |
|---|---|---|
group | string | What this field belongs to: a component's name, or transform for a node. |
label | string | The field's own name, as it was declared. |
type | string | The declared type, verbatim — f32, enum:Mood, Entity. |
kind | FieldKind | |
enumName | string | For enum, the name after the colon. Empty otherwise; this package has no variant list. |
optional | boolean | Whether the field is an option, which the store spells as an option: prefix. |
value | unknown | What the store holds, not a friendlier version of it.MoreA |