copy_landscape_region
Clone a rectangular terrain heightmap region between landscapes or within one, resampling automatically when sizes differ. Duplicate an island or reuse sculpted relief.
Instructions
Clone a rectangle of terrain relief: copy a heightmap region between two landscapes (or within one, by omitting the source name), resampling automatically when the source and destination rectangles differ in size. Regions are in VERTEX coordinates, not world units -- get the ranges from get_landscape_info (min_x/max_x, size_x). Use it to duplicate an island or reuse sculpted relief; use import_landscape_heightmap when the source is a file instead.
Returns: { source_landscape_actor_name: string, dest_landscape_actor_name: string, applied: bool, resampled: bool, source_width: int, source_height: int, dest_width: int, dest_height: int, source_region: [int], dest_region: [int] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_region | Yes | Required [minX, minY, maxX, maxY] in destination vertex coords | |
| source_region | Yes | Required [minX, minY, maxX, maxY] in source vertex coords | |
| landscape_actor_name | No | Optional destination landscape actor name, defaults to first found | |
| source_landscape_actor_name | No | Optional source landscape actor name, defaults to destination |