Beispiel #1
0
    public void SetupTrackTimes()
    {
        var fcol = sdf.GetFloatCol("Elaptime");

        var(fmin, imin, fmax, imax) = sdf.GetMinMax <float>(fcol);
        //minTrackTime = fmin / avaSecpersec;
        minTrackTime = fmin;
        minTrackIdx  = imin;
        //maxTrackTime = fmax / avaSecpersec;
        maxTrackTime  = fmax;
        maxTrackIdx   = imax;
        totalTrackIdx = sdf.Nrow();
        Debug.Log($"Track {name} mintime:{minTrackTime} maxtime:{maxTrackTime} imin:{minTrackIdx} imax:{maxTrackIdx} nrow:{totalTrackIdx} avaSecpersec:{avaSecpersec}");
    }