SharpNav.NodePool.NodePool C# (CSharp) Метод

NodePool() публичный Метод

Initializes a new instance of the NodePool class.
public NodePool ( int maxNodes ) : System
maxNodes int The maximum number of nodes that can be stored
Результат System
        public NodePool(int maxNodes)
        {
            this.maxNodes = maxNodes;

            nodes = new List<NavNode>(maxNodes);
            nodeDict = new Dictionary<NavPolyId, NavNode>();
        }