Version: 2023.2

PaintDetailsToolUtility

class in UnityEditor.TerrainTools

切换到手册

描述

Provides utility methods for painting details.

静态函数

ClampedDetailPatchesGUIGets data on the clamped detail patches for displaying their GUI within a terrain.
CopyDetailPrototypeCopies a detail prototype between two terrains.
DrawClampedDetailPatchGUIDisplays the clamped detail patches.
FindDetailPrototypeGets the index position of similiar details between two terrains.
GetMaxDetailInstancesPerPatchGets the max amount of detail instances per patch allowed on a terrain.
LoadDetailIconsGets the icons of the detail prototypes.
ResetDetailsUtilityDataResets the paint detail tools utility parameters.