Documentation

Unity Engine

Download Unity

Unity Engine

rect

The rectangle that the edit can change: heightmap samples for TerrainEditUtility.SculptHeights, alphamap texels for TerrainEditUtility.PaintLayers. It covers the region, widened to the cells it crosses, and the blend band. Nothing outside it changes.
Read time 1 minuteLast updated 22 days ago

Definition

public RectInt rect { get; }