Method Contains
| Edit this page View SourceContains((int x, int y, int z))
Checks if a 3D index is within grid bounds.
Declaration
public bool Contains((int x, int y, int z) index)
Parameters
| Type | Name | Description |
|---|---|---|
| (int x, int y, int z) | index | The 3D index (x, y, z) to check. |
Returns
| Type | Description |
|---|---|
| bool | True if within bounds. |