ConstantGradientUsageAttribute

ConstantGradientUsageAttribute(bool)

public ConstantGradientUsageAttribute(bool hdr) ;

Description

Attributes that configure constant configuration for Gradient
Can be applied to fields in InputField<Gradient>.

Parameters

Parameter Name Description
hdr If set to true the Color is treated as a HDR color.

ConstantGradientUsageAttribute(bool, ColorSpace)

public ConstantGradientUsageAttribute(bool hdr, ColorSpace colorSpace) ;

Description

Attributes that configure constant configuration for Gradient
Can be applied to fields in InputField<Gradient>.

Parameters

Parameter Name Description
hdr If set to true the Color is treated as a HDR color.
colorSpace Color space used in Gradient