GetMaxDetailInstancesPerPatch(TerrainData)
Gets the max amount of detail instances per patch allowed on a terrain.
阅读时间1 分钟最后更新于 1 个月前
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. |