/** * Selects the current translation key frame, based on the current time. * * @param currentTime beetween 0 and the end of the animation, in milliseconds * @return frame index selected */ public int selectCurrentTransFrame(long currentTime) { return (KeyFrame.searchNextFrame(transKeyFrames, currentTime)); }