public static float GetPercent(this TimelineClip self, double globalTime) { return((float)(self.GetLocalTime(globalTime) / self.duration)); }