기술 자료

Unity Engine

Unity Engine

TerrainPaintUtilityEditor

Terrain paint utility editor helper functions.
읽는 시간 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.