Interface IBrushScatterController
An interface that represent the controller for scattering the brush.
Inherited Members
Namespace: UnityEditor.TerrainTools
Syntax
public interface IBrushScatterController : IBrushController
Properties
brushScatter
Gets the brush's scatter value.
Declaration
float brushScatter { get; }
Property Value
Type | Description |
---|---|
Single |
Methods
RequestRandomisation()
Randomizes the brush location for scattering.
Declaration
void RequestRandomisation()
ScatterBrushStamp(Vector2, Single)
Gets the scatter brush stamp location
Declaration
Vector2 ScatterBrushStamp(Vector2 uv, float brushSize)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector2 | uv | The UV location of the brush. |
Single | brushSize | The size of the brush. |
Returns
Type | Description |
---|---|
UnityEngine.Vector2 | Returns the new scattered UV location. |