using System;
namespace UnityEngine.Rendering.PostProcessing
{
///
/// Use this attribute to clamp floating point values to a minimum value in the inspector.
///
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class MinAttribute : Attribute
{
///
/// The minimum value the field will be clamped to.
///
public readonly float min;
///
/// Creates a new attribute.
///
/// The minimum value the field will be clamped to
public MinAttribute(float min)
{
this.min = min;
}
}
}