Class MinMaxAttribute
Use this attribute to specify a range between a min and a max value.
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
public sealed class MinMaxAttribute : Attribute
Constructors
MinMaxAttribute(Single, Single)
Creates a new attribute.
Declaration
public MinMaxAttribute(float min, float max)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | min | The minimum limit of the user defined range |
| 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 |
|---|---|
| Single |
min
The minimum limit of the user defined range.
Declaration
public readonly float min
Field Value
| Type | Description |
|---|---|
| Single |