Summary
The data, ordered in a Dictionary by the hash (TimeAgent.guid + dataId) to optimize the performances.
Then each entry contains the ordered list of data for each tick.
Data will be stored this way (pseudo-code) :
Dictionary
[hashForTickDeltaTimes] = [ {Value=0, DeltaTime=0, origin=Record, Type=float}, {Value=0.005, DeltaTime=0.005, origin=Record, Type=float}, {Value=0.005, DeltaTime=0.005, origin=Record, Type=float} ]
[hashForComponent1Position] = [ {Value={1,0,1}, DeltaTime=0, origin=Record, Type=Vector3}, {Value=1,1,1, DeltaTime=0.005, origin=Record, Type=Vector3}, {Value=1,2,1, DeltaTime=0.005, origin=Record, Type=Vector3} ]
[hashForComponent2Position] = [...]
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .TimeData - Containing Type
- TimeLine
Syntax
public readonly Dictionary<int, List<TimeLine.TimeData>> TimeLineData