GraphAddNode Method (Single, Single, Single, Int32, Int32) |
Creates a node, adds to the graph and returns its reference.
Namespace:
Pathfinding
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public Node AddNode(
float x,
float y,
float z,
int id,
int[] ignore
)
Parameters
- x
- Type: SystemSingle
X coordinate. - y
- Type: SystemSingle
Y coordinate. - z
- Type: SystemSingle
Z coordinate. - id
- Type: SystemInt32
Id of the node - ignore
- Type: SystemInt32
Return Value
Type:
NodeThe reference of the new node / null if the node is already in the graph.
See Also