기술 자료

Unity Engine

Unity Engine

metallic

The metallic value of the splat layer.
읽는 시간 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.