Files
2026-06-04 11:42:34 +02:00

45 lines
1.3 KiB
C#

using System;
namespace UnityEngine
{
// Token: 0x02000458 RID: 1112
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public sealed class ColorUsageAttribute : PropertyAttribute
{
// Token: 0x060038C3 RID: 14531 RVA: 0x00061D84 File Offset: 0x0005FF84
public ColorUsageAttribute(bool showAlpha)
{
this.showAlpha = showAlpha;
}
// Token: 0x060038C4 RID: 14532 RVA: 0x00061DDC File Offset: 0x0005FFDC
public ColorUsageAttribute(bool showAlpha, bool hdr, float minBrightness, float maxBrightness, float minExposureValue, float maxExposureValue)
{
this.showAlpha = showAlpha;
this.hdr = hdr;
this.minBrightness = minBrightness;
this.maxBrightness = maxBrightness;
this.minExposureValue = minExposureValue;
this.maxExposureValue = maxExposureValue;
}
// Token: 0x04001131 RID: 4401
public readonly bool showAlpha = true;
// Token: 0x04001132 RID: 4402
public readonly bool hdr = false;
// Token: 0x04001133 RID: 4403
public readonly float minBrightness = 0f;
// Token: 0x04001134 RID: 4404
public readonly float maxBrightness = 8f;
// Token: 0x04001135 RID: 4405
public readonly float minExposureValue = 0.125f;
// Token: 0x04001136 RID: 4406
public readonly float maxExposureValue = 3f;
}
}