Version: 2021.3
언어: 한국어

ITerrainInfo

interface in UnityEngine.TerrainTools

매뉴얼로 전환

설명

Interface that conveys information about a Terrain within the PaintContext area.

변수

clippedPCPixels PaintContext.pixelRect, clipped to this Terrain, in PaintContext pixel coordinates. (Read Only)
clippedTerrainPixels PaintContext.pixelRect, clipped to this Terrain, in Terrain pixel coordinates. (Read Only)
gatherEnableControls gathering from this Terrain within the PaintContext. The default is true.
paddedPCPixelsUse this property to fill empty regions in PaintContext. It is the same as clippedPCPixels with padding around unconnected Terrain edges. (Read Only)
paddedTerrainPixelsUse this property to fill empty regions in PaintContext. It is the same as clippedTerrainPixels with padding around unconnected Terrain edges. (Read Only)
scatterEnableControls scattering to this Terrain within the PaintContext. The default is true.
terrainThe Terrain represented by this context. (Read Only)
userDataModify this value, if required, to store and retrieve values relevant to the PaintContext operation.