Méthode | Description | |
---|---|---|
Clear ( ) : void |
Reset all the data.
|
|
FindNode ( NavPolyId id ) : |
Try to find a node.
|
|
GetNode ( NavPolyId id ) : |
Try to find the node. If it doesn't exist, create a new node.
|
|
GetNodeAtIdx ( int idx ) : |
Return a node at a certain index. If index is out-of-bounds, return null.
|
|
GetNodeIdx ( |
Gets the id of the node.
|
|
NodePool ( int maxNodes ) : System |
Initializes a new instance of the NodePool class.
|
public FindNode ( NavPolyId id ) : |
||
id | NavPolyId | Node's id |
Résultat |
public GetNode ( NavPolyId id ) : |
||
id | NavPolyId | Node's id |
Résultat |
public GetNodeAtIdx ( int idx ) : |
||
idx | int | Node index |
Résultat |
public GetNodeIdx ( |
||
node | The node | |
Résultat | int |
public NodePool ( int maxNodes ) : System | ||
maxNodes | int | The maximum number of nodes that can be stored |
Résultat | System |