Version: 2020.3
Experimental: this API is experimental and might be changed or removed in the future.

ITerrainInfo

interface in UnityEngine.Experimental.TerrainAPI

매뉴얼로 전환

설명

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

변수

clippedPCPixelsRead only. PaintContext.pixelRect, clipped to this Terrain, in PaintContext pixel coordinates.
clippedTerrainPixelsRead only. PaintContext.pixelRect, clipped to this Terrain, in Terrain pixel coordinates.
gatherEnableControls gathering from this Terrain within the PaintContext. The default is true.
scatterEnableControls scattering to this Terrain within the PaintContext. The default is true.
terrainRead only. The Terrain represented by this context.
userDataModify this value, if required, to store and retrieve values relevant to the PaintContext operation.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961