TerrainData.SetDetailResolution

function SetDetailResolution (detailResolution : int, resolutionPerPatch : int) : void

Parameters

NameDescription
detailResolution Specifies the number of pixels in the detail resolution map. A larger detailResolution, leads to more accurate detail object painting.
resolutionPerPatch Specifies the size in pixels of each individually rendered detail patch.

Description

Set the resolution of the detail map.