Class ColorUsageAttribute
Inheritance
ColorUsageAttribute
Assembly: UnityEngine.dll
Syntax
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public sealed class ColorUsageAttribute : PropertyAttribute, _Attribute
Constructors
|
Improve this Doc
View Source
ColorUsageAttribute(Boolean)
Declaration
public ColorUsageAttribute(bool showAlpha)
Parameters
Type |
Name |
Description |
Boolean |
showAlpha |
|
|
Improve this Doc
View Source
ColorUsageAttribute(Boolean, Boolean)
Declaration
public ColorUsageAttribute(bool showAlpha, bool hdr)
Parameters
|
Improve this Doc
View Source
ColorUsageAttribute(Boolean, Boolean, Single, Single, Single, Single)
Declaration
[Obsolete("Brightness and exposure parameters are no longer used for anything. Use ColorUsageAttribute(bool showAlpha, bool hdr)")]
public ColorUsageAttribute(bool showAlpha, bool hdr, float minBrightness, float maxBrightness, float minExposureValue, float maxExposureValue)
Parameters
Fields
|
Improve this Doc
View Source
hdr
Declaration
Field Value
|
Improve this Doc
View Source
maxBrightness
Declaration
[Obsolete("This field is no longer used for anything.")]
public readonly float maxBrightness
Field Value
|
Improve this Doc
View Source
maxExposureValue
Declaration
[Obsolete("This field is no longer used for anything.")]
public readonly float maxExposureValue
Field Value
|
Improve this Doc
View Source
minBrightness
Declaration
[Obsolete("This field is no longer used for anything.")]
public readonly float minBrightness
Field Value
|
Improve this Doc
View Source
minExposureValue
Declaration
[Obsolete("This field is no longer used for anything.")]
public readonly float minExposureValue
Field Value
|
Improve this Doc
View Source
showAlpha
Declaration
public readonly bool showAlpha
Field Value
Implements
Extension Methods