기술 자료

Unity Engine

Unity Engine

legacyShininess

The shininess value of the terrain.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
경고
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 Terrain.materialType is Terrain.MaterialType.BuiltInLegacySpecular.
The valid range of this value is 0.0f to 1.0f.