コード例 #1
0
 public static double FromFrames(double frames, double frameRate)
 {
     TimeUtility.ValidateFrameRate(frameRate);
     return(frames / frameRate);
 }
コード例 #2
0
 public static bool OnFrameBoundary(double time, double frameRate)
 {
     return(TimeUtility.OnFrameBoundary(time, frameRate, Math.Max(time, 1.0) * frameRate * TimeUtility.kTimeEpsilon));
 }
コード例 #3
0
 public static double ToExactFrames(double time, double frameRate)
 {
     TimeUtility.ValidateFrameRate(frameRate);
     return(time * frameRate);
 }