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.