interface in UnityEngine.Experimental.TerrainAPI
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseInterface that conveys information about a Terrain within the PaintContext area.
clippedPCPixels | Read only. PaintContext.pixelRect, clipped to this Terrain, in PaintContext pixel coordinates. |
clippedTerrainPixels | Read only. PaintContext.pixelRect, clipped to this Terrain, in Terrain pixel coordinates. |
gatherEnable | Controls gathering from this Terrain within the PaintContext. The default is true. |
scatterEnable | Controls scattering to this Terrain within the PaintContext. The default is true. |
terrain | Read only. The Terrain represented by this context. |
userData | Modify this value, if required, to store and retrieve values relevant to the PaintContext operation. |