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. |