Experimental: this API is experimental and might be changed or removed in the future.

PaintContext.pixelRect

Switch to Manual
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