| Parameter | Description |
|---|---|
| xBase | First x index of the area to query. |
| yBase | First y index of the area to query. |
| totalWidth | The width of the area to query, along the Terrain's x axis. |
| totalHeight | The height of the area to query, along the Terrain's z axis. |
int[] An array of the supported detail layer indices in the area.
Gets an array of all supported detail layer indices in the area.
The Terrain uses a detail layer density map. Each pixel in the map determines the amount of details objects that will be procedurally placed in the pixel area. The layer determines the detail prototype that will be instantiated at the location.
| Parameter | Description |
|---|---|
| positionBase | The first index of the area to query. |
| size | The size of the area to query. |
int[] An array of the supported detail layer indices in the area.
Gets an array of all supported detail layer indices in the area.
The Terrain uses a detail layer density map. Each pixel in the map determines the amount of details objects that will be procedurally placed in the pixel area. The layer determines the detail prototype that will be instantiated at the location.