Experimental: this API is experimental and might be changed or removed in the future.

TerrainPaintUtilityEditor

class in UnityEditor.Experimental.TerrainAPI

Switch to Manual

Description

Terrain paint utility editor helper functions.

Static Functions

DrawBrushPreviewDraws a Terrain brush preview mesh from a heightmap PaintContext using the provided procedural material.
GetDefaultBrushPreviewMaterialReturns the default brush preview material. This material supports procedural mesh generation for use with DrawBrushPreview.
ShowDefaultPreviewBrushHelper function to display a default preview brush with no rotation or custom materials.