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.

Additional resources: PaintContext.targetTextureWidth, PaintContext.targetTextureHeight


Did you find this page useful? Please give it a rating: