public static double FromFrames(double frames, double frameRate) { TimeUtility.ValidateFrameRate(frameRate); return(frames / frameRate); }
public static bool OnFrameBoundary(double time, double frameRate) { return(TimeUtility.OnFrameBoundary(time, frameRate, Math.Max(time, 1.0) * frameRate * TimeUtility.kTimeEpsilon)); }
public static double ToExactFrames(double time, double frameRate) { TimeUtility.ValidateFrameRate(frameRate); return(time * frameRate); }