private void DrawShipInfo(MyHudShipInfo info)
        {
            MyGuiDrawAlignEnum align = MyGuiDrawAlignEnum.HORISONTAL_RIGHT_AND_VERTICAL_BOTTOM;
            Color   color            = Color.White;
            Vector2 bgScale          = new Vector2(1.2f, 1.05f);

            var bgPos = new Vector2(0.99f, 0.99f);

            bgPos = ConvertHudToNormalizedGuiPosition(ref bgPos);
            var bg = MyGuiConstants.TEXTURE_HUD_BG_LARGE_DEFAULT;

            MyGuiManager.DrawSpriteBatch(bg.Texture, bgPos, bg.SizeGui * bgScale, color, align);

            //float scale = MyGuiConstants.HUD_TEXT_SCALE;
            var valuePos = bgPos - bg.PaddingSizeGui * bgScale;
            var namePos  = bgPos - bgScale * new Vector2(bg.SizeGui.X - bg.PaddingSizeGui.X, bg.PaddingSizeGui.Y);

            info.Data.DrawBottomUp(namePos, valuePos, m_textScale);
        }
        private void DrawShipInfo(MyHudShipInfo info)
        {
            MyGuiDrawAlignEnum align = MyGuiDrawAlignEnum.HORISONTAL_RIGHT_AND_VERTICAL_BOTTOM;
            Color color = Color.White;
            Vector2 bgScale = new Vector2(1.2f, 1.05f);

            var bgPos = new Vector2(0.99f, 0.99f);
            bgPos = ConvertHudToNormalizedGuiPosition(ref bgPos);
            var bg = MyGuiConstants.TEXTURE_HUD_BG_LARGE_DEFAULT;
            MyGuiManager.DrawSpriteBatch(bg.Texture, bgPos, bg.SizeGui * bgScale, color, align);

            //float scale = MyGuiConstants.HUD_TEXT_SCALE;
            var valuePos = bgPos - bg.PaddingSizeGui * bgScale;
            var namePos = bgPos - bgScale * new Vector2(bg.SizeGui.X - bg.PaddingSizeGui.X, bg.PaddingSizeGui.Y);

            info.Data.DrawBottomUp(namePos, valuePos, m_textScale);
        }