文档

Unity Engine

Unity Engine

hueVariation

Gets and sets a default hue variation color and amount (in alpha).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public Color hueVariation { get; set; }

Remarks

The color of each tree varies based on its world space position and this hue variation color. Hue variation breaks up a large forest of trees and makes it look more natural. To enable hue variation, see SpeedTreeImporter.enableHueByDefault.