docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Interpolate

    Interpolate(float3, float3, float)

    Linearly interpolates between a and b by t.

    Declaration
    public float3 Interpolate(float3 a, float3 b, float t)
    Parameters
    Type Name Description
    float3 a

    Start value, returned when t = 0.

    float3 b

    End value, returned when t = 1.

    float t

    Interpolation ratio.

    Returns
    Type Description
    float3

    The interpolated result between the two values.

    Implements
    IInterpolator<T>.Interpolate(T, T, float)
    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)