expandEntry
此内容尚不支持你的语言。
expandEntry(
prefab,entry,allocateId,loadPrefab?):object
Defined in: prefab/sceneInstance.ts:287
Expand a scene instance entry into flat entities: flatten the asset + delta,
pin the instance root to the entry’s stable id (re-allocating only the
internal entities), and attach the root under the entry’s scene parent.
Parameters
Section titled “Parameters”prefab
Section titled “prefab”allocateId
Section titled “allocateId”() => number
loadPrefab?
Section titled “loadPrefab?”SyncPrefabResolver = NO_NESTED
Returns
Section titled “Returns”object
entities
Section titled “entities”entities:
ProcessedEntity[]
rootId
Section titled “rootId”rootId:
number