public override Rectangle GetFrameUV(int i) { if (FrameSize == Vector2.Zero) { return(Rectangle.Empty); } // Legacy class can static method that can compute this for us. // In the future this function should be moved here. return(AnimatedTexture.GetGridFrameBounds(TextureSize, FrameSize, Spacing, i)); }