DrawClampedDetailPatchGUI(int, List<Vector4>, Vector2, Terrain, IOnSceneGUI)
Displays the clamped detail patches.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
public static void DrawClampedDetailPatchGUI(int mouseOnPatchIndex, List<Vector4> clampedDetailPatchIconScreenPositions, Vector2 detailMinMaxHeight, Terrain terrain, IOnSceneGUI editContext)
Parameters
The index of the patch that the mouse is hovering over.
The list of screen detail patch icons within the screen positions.
The minimum and maximum height of the details within the terrain.
The target terrain.
The edit context object.
Remarks
Use this method to visualize the clamped patches when scattering details across a terrain. These clamped patches are areas where the maximum amount of detail patches are exceeded.
Additional Resources: PaintDetailsToolUtility.ClampedDetailPatchesGUI