collapseEntry
此内容尚不支持你的语言。
collapseEntry(
prefab,prefabRef,expanded,rootId,sceneParent,loadPrefab?):PrefabInstanceEntry
Defined in: prefab/sceneInstance.ts:310
Collapse an expanded instance subtree (root rootId, attached under
sceneParent) back to a scene entry — the inverse of expandEntry.
Parameters
Section titled “Parameters”prefab
Section titled “prefab”prefabRef
Section titled “prefabRef”string
expanded
Section titled “expanded”readonly ProcessedEntity[]
rootId
Section titled “rootId”number
sceneParent
Section titled “sceneParent”number | null
loadPrefab?
Section titled “loadPrefab?”SyncPrefabResolver = NO_NESTED