class
SceneObjectHierarchyDelta
Contains modifications between two scene object hierarchies.
The modifications are a set of added/removed children or components and per-field deltas of their components.
Public
Methods
staticCreate
Creates a new delta by recording changes present in , compared to .
Apply
Applies the delta to the provided object.
staticGetRttiStatic
Private
Methods
staticGenerateHierarchyDelta
Recursively generates differences between original and the modified version, for every scene object in the hierarchy.
staticGenerateSceneObjectDelta
Generates differences between the two provided scene objects.
If the object IDs match, a delta of their properties is recorded. If one of the scene objects is not valid, we record the relevant ID in the added or removed scene object list. Note this does not iterate over the child hierarchy. will be created if changes are found if not already created.
staticGenerateComponentDelta
Generates differences between components of the two provided scene objects.
If components with matching ids are found, a delta of their properties is recorded. Otherwise a component is registered in either the added or removed component list. will be created if changes are found, if not already created.