3 namespace UnityEngine
.Rendering
.PostProcessing
6 /// Use this attribute to specify a range between a min and a max value.
8 [AttributeUsage(AttributeTargets
.Field
, AllowMultiple
= false)]
9 public sealed class MinMaxAttribute
: Attribute
12 /// The minimum limit of the user defined range.
14 public readonly float min
;
17 /// The maximum limit of the user defined range.
19 public readonly float max
;
22 /// Creates a new attribute.
24 /// <param name="min">The minimum limit of the user defined range</param>
25 /// <param name="max">The maximum limit of the user defined range</param>
26 public MinMaxAttribute(float min
, float max
)