pixelRect
(Read Only) The pixel rectangle that this PaintContext represents.
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Property
- Namespace: UnityEngine.TerrainTools
- Assembly: UnityEngine.TerrainModule
public RectInt pixelRect { get; }
Remarks
The pixel rectangle coordinates refer to pixels in the targetTexture on the PaintContext.originTerrain.
Additional Resources: PaintContext.targetTextureWidth, PaintContext.targetTextureHeight