docs.unity.cn
    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 Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, April 27, 2023