Version: 2022.3

DetailBrushRepresentation

class in UnityEditor.TerrainTools

切换到手册

描述

Represents data associated with the brush used for scattering details.

DetailBrushRepresentation acts as a container for functional data used when determining the area of scatter when painting on a terrain. You use DetailBrushRepresentation objects for determining the strength of the scatter.

公共函数

GetStrengthGets the strength at the passed in position.
UpdateUpdates the DetailBrushRepresentation's data.