PaintContext.ITerrainInfo
Interface that conveys information about a Terrain within the PaintContext area.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Interface
- Namespace: UnityEngine.TerrainTools
- Assembly: UnityEngine.TerrainModule
public interface PaintContext.ITerrainInfo
Properties
Property | Description |
|---|---|
| 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) |
| gatherEnable | Controls gathering from this Terrain within the PaintContext. The default is true. |
| paddedPCPixels | Use this property to fill empty regions in PaintContext. It is the same as |
| paddedTerrainPixels | Use this property to fill empty regions in PaintContext. It is the same as |
| scatterEnable | Controls scattering to this Terrain within the PaintContext. The default is true. |
| terrain | The Terrain represented by this context. (Read Only) |
| userData | Modify this value, if required, to store and retrieve values relevant to the PaintContext operation. |