TimeLine.

GetClosestDataAtTime<T>(float, Guid, string) Method

Summary

Get the closest Data at given time

Syntax

public TimeLine.TimeData<T> GetClosestDataAtTime<T>(float time, Guid timeAgentGuid, string dataId)

Type Parameters

Name Description
T The generic type of the searched data

Parameters

Name Type Description
time float The searched time
timeAgentGuid Guid The search TimeAgent's guid
dataId string The searched dataId

Return Value

Type Description
TimeLine.TimeData<T> The closest data for the time or generic type default if data don't exist