Documentation

Unity Engine

Download Unity

Unity Engine

TerrainSculptOperation

How TerrainEditUtility.SculptHeights changes the heights inside a region.
Read time 1 minuteLast updated 22 days ago

Definition

public enum TerrainSculptOperation

Fields

Value

Description

FlattenFlattens the heights to the height of the region that TerrainSculptSettings.flattenReference picks.
LowerLowers the heights by TerrainSculptSettings.amount.
RaiseRaises the heights by TerrainSculptSettings.amount.
SetSets the heights to TerrainSculptSettings.height.
SmoothAverages each height with its neighbors within TerrainSculptSettings.smoothRadius.