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