Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


legacySpecular

The specular color of the terrain.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
Warning
Deprecated. Property legacySpecular is not used any more. Set materialTemplate directly.
public Color legacySpecular { get; set; }

Remarks

You can use it to control the overall specular color across the whole terrain when _materialType is Terrain.MaterialType.BuiltInLegacySpecular.