Skip to content

DiffOptions

Defined in: prefab/diff.ts:28

optional floatEpsilon?: number

Defined in: prefab/diff.ts:45

Optional numeric tolerance for float equality checks. Defaults to 0 (exact equality). Raise to tame small FP drift from Transform math.


optional ignoreEntityNames?: readonly string[]

Defined in: prefab/diff.ts:40

Entity names whose children should be excluded from the diff entirely (useful for editor-only scaffolding entities).


optional ignoreMetadataKeys?: readonly string[]

Defined in: prefab/diff.ts:35

Metadata keys whose presence/value should not produce diffs. Editor selection markers, per-panel UI state, and prefab-tracking metadata that belongs on the instance root rather than the prefab itself typically live here (e.g. prefab:source, prefab:overrides).