public override bool Draw(MyRenderObject renderObject) { bool draw = base.Draw(renderObject); if (draw && m_hologramState != HologramState.Deactivated) { Vector3 maxScale = MyHologramConstants.FLICKER_MAX_SIZE * Vector3.One; Vector3 minScale = new Vector3(.01f); Vector3 clampedScale = Vector3.Clamp(m_scale, minScale, maxScale); m_hologramShip.SetWorldMatrix(Matrix.CreateScale(clampedScale) * m_hologramBaseMatrix); m_hologramShip.Draw(); } return(draw); }