public void Reset() { Clear(); var curveTool = Services.Get <CurveTool.CurveTool>(); if (curveTool != null) { curveTool.Enabled = false; } RenderGroups.Add(renderGroup); shadowCasterGroups.Add(shadowCasterGroup); IdGroups.Add(renderGroup); }
public void Clear() { //System.Console.WriteLine("\n------ SceneManager.Clear() -------------------------------------------------"); if (Configuration.physics) { ResetPhysics(); } updateOncePerFrame.Clear(); updateFixedStep.Clear(); renderGroup.Clear(); renderGroups.Clear(); reflectedGroup.Clear(); aoReceivers.Clear(); aoOccluders.Clear(); shadowCasterGroup.Clear(); renderGroups.Clear(); shadowCasterGroups.Clear(); IdGroups.Clear(); floorModel = null; UpdateShadowMap = true; }