Property | Type | Description | |
---|---|---|---|
brush | |||
size | int | ||
strength | float | ||
targetHeight | float | ||
terrainData | |||
tool | TerrainTool |
Method | Description | |
---|---|---|
PaintHeight ( float xCenterNormalized, float yCenterNormalized ) : void |
Method | Description | |
---|---|---|
ApplyBrush ( float height, float brushStrength, int x, int y ) : float | ||
Smooth ( int x, int y ) : float |
public PaintHeight ( float xCenterNormalized, float yCenterNormalized ) : void | ||
xCenterNormalized | float | |
yCenterNormalized | float | |
return | void |
public TerrainData,UnityEngine terrainData | ||
return |