Skip to content

@relu-interactives/spatial-ecs


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

Function: collectDirectPrefabDependencies() ​

ts
function collectDirectPrefabDependencies(snapshot): string[];

Defined in: prefab/dependencies.ts:9

Direct (top-level-relative) prefab urls a document depends on — the edges of the nesting graph. Deeper nesting is reached transitively through each dependency's own file, never directly.

Parameters ​

ParameterType
snapshotSubtreeSnapshot

Returns ​

string[]