docs.unity3d.com
Search Results for

    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.

    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)