GradientUsageAttribute

class in UnityEngine

/

Hereda de:PropertyAttribute

Cambiar al Manual

Descripción

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.

Variables

hdrIf set to true the Gradient uses HDR colors.

Constructores

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

Miembros heredados

Variables

orderOptional field to specify the order that multiple DecorationDrawers should be drawn in.