To access the TerrainThe landscape in your scene. A Terrain GameObject adds a large flat plane to your scene and you can use the Terrain’s Inspector window to create a detailed landscape. More info
See in Glossary painting tools, click on a Terrain object in the Hierarchy window and open an InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary window. In the Inspector, click the Paint Terrain (paintbrush) icon to reveal the list of Terrain tools.
You can also access Terrain painting tools from the Terrain Tools overlay in Sculpt Mode
or Materials Mode
.
The Terrain component provides six distinct tools:
| Topic | Description |
|---|---|
| Raise or Lower Terrain | Paint the heightmapA greyscale Texture that stores height data for an object. Each pixel stores the height difference perpendicular to the face that pixel represents. See in Glossary with a paintbrush tool. |
| Paint Holes | Hide portions of the Terrain. |
| Paint Texture | Apply surface textures. |
| Set Height | Adjust the heightmap toward a specific value. |
| Smooth Height | Smooth the heightmap to soften Terrain features. |
| Stamp Terrain | Stamp a brush shape on top of the current heightmap. |
The Terrain Tools package, when you install it, brings additional functionality on top of the built-in terrain tools listed above. It includes erosion tools, sculpting tools, brush mask filters, and a Terrain Toolbox which provides preset file management and heightmap import features, among others.
The Unity API allows you to create your own custom Terrain tools to complete or override the existing tools, including the ones of the Terrain Tools package.
For more information about Terrain tool API, refer to TerrainAPI.TerrainPaintTool, and to create a custom Terrain tool with overlay support, refer to TerrainAPI.TerrainPaintToolWithOverlays.
The Terrain Tools package documentation also provides several Terrain API use case examples.