GetMaxDetailInstancesPerPatch(TerrainData)
Gets the max amount of detail instances per patch allowed on a terrain.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
public static int GetMaxDetailInstancesPerPatch(TerrainData terrainData)
Parameters
The terrain data object.
Returns
Type | Description |
|---|---|
| int | Returns the max number of detail instances. |