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