new Diff(json)
Store difference between two following states (state(t) + diff(t,t+1) = state(t+1))
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
json | object | json to configure diff Properties
  | 
- Source
 
Members
nextStateObjectsUUID :Array.<string>
uuids object3D present in state(t+1)
Type:
- Array.<string>
 
- Source
 
objects3DToUpdateJSON :Object.<string, object>
map uuid object3D to object3D json where outdated (model has changed)
Type:
- Object.<string, object>
 
- Source
 
timestamp :number
time of state(t+1)
Type:
- number
 
- Source
 
Methods
getNextStateObjectsUUID() → {Array.<string>}
- Source
 
Returns:
- diff next state object3D uuid
 
- Type:
 - Array.<string>
 
getObjects3DToUpdateJSON() → {Object.<string, object>}
- Source
 
Returns:
- diff objects3D to update
 
- Type:
 - Object.<string, object>
 
getTimeStamp() → {number}
- Source
 
Returns:
- dif timestamp
 
- Type:
 - number