PaintDetailsToolUtility.CopyDetailPrototype

Declaration

public static int CopyDetailPrototype(Terrain terrain, Terrain sourceTerrain, int sourceDetail);

Parameters

terrain The target terrain.
sourceTerrain The source terrain.
sourceDetail The index of the source detail.

Returns

int Returns the index of the copied detail prototype.

Description

Copies a detail prototype between two terrains.

Use this method when you need a copy of a detail prototype on a different terrain.


Did you find this page useful? Please give it a rating: