docs.unity.cn
    Show / Hide Table of Contents

    Class MinAttribute

    Use this attribute to clamp floating point values to a minimum value in the inspector.

    Inheritance
    Object
    MinAttribute
    Namespace: UnityEngine.Rendering.PostProcessing
    Syntax
    public sealed class MinAttribute : Attribute

    Constructors

    MinAttribute(Single)

    Creates a new attribute.

    Declaration
    public MinAttribute(float min)
    Parameters
    Type Name Description
    Single 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
    Single
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, April 14, 2022
    Terms of use