文档

Unity Engine

Unity Engine

enableHueByDefault

Gets and sets a boolean to enable hue variation effect on the imported SpeedTree model.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public bool enableHueByDefault { get; set; }

Remarks

Hue variation varies the color of the model based on its world position, resulting in a more natural forest look. Use this variable to toggle this effect and see SpeedTreeImporter.hueVariation to set a variation color.
To change this setting for a specific LOD, see SpeedTreeImporter.enableHue and SpeedTreeImporter.enableSettingOverride.