Documentation

Unity Engine

Download Unity

Unity Engine

smoothRadius

The averaging radius for TerrainSculptOperation.Smooth. 0 uses two heightmap cells. Must not exceed the diagonal of the Terrain.
Read time 1 minuteLast updated 22 days ago

Definition

public float smoothRadius { get; set; }

Remarks

Smoothing is a box average over the square of samples within this radius, applied twice (once per axis). It does not match the Smooth Height brush, which weighs neighbors by the brush.