pixelRect
(Read Only) The pixel rectangle that this PaintContext represents.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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