Skip to content

@relu-interactives/spatial-ecs


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

Type Alias: SerializeEntitySubtreeResult ​

ts
type SerializeEntitySubtreeResult = {
  snapshot: SubtreeSnapshot;
  warnings: ExternalRefWarning[];
  strippedComponents: string[];
};

Defined in: prefab/serializeEntitySubtree.ts:23

Properties ​

PropertyTypeDescriptionDefined in
snapshotSubtreeSnapshot-prefab/serializeEntitySubtree.ts:24
warningsExternalRefWarning[]References that pointed OUTSIDE the subtree and were nulled out (ids are LIVE world ids so callers can name the offending entities). The root's own external parent link is nulled silently — it is expected.prefab/serializeEntitySubtree.ts:30
strippedComponentsstring[]Component types stripped because they are scene singletons.prefab/serializeEntitySubtree.ts:32