Esempio n. 1
0
 // Token: 0x0600002F RID: 47 RVA: 0x000026F4 File Offset: 0x000008F4
 public static long GetNearestTick(double time)
 {
     return(DiscreteTime.DoubleToDiscreteTime(time));
 }
Esempio n. 2
0
        // Token: 0x0600002D RID: 45 RVA: 0x000026AC File Offset: 0x000008AC
        public static double SnapToNearestTick(double time)
        {
            long time2 = DiscreteTime.DoubleToDiscreteTime(time);

            return(DiscreteTime.ToDouble(time2));
        }
Esempio n. 3
0
 // Token: 0x0600000D RID: 13 RVA: 0x000021B1 File Offset: 0x000003B1
 public DiscreteTime(int frame, double fps)
 {
     this.m_DiscreteTime = DiscreteTime.DoubleToDiscreteTime((double)frame * fps);
 }
Esempio n. 4
0
 // Token: 0x06000017 RID: 23 RVA: 0x00002384 File Offset: 0x00000584
 private static long IntToDiscreteTime(int time)
 {
     return(DiscreteTime.DoubleToDiscreteTime((double)time));
 }
Esempio n. 5
0
 // Token: 0x0600000A RID: 10 RVA: 0x00002184 File Offset: 0x00000384
 public DiscreteTime(double time)
 {
     this.m_DiscreteTime = DiscreteTime.DoubleToDiscreteTime(time);
 }