文档

Unity Engine

Unity Engine

metallic

The metallic value of the splat layer.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
警告
Deprecated. SplatPrototype is obsolete. Use TerrainLayer instead.
public float metallic { get; set; }

Remarks

This is only applicable when using the built-in standard material for terrain.
Valid range is 0.0f to 1.0f.