Builtin Library
README.md
entityOps shared
Cross-tool helpers for the entityOps toolbox — the pieces more than
one of its tools reuse.
- Entity resolution —
resolveEntity/resolveTargets/toListturn a name / id / proxy /scene.findrecord (single or a list) into live entity proxies, raising a legible error on anything that doesn't match. - Subtree removal —
collectDescendants/despawnSubtreeremove an entity and its whole subtree, raising rather than leaving a half-removed tree behind. - Slot capture —
captureSlotsnapshots the parent + local transform- name + sync flag an entity occupies, so a replacement can take its exact place.
- Asset resolution —
resolveAssetturns a caller's name / path / identity string (or an already-resolved AssetRef) into a resolved asset, reporting the canonical identity/path it hit, optionally limited to one asset category.
Tools are thin wrappers over these; the helpers call the engine APIs.