docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method EvaluateAcceleration

    EvaluateAcceleration<T>(T, float)

    Return an interpolated acceleration at ratio t.

    Declaration
    public static float3 EvaluateAcceleration<T>(this T spline, float t) where T : ISpline
    Parameters
    Type Name Description
    T spline

    The spline to interpolate.

    float t

    A value between 0 and 1 representing the ratio along the curve.

    Returns
    Type Description
    float3

    An acceleration on the spline.

    Type Parameters
    Name Description
    T

    A type implementing ISpline.

    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)