Version: 2023.2
LanguageEnglish
  • C#

SpeedTreeImporter.enableHueByDefault

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public bool enableHueByDefault;

Description

Gets and sets a boolean to enable hue variation effect on the imported SpeedTree model.

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.