docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InterpolatorUtility

    InterpolatorUtility provides easy access to all the different IInterpolator implementations.

    Inheritance
    object
    InterpolatorUtility
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Splines
    Assembly: solution.dll
    Syntax
    public static class InterpolatorUtility

    Properties

    Name Description
    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)