文档

Unity Engine

Unity Engine

pixelRect

(Read Only) The pixel rectangle that this PaintContext represents.
阅读时间1 分钟最后更新于 21 天前

Definition

public RectInt pixelRect { get; }

Remarks

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