# Enum.WaterDirection

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/WaterDirection/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/WaterDirection

This Enum was once used to set the direction of [`Terrain`](https://rapi.sleaze.dev/classes/Terrain.md) water.

## 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. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [Terrain](https://rapi.sleaze.dev/classes/Terrain.md): method parameter `SetWaterCell`
