Exemple #1
0
        internal void AddSelectedNode(Node node)
        {
            if (MaxSelectedNodeCount <= SelectedNodeCount) return;

            selectedNodes[SelectedNodeCount++] = new CDLODSelectedNode
            {
                X = node.X,
                Y = node.Y,
                MinHeight = node.MinHeight,
                MaxHeight = node.MaxHeight,
                Size = node.Size,
                Level = node.Level
            };
        }
Exemple #2
0
 public void GetSelectedNode(int index, out CDLODSelectedNode selectedNode)
 {
     selectedNode = selectedNodes[index];
 }