using System; namespace UnityEngine.Rendering.PostProcessing { /// /// Use this attribute to specify a range between a min and a max value. /// [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] public sealed class MinMaxAttribute : Attribute { /// /// The minimum limit of the user defined range. /// public readonly float min; /// /// The maximum limit of the user defined range. /// public readonly float max; /// /// Creates a new attribute. /// /// The minimum limit of the user defined range /// The maximum limit of the user defined range public MinMaxAttribute(float min, float max) { this.min = min; this.max = max; } } }