Skip to content

resolvePrefabRoots

resolvePrefabRoots(scene, read): Promise<(ref) => PrefabRoot | null>

Defined in: residency/cutWorld.ts:124

Read every prefab scene instances, and answer where each one’s root sits.

A synchronous lookup, resolved up front, because the partition is pure and one that could await inside it would not be. Both hosts come through here; they differ only in how the bytes are fetched.

SceneData

(ref) => Promise<unknown>

Promise<(ref) => PrefabRoot | null>