Property | Type | Description | |
---|---|---|---|
allowHeightVar | bool | ||
allowWidthVar | bool | ||
brushSize | float | ||
lockWidthToHeight | bool | ||
randomRotation | bool | ||
selectedTree | int | ||
spacing | float | ||
treeColorAdjustment | float | ||
treeHeight | float | ||
treeHeightVariation | float | ||
treeWidth | float | ||
treeWidthVariation | float |
Method | Description | |
---|---|---|
MassPlaceTrees ( |
||
PlaceTrees ( |
||
RemoveTrees ( |
Method | Description | |
---|---|---|
GetTreeColor ( ) : Color | ||
GetTreeHeight ( ) : float | ||
GetTreeRotation ( ) : float | ||
GetTreeWidth ( ) : float |
public static MassPlaceTrees ( |
||
terrainData | ||
numberOfTrees | int | |
randomTreeColor | bool | |
keepExistingTrees | bool | |
return | void |
public static PlaceTrees ( |
||
terrain | ||
xBase | float | |
yBase | float | |
return | void |
public static RemoveTrees ( |
||
terrain | ||
xBase | float | |
yBase | float | |
clearSelectedOnly | bool | |
return | void |
public static float treeColorAdjustment | ||
return | float |
public static float treeHeightVariation | ||
return | float |