Skip to main content

Module inspector

Module inspector 

Source
Expand description

Runtime inspector, variable monitor, and in-game command registry.

The inspector provides:

  • InspectorValue — a tagged-union value type for inspector fields
  • Inspectable trait — objects that can expose and receive inspector fields
  • RuntimeInspector — a registry of named inspectable objects
  • InspectorWatcher — polls for field changes between frames
  • VariableMonitor — floating debug table of per-frame named values
  • CommandRegistry — simple in-game console command registry

Structs§

CommandRegistry
A simple in-game console command registry.
FieldDiff
A compact summary of differences between two field snapshots.
InspectorField
A single named field exposed by an Inspectable object.
InspectorHistory
Records inspector field snapshots over time for undo/redo capability.
InspectorWatcher
Stores last-seen field values for a registered object and detects changes.
RuntimeInspector
Registry of named runtime objects that can be inspected and modified.
VariableMonitor
A lightweight per-frame named-variable display.
Vec2
A 2-component float vector.
Vec3
A 3-component float vector.
Vec4
A 4-component float vector.

Enums§

InspectorValue
A dynamically-typed value for use in the inspector UI.

Traits§

Inspectable
Objects that can expose their fields to the runtime inspector.