文档

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.