RenderInspectable
Defined in: packages/renderer/src/internal/renderFacet.ts:45
Renderer-internal contract a graphical component implements to publish its render facet. RenderFacetContributor duck-types this off each component when building an Inspector snapshot.
Methods
Section titled “Methods”inspectRender()
Section titled “inspectRender()”inspectRender():
object
Defined in: packages/renderer/src/internal/renderFacet.ts:46
Returns
Section titled “Returns”bounds
Section titled “bounds”bounds: {
height:number;width:number;x:number;y:number; } |null
Axis-aligned bounding box of the component’s geometry, in world space (the
same coordinate space the Inspector reports for entity.transform — pixels,
before camera/viewport projection). Measured from the geometry itself, so a
sized-but-hidden object still reports its real box; null means there is no
measurable geometry at all (an empty Graphics, a zero-area object), NOT
that the object is hidden. Read RenderFacetSnapshot.visible for the
hidden/shown state.
visible
Section titled “visible”visible:
boolean
The component’s own (local, non-inherited) visibility flag at snapshot time. A hidden ancestor (e.g. a parent/layer container set invisible) is NOT folded in — read the relevant parent separately if you need the fully resolved on-screen state.