Skip to content

@relu-interactives/spatial-ecs


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

Type Alias: RemapSnapshotOptions ​

ts
type RemapSnapshotOptions = {
  externalRefPolicy?: "null" | "keep";
};

Defined in: prefab/snapshotIdUtils.ts:35

Properties ​

PropertyTypeDescriptionDefined in
externalRefPolicy?"null" | "keep"What to do with references to entities NOT present in the id map: - "null": replace the reference with null and record a warning (prefab-file serialization — external refs must not leak). - "keep": leave the raw id untouched and record a warning. Default: "keep".prefab/snapshotIdUtils.ts:43