ドキュメント

Unity Engine

Unity Engine

maskMapTexture

The mask map texture used by the terrain layer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public Texture2D maskMapTexture { get; set; }

Remarks

The content of each channel varies by the terrain shader. For HDRP TerrainLit shader, the channels are:
R: Height - used when doing height based blending
G: Smoothness
B: Metallic.