Documentation

Unity Engine

Unity Engine

GetMaxDetailInstancesPerPatch(TerrainData)

Gets the max amount of detail instances per patch allowed on a terrain.
Read time 1 minuteLast updated a month ago

Definition

public static int GetMaxDetailInstancesPerPatch(TerrainData terrainData)

Parameters

terrainData

The terrain data object.

Returns

Type

Description

intReturns the max number of detail instances.