Show / Hide Table of Contents

Class ColorUsageAttribute

Inheritance
Object
Attribute
PropertyAttribute
ColorUsageAttribute
Implements
_Attribute
Inherited Members
PropertyAttribute.order
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, Boolean)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, Boolean)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
Attribute.GetCustomAttributes(ParameterInfo, Boolean)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, Boolean)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, Boolean)
Attribute.GetCustomAttributes(Module, Type, Boolean)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, Boolean)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, Boolean)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, Boolean)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, Boolean)
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, Boolean)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, Boolean)
Attribute.Equals(Object)
Attribute.GetHashCode()
Attribute.Match(Object)
Attribute.IsDefaultAttribute()
Attribute._Attribute.GetTypeInfoCount(UInt32)
Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)
Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
Attribute.TypeId
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
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
Type Name Description
Boolean showAlpha
Boolean hdr
| 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
Type Name Description
Boolean showAlpha
Boolean hdr
Single minBrightness
Single maxBrightness
Single minExposureValue
Single maxExposureValue

Fields

| Improve this Doc View Source

hdr

Declaration
public readonly bool hdr
Field Value
Type Description
Boolean
| Improve this Doc View Source

maxBrightness

Declaration
[Obsolete("This field is no longer used for anything.")]
public readonly float maxBrightness
Field Value
Type Description
Single
| Improve this Doc View Source

maxExposureValue

Declaration
[Obsolete("This field is no longer used for anything.")]
public readonly float maxExposureValue
Field Value
Type Description
Single
| Improve this Doc View Source

minBrightness

Declaration
[Obsolete("This field is no longer used for anything.")]
public readonly float minBrightness
Field Value
Type Description
Single
| Improve this Doc View Source

minExposureValue

Declaration
[Obsolete("This field is no longer used for anything.")]
public readonly float minExposureValue
Field Value
Type Description
Single
| Improve this Doc View Source

showAlpha

Declaration
public readonly bool showAlpha
Field Value
Type Description
Boolean

Implements

System.Runtime.InteropServices._Attribute

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX