Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
WaterDirection
This Enum was once used to set the direction of Terrain water.
Deprecated: This item is deprecated. Do not use it for new work. Please see Terrain for a list of current function, events, and properties.
Items
| Name | Value | Description |
|---|---|---|
| NegX | 0 | The negative X-axis face direction of a voxel terrain water cell. |
| X | 1 | The positive X-axis face direction of a voxel terrain water cell. |
| NegY | 2 | The negative Y-axis face direction of a voxel terrain water cell. |
| Y | 3 | The positive Y-axis face direction of a voxel terrain water cell. |
| NegZ | 4 | The negative Z-axis face direction of a voxel terrain water cell. |
| Z | 5 | The positive Z-axis face direction of a voxel terrain water cell. |
NegX
The negative X-axis face direction of a voxel terrain water cell.
| Field | Value |
|---|---|
| value | 0 |
X
The positive X-axis face direction of a voxel terrain water cell.
| Field | Value |
|---|---|
| value | 1 |
NegY
The negative Y-axis face direction of a voxel terrain water cell.
| Field | Value |
|---|---|
| value | 2 |
Y
The positive Y-axis face direction of a voxel terrain water cell.
| Field | Value |
|---|---|
| value | 3 |
NegZ
The negative Z-axis face direction of a voxel terrain water cell.
| Field | Value |
|---|---|
| value | 4 |
Z
The positive Z-axis face direction of a voxel terrain water cell.
| Field | Value |
|---|---|
| value | 5 |