ConstantColorUsageAttribute

ConstantColorUsageAttribute(bool)

public ConstantColorUsageAttribute(bool showAlpha) ;

Description

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

Parameters

Parameter Name Description
showAlpha If set to true, the alpha value will be displayed.

ConstantColorUsageAttribute(bool, bool)

public ConstantColorUsageAttribute(bool showAlpha, bool hdr) ;

Description

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

Parameters

Parameter Name Description
showAlpha If set to true, the alpha value will be displayed.
hdr If set to true the Color is treated as a HDR color.