docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IInterpolator<T>

    To calculate a value at some distance along a spline, interpolation is required. The IInterpolator interface allows you to define how data is interpreted given a start value, end value, and normalized interpolation value (commonly referred to as 't').

    Namespace: UnityEngine.Splines
    Assembly: solution.dll
    Syntax
    public interface IInterpolator<T>
    Type Parameters
    Name Description
    T

    The data type to interpolate.

    Methods

    Name Description
    Interpolate(T, T, float)

    Calculate a value between from and to at time interval.

    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)