This method sets the terrain layer height constraints.
| Parameter | Description |
|---|---|
| layer | index of the layer to use |
| minheight | minimum slope above which the layer will appear |
| maxheight | maximum slope under which the layer will appear |
| transition | size of the layer fade |