Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


legacyShininess

The shininess value of the terrain.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

You can use it to control the overall shininess value across the whole terrain when _materialType is Terrain.MaterialType.BuiltInLegacySpecular.
The valid range of this value is 0.0f to 1.0f.