Skip to main content

Module inspector

Module inspector 

Source
Expand description

Inspector panel — property editor for any scene object.

The inspector reflects the fields of whichever entity/glyph is selected and lets the user edit them in real time. All edits produce SetPropertyCommand entries so they can be undone.

Structs§

AssetRefField
A reference to an asset by path / ID.
BoolField
A boolean checkbox field.
ClipboardEntry
A value that has been copied to the inspector clipboard.
ColorField
An RGBA colour picker.
ComponentInspector
Shows all components of the selected entity as foldable property groups.
EnumField
An enumeration drop-down.
FloatField
A floating-point number field.
ForceFieldInspector
Inspector section for force-field parameters.
GlyphInspector
Inspector section for a single glyph’s visual properties.
Inspector
The top-level inspector panel.
InspectorContext
Tracks dirty state, validation errors and the clipboard for copy/paste.
IntField
An integer spinner field.
ListField
A list of homogeneous values.
MapField
A key-value map field.
ParticleInspector
Inspector section for a particle emitter.
PropertyGroup
A named, foldable group of inspector entries.
ScriptField
A script file reference with an embedded source snippet.
ScriptInspector
Inspector for a script bound to an entity.
SearchBar
A text filter for property names.
SliderField
A value slider with explicit min/max bounds.
StringField
A text input field.
TransformInspector
Inspector section for position/rotation/scale.
Vec2Field
A 2-component vector field.
Vec3Field
A 3-component vector field.
Vec4Field
A 4-component vector field.

Enums§

InspectorEntry

Traits§

Inspectable
Implement this trait to make a type editable in the inspector.