2 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

Deprecated

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

NameValueDescription
NegX0The negative X-axis face direction of a voxel terrain water cell.
X1The positive X-axis face direction of a voxel terrain water cell.
NegY2The negative Y-axis face direction of a voxel terrain water cell.
Y3The positive Y-axis face direction of a voxel terrain water cell.
NegZ4The negative Z-axis face direction of a voxel terrain water cell.
Z5The positive Z-axis face direction of a voxel terrain water cell.

NegX

The negative X-axis face direction of a voxel terrain water cell.

FieldValue
value0

X

The positive X-axis face direction of a voxel terrain water cell.

FieldValue
value1

NegY

The negative Y-axis face direction of a voxel terrain water cell.

FieldValue
value2

Y

The positive Y-axis face direction of a voxel terrain water cell.

FieldValue
value3

NegZ

The negative Z-axis face direction of a voxel terrain water cell.

FieldValue
value4

Z

The positive Z-axis face direction of a voxel terrain water cell.

FieldValue
value5