TimeLine.

PersistTimeDataAt<T>(int, Guid, string, float, T, TimeStone.TimeTickOrigin, TimeStone.TimeLineAddTickBehaviour) Method

Summary

Persist new TimeData in the TimeLine.

Syntax

public void PersistTimeDataAt<T>(int index, Guid timeAgentGuid, string dataId, float deltaTime, T value, TimeStone.TimeTickOrigin origin, TimeStone.TimeLineAddTickBehaviour tickBehaviour)

Type Parameters

Name Description
T The generic type of the data persisted

Parameters

Name Type Description
index int The index where to persist
timeAgentGuid Guid The Guid of the timeAgent persisted
dataId string The dataId of the persisted data
deltaTime float The deltaTime
value T The value of the persisted data
origin TimeStone.TimeTickOrigin The origin of the data persistence, Record or Simulation
tickBehaviour TimeStone.TimeLineAddTickBehaviour The way the data will be added

Return Value

Type Description
void