Class MaxAttribute
Use this attribute to clamp floating point values to a maximum value in the inspector.
Implements
Inherited Members
Namespace: UnityEngine .Rendering.PostProcessing
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class MaxAttribute : Attribute, _Attribute
Constructors
Name | Description |
---|---|
Max |
Creates a new attribute. |
Fields
Name | Description |
---|---|
max | The maximum value the field will be clamped to. |