docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method NormalizeCurve

    NormalizeCurve(AnimationCurve, bool, bool)

    Normalize a curve so that its X and Y axes range from 0 to 1

    Declaration
    public static AnimationCurve NormalizeCurve(AnimationCurve curve, bool normalizeX, bool normalizeY)
    Parameters
    Type Name Description
    AnimationCurve curve

    Curve to normalize

    bool normalizeX

    If true, normalize the X axis

    bool normalizeY

    If true, normalize the Y axis

    Returns
    Type Description
    AnimationCurve

    The normalized curve

    In This Article
    Back to top
    Copyright © 2023 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)