TerrainFace
Identifies which face direction of a terrain voxel a TerrainDetail object overrides.
Items 3
| History | Name | Value | Description | |
|---|---|---|---|---|
| 520 | Top | 0 | The top (+Y) face of a terrain voxel. | |
| 520 | Side | 1 | The horizontal (side) faces of a terrain voxel, perpendicular to the Y axis. | |
| 520 | Bottom | 2 | 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.