PaintDetailsToolUtility.DrawClampedDetailPatchGUI

Declaration

public static void DrawClampedDetailPatchGUI(int mouseOnPatchIndex, List<Vector4> clampedDetailPatchIconScreenPositions, Vector2 detailMinMaxHeight, Terrain terrain, TerrainTools.IOnSceneGUI editContext);

Parameters

mouseOnPatchIndex The index of the patch that the mouse is hovering over.
clampedDetailPatchIconScreenPositions The list of screen detail patch icons within the screen positions.
detailMinMaxHeight The minimum and maximum height of the details within the terrain.
terrain The target terrain.
editContext The edit context object.

Description

Displays the clamped detail patches.

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


Did you find this page useful? Please give it a rating: