Class MinAttribute
Use this attribute to clamp floating point values to a minimum value in the inspector.
Inheritance
System.Object
System.Attribute
MinAttribute
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class MinAttribute : Attribute, _Attribute
Constructors
MinAttribute(Single)
Creates a new attribute.
Declaration
public MinAttribute(float min)
Parameters
| Type | Name | Description | 
|---|---|---|
| System.Single | min | 
Fields
min
The minimum value the field will be clamped to.
Declaration
public readonly float min
Field Value
| Type | Description | 
|---|---|
| System.Single |