collectExternalEntityRefs
collectExternalEntityRefs(
entities):ExternalEntityRef[]
Defined in: prefab/sceneInstance.ts:567
List the entity-ref fields in a subtree that point OUTSIDE it — the refs that extractPrefab will clear. The editor calls this before “Create Prefab” to warn the user (or let them cancel) rather than silently dropping links.
Parameters
Section titled “Parameters”entities
Section titled “entities”readonly ExtractEntity[]