docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SmoothTangents

    SmoothTangents(int, float)

    Smoothes the in and out tangents of the keyframe at index. A weight of 0 evens out tangents.

    Declaration
    public void SmoothTangents(int index, float weight)
    Parameters
    Type Name Description
    int index

    The index of the keyframe to be smoothed.

    float weight

    The smoothing weight to apply to the keyframe's tangents.

    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)