Extends
Methods
(static) add(x, y, z)
Create a node with the next available ID.
Parameters:
Name | Type | Description |
---|---|---|
x |
number |
The X coordinate of the node. |
y |
number |
The Y coordinate of the node. |
z |
number |
The Z coordinate of the node. |
(static) idFromCoords(x, y, z)
Find a node's ID from its coordinates.
Parameters:
Name | Type | Description |
---|---|---|
x |
number |
The x coordinate of the node whose ID to find. |
y |
number |
The y coordinate of the node whose ID to find. |
z |
number |
The z coordinate of the node whose ID to find. |