public void AddToMergeBatch(IMyClipmapCell cell) { var cellProxy = (MyClipmapCellProxy)cell; if (m_mergeHandler != null) { m_mergeHandler.OnAddedToScene(cellProxy); } }
public void AddToScene(IMyClipmapCell cell) { var cellProxy = cell as MyClipmapCellProxy; Debug.Assert(cellProxy != null, "Adding wrong type of clipmap cell to scene!"); if (cellProxy != null) { cellProxy.SetVisibility(true); m_mergeHandler.OnAddedToScene(cellProxy); } }