ドキュメント

Unity Engine

Unity Engine

TerrainPaintUtilityEditor

Terrain paint utility editor helper functions.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static class TerrainPaintUtilityEditor

Static Methods

Method

Description

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 TerrainPaintUtilityEditor.DrawBrushPreview.
ShowDefaultPreviewBrushHelper function to display a default preview brush with no rotation or custom materials.
UpdateTerrainDataUndoUpdates the undo stack with a terrain operation.