Intermact API Reference / @intermact/core / Geometry3DTrait
Interface: Geometry3DTrait
Defined in: packages/core/src/object/traits.ts:140
3D renderable capability marker (design.md §4.2, §5.3). Mirrors the 2D stroke/fill traits so the animation/render layers dispatch on capabilities rather than concrete object types: Create reveal mode and grouping pick the right strategy from geometryKind instead of testing object.type. The actual buffers live on the GeometryProvider3D; this trait only states which channel is active.
Properties
geometryKind
readonlygeometryKind:"line"|"mesh"|"points"
Defined in: packages/core/src/object/traits.ts:143
Which 3D primitive channel the object exposes (renderer/Create dispatch).
kind
readonlykind:"geometry-3d"
Defined in: packages/core/src/object/traits.ts:141