ZMWSLI0-SL2021-GR11/Projekt/MWSProjekt/Library/PackageCache/com.unity.terrain-tools@3.0.2-preview.3/Documentation~/sculpt-clone.md

17 lines
1.6 KiB
Markdown

# Clone Tool
The Clone Tool duplicates Terrain from one region to another. To access the Clone Tool, select a Terrain tile to bring up the Terrain Inspector. In the Terrain Inspector, click the **Paint Terrain** (brush) icon, and select **Sculpt > Clone** from the list of Terrain tools.
![](images/Tools_HowToSelection.png)
Hold Ctrl (Option on macOS) and click to set the Terrain area to sample from. Click to apply the cloned area anywhere else on the Terrain. The region to clone from remains the same until you hold Ctrl (Option on macOS) and click to select a new area.
## Parameters
![](images/Tool_Clone_Parameters.png)
| **Property** | **Description** |
| ---------------------------- | ------------------------------------------------------------ |
| **Terrain sources to clone** | Click the **Textures** button to clone the Material splat map. Click the **Heightmap** button to clone the heightmap. If you don't select either button, the tool has no effect. |
| **Clone Movement Behavior** | &#8226; **Follow Always**: Moves the clone sample area in tandem with the brush.<br />&#8226; **Snap**: Returns the clone sample area to the original location on mouse button release.<br />&#8226; **Follow on Paint**: Updates the clone sample area during painting while holding down the left mouse button.<br />&#8226; **Fixed**: The clone sample area never moves. |
| **Height Offset** | Adds a height offset so the painted area is lower (negative value) or higher (positive value) than the area cloned from. |