public static int GetFrameIndex(SpriteAnimation anim, float animationTime) { float t = 0f; return(GetFrameIndex(anim, animationTime, out t)); }