using UnityEngine;
namespace UnityEditor.TerrainTools
{
///
/// An interface that represent the controller for scattering the brush.
///
public interface IBrushScatterController : IBrushController
{
///
/// Gets the brush's scatter value.
///
float brushScatter { get; }
///
/// Randomizes the brush location for scattering.
///
void RequestRandomisation();
///
/// Gets the scatter brush stamp location
///
/// The UV location of the brush.
/// The size of the brush.
/// Returns the new scattered UV location.
Vector2 ScatterBrushStamp(Vector2 uv, float brushSize);
}
}