Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / ADDED_NODE_MARKER_COMPONENT

Variable: ADDED_NODE_MARKER_COMPONENT ​

ts
const ADDED_NODE_MARKER_COMPONENT: "+node" = "+node";

Defined in: prefab/nodeKeys.ts:31

Reserved override "component" marking a node ADDED by the host document inside a nested instance region ("<nodeKey>|+node|"). File patching trusts stored overrides (the old base is unavailable), so without the marker a host-authored node inside the region would be indistinguishable from a node the child prefab removed — and get deleted.