internal static void Deregister(MyFoliageComponent component) { m_pendingComponentsToInit.Remove(component); if (component.m_btreeProxy != -1) { MyScene.FoliageDBVH.RemoveProxy(component.m_btreeProxy); } }
internal static void Register(MyFoliageComponent component) { component.m_btreeProxy = -1; m_pendingComponentsToInit.Add(component); }