public void RemoveFromScene()
        {
            RemoveRodsFromScene();

            // remove boundary point markers from scene
            points.RemoveFromScene();

            inScene = false;
        }
Beispiel #2
0
        public void RemoveFromScene()
        {
            if (inScene)
            {
                inScene = false;

                points.RemoveFromScene();

                Axiom.SceneManagers.Multiverse.TerrainManager.Instance.RemoveRoad(road);

                road.Dispose();
                road = null;
            }
        }