private void DrawWheel(Vector2 position, float scale, Color color, float rotationAngle, float rotationSpeed) { const MyGuiDrawAlignEnum align = MyGuiDrawAlignEnum.HORISONTAL_CENTER_AND_VERTICAL_CENTER; var origin = new Vector2(0.5f, 0.5f); if (ManualRotationUpdate) { MyGuiManager.DrawSpriteBatch(m_texture, position, scale, color, align, rotationAngle, origin); } else { MyGuiManager.DrawSpriteBatchRotate(m_texture, position, scale, color, align, rotationAngle, origin, rotationSpeed); } }