class in UnityEngine
/
Inherits from:PropertyAttribute
/
Implemented in:UnityEngine.CoreModule
Attribute used to configure the usage of the GradientField and Gradient Editor for a gradient.
Use this attribute on a Gradient to configure the GradientField and Gradient Editor to treat the colors as HDR colors or as normal LDR colors, and as in linear or gamma color space.
colorSpace | The color space the Gradient uses. |
hdr | If set to true the Gradient uses HDR colors. |
GradientUsageAttribute | Attribute for gradient fields. Used to configure the GUI for the Gradient Editor. |
order | Optional field to specify the order that multiple DecorationDrawers should be drawn in. |