This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

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