docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ResetAnimationCurve

    ResetAnimationCurve(AnimationCurve)

    Helper function to remove all control points for an animation curve. Since animation curves are reused in a pool, this function clears existing keys so the curve is ready for reuse.

    Declaration
    public static void ResetAnimationCurve(AnimationCurve curve)
    Parameters
    Type Name Description
    AnimationCurve curve

    The curve to reset.

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