Example #1
0
        public bool RemoveNextStoragePlane()
        {
            if (storagePlanes.Count == 0)
            {
                return(false);
            }
            PlaneView view = storagePlanes[storagePlanes.Count - 1];

            view.PlaneNode.SetVisible(false);


            if (EngineConfig.DisplayBoundingQuadrangles)
            {
                ViewHelper.DetachQuadrangles(sceneMgr, view.Plane);
            }

            storagePlanes.RemoveAt(storagePlanes.Count - 1);
            return(true);
        }