docs.unity.cn
    Show / Hide Table of Contents

    Class MinMaxAttribute

    Use this attribute to specify a range between a min and a max value.

    Inheritance
    Object
    MinMaxAttribute
    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
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, April 14, 2022
    Terms of use