internal static void Deregister(MyFoliageComponent component)
 {   
     m_pendingComponentsToInit.Remove(component);
     if (component.m_btreeProxy != -1)
     {
         MyScene.FoliageDBVH.RemoveProxy(component.m_btreeProxy);
     }
 }
Exemple #2
0
 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);
 }
Exemple #4
0
 internal static void Register(MyFoliageComponent component)
 {
     component.m_btreeProxy = -1;
     m_pendingComponentsToInit.Add(component);
 }