This version of Unity is unsupported.

GradientUsageAttribute Constructor

public GradientUsageAttribute(bool hdr);

Parameters

hdrSet to true if the colors should be treated as HDR colors (default value: false).

Description

Attribute for Gradient fields. Used for configuring the GUI for the Gradient Editor.