docs.unity3d.com
    Show / Hide Table of Contents

    Namespace UnityEngine.Splines.Interpolators

    Structs

    LerpColor

    Linearly interpolate between two values a and b by ratio t.

    LerpFloat

    Linearly interpolate between two values a and b by ratio t.

    LerpFloat2

    Linearly interpolate between two values a and b by ratio t.

    LerpFloat3

    Linearly interpolate between two values a and b by ratio t.

    LerpFloat4

    Linearly interpolate between two values a and b by ratio t.

    LerpQuaternion

    Linearly interpolate between two values a and b by ratio t.

    SlerpFloat2

    Spherically interpolate between two values a and b by ratio t.

    SlerpFloat3

    Spherically interpolate between two values a and b by ratio t.

    SlerpQuaternion

    Spherically interpolates between quaternions a and b by ratio t. The parameter t is clamped b the range [0, 1].

    SmoothStepFloat

    Interpolate between two values a and b by ratio t with smoothing at the start and end.

    SmoothStepFloat2

    Interpolate between two values a and b by ratio t with smoothing at the start and end.

    SmoothStepFloat3

    Interpolate between two values a and b by ratio t with smoothing at the start and end.

    SmoothStepFloat4

    Interpolate between two values a and b by ratio t with smoothing at the start and end.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023