This version of Unity is unsupported.

GradientUsageAttribute Constructor

Declaration

public GradientUsageAttribute(bool hdr);

Parameters

hdr Set 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.