Reference API Roblox

Engine API

Website

Related

Reference API Roblox

TerrainFace

Identifies which face direction of a terrain voxel a TerrainDetail object overrides.

Items 3

HistoryNameValueDescription
520Top0

The top (+Y) face of a terrain voxel.

520Side1

The horizontal (side) faces of a terrain voxel, perpendicular to the Y axis.

520Bottom2

The bottom (-Y) face of a terrain voxel.

Description

Identifies which face direction of a terrain voxel a TerrainDetail object targets. Terrain renders its top (+Y), side (horizontal), and bottom (-Y) faces independently; this enum lets each TerrainDetail child of a MaterialVariant declare which of those three surfaces it overrides.

History 4

Settings