pixelRect
(Read Only) The pixel rectangle that this PaintContext represents.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.TerrainTools
- Assembly: UnityEngine.TerrainModule
public RectInt pixelRect { get; }
Remarks
The pixel rectangle coordinates refer to pixels in the targetTexture on the _originTerrain.
Additional Resources: _targetTextureWidth, _targetTextureHeight