terrain | The target terrain. |
sourceTerrain | The source terrain. |
sourceDetail | The index of the source detail. |
int Returns the index of the copied detail prototype.
Copies a detail prototype between two terrains.
Use this method when you need a copy of a detail prototype on a different terrain.