コード例 #1
0
        public void AddToMergeBatch(IMyClipmapCell cell)
        {
            var cellProxy = (MyClipmapCellProxy)cell;

            if (m_mergeHandler != null)
            {
                m_mergeHandler.OnAddedToScene(cellProxy);
            }
        }
コード例 #2
0
        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);
            }
        }