Свойство | Type | Description | |
---|---|---|---|
brush | |||
size | int | ||
strength | float | ||
targetHeight | float | ||
terrainData | |||
tool | TerrainTool |
Méthode | Description | |
---|---|---|
PaintHeight ( float xCenterNormalized, float yCenterNormalized ) : void |
Méthode | 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 | |
Résultat | void |
public TerrainData,UnityEngine terrainData | ||
Résultat |