Click or drag to resize

GraphAddNode Method (Single, Single, Single)

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
C#
public Node AddNode(
	float x,
	float y,
	float z
)

Parameters

x
Type: SystemSingle
X coordinate.
y
Type: SystemSingle
Y coordinate.
z
Type: SystemSingle
Z coordinate.

Return Value

Type: Node
The reference of the new node / null if the node is already in the graph.
See Also