Documentation

Unity Engine

Unity Engine

pixelRect

(Read Only) The pixel rectangle that this PaintContext represents.
Read time 1 minuteLast updated 2 months ago

Definition

public RectInt pixelRect { get; }

Remarks

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