Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


enableHueByDefault

Gets and sets a boolean to enable hue variation effect on the imported SpeedTree model.
Read time 1 minuteLast updated 10 days ago

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.