Skip to content

DiffOptions

Defined in: prefab/diff.ts:31

optional floatEpsilon?: number

Defined in: prefab/diff.ts:48

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:43

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:38

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).