Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PaintDetailsToolUtility.GetMaxDetailInstancesPerPatch

Declaration

public static int GetMaxDetailInstancesPerPatch(TerrainData terrainData);

Parameters

terrainData The terrain data object.

Returns

int Returns the max number of detail instances.

Description

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