//protected MyGuiControlEntityUse(IMyGuiControlsParent parent, Vector2 size, MyEntity entity)
        //    : base(parent, Vector2.Zero, size, Vector4.One, new StringBuilder(entity.DisplayName), MyGuiManager.GetHubItemBackground()) 
        //{
        //    m_entity = entity;
        //    m_topLeftPosition = -m_size.Value / 2f + new Vector2(0.025f, 0.025f);
        //    Controls.Add(new MyGuiControlLabel(this, m_topLeftPosition + new Vector2(0.063f, 0.0f), null, GetEntityName(entity), MyGuiConstants.LABEL_TEXT_COLOR, MyGuiConstants.LABEL_TEXT_SCALE, MyGuiDrawAlignEnum.HORISONTAL_LEFT_AND_VERTICAL_CENTER, MyGuiManager.GetFontMinerWarsBlue()));
        //    LoadControls();
        //}

        //protected MyGuiControlEntityUse(IMyGuiControlsParent parent, Vector2 size, MyEntity entity, MyTexture2D texture):this(parent,size,entity)
        //{
        //    m_texture = texture;
        //}

        protected MyGuiControlEntityUse(IMyGuiControlsParent parent, Vector2 size, MyEntity entity)
            : this(parent, size, entity, MyGuiObjectBuilderHelpers.GetGuiHelper(entity.GetObjectBuilder(true)).Icon)
        {            
        }
 public ObjectBuilderCreate(MyEntity entity, bool getExactCopy = false)
 {
     Matrix = entity.WorldMatrix;
     ObjectBuilder = entity.GetObjectBuilder(getExactCopy);
 }