Class MinMaxAttribute
Use this attribute to specify a range between a min and a max value.
Inheritance
System.Object
System.Attribute
MinMaxAttribute
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class MinMaxAttribute : Attribute, _Attribute
Constructors
MinMaxAttribute(Single, Single)
Creates a new attribute.
Declaration
public MinMaxAttribute(float min, float max)
Parameters
| Type | Name | Description | 
|---|---|---|
| System.Single | min | The minimum limit of the user defined range  | 
| System.Single | max | The maximum limit of the user defined range  | 
Fields
max
The maximum limit of the user defined range.
Declaration
public readonly float max
Field Value
| Type | Description | 
|---|---|
| System.Single | 
min
The minimum limit of the user defined range.
Declaration
public readonly float min
Field Value
| Type | Description | 
|---|---|
| System.Single |