Skip to content

Intermact API Reference / @intermact/react / Inspector

Function: Inspector()

Inspector(__namedParameters): Element

Defined in: react/src/components/Inspector.tsx:19

Dev-time Inspector overlay (design.md §16). A DOM panel over the WebGL canvas that surfaces the scene registry, each object's live runtime state, the currently active timeline tracks, and the reactive dependency graph. Selecting a row highlights that object's world-space bounds via an SVG overlay.

Bounds projection assumes the default contain fit; pass fit to match a custom viewport fit.

Parameters

__namedParameters

built

BuiltProgram

fit?

NonNullable<"stretch" | "contain" | "cover" | undefined> = "contain"

Returns

Element

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)