This version of Unity is unsupported.

PaintContext.pixelRect

public RectInt pixelRect;

Description

(Read Only) The pixel rectangle that this PaintContext represents.

The pixel rectangle coordinates refer to pixels in the targetTexture on the PaintContext.originTerrain.

See Also: PaintContext.targetTextureWidth, PaintContext.targetTextureHeight