docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Lerp

    Lerp(GradientPair, GradientPair, float)

    Provide for lerping between two gradient pairs

    Declaration
    public static GradientPair Lerp(GradientPair x, GradientPair y, float t)
    Parameters
    Type Name Description
    GradientPair x

    The first gradient pair

    GradientPair y

    The second gradient pair

    float t

    Amount for which to lerp between the first and second gradient pair

    Returns
    Type Description
    GradientPair

    The lerped gradient pair result

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)