Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


metallic

The metallic value of the splat layer.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
Warning
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.