Version: 2022.3

PaintDetailsToolUtility.GetMaxDetailInstancesPerPatch

切换到手册
public static int GetMaxDetailInstancesPerPatch (TerrainData terrainData);

参数

terrainData The terrain data object.

返回

int Returns the max number of detail instances.

描述

Gets the max amount of detail instances per patch allowed on a terrain.