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

PaintContext.pixelRect

切换到手册
public RectInt pixelRect ;

描述

(只读)此 PaintContext 代表的像素矩形。

像素矩形坐标引用 PaintContext.originTerrain 上的 targetTexture 中的像素。

另请参阅:PaintContext.targetTextureWidthPaintContext.targetTextureHeight