ドキュメント

Unity Engine

Unity Engine

legacyShininess

The shininess value of the terrain.
読み終わるまでの所要時間 1 分最終更新 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.