docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method EvaluatePosition

    EvaluatePosition(BezierCurve, float)

    Given a Bezier curve, return an interpolated position at ratio t.

    Declaration
    public static float3 EvaluatePosition(BezierCurve curve, float t)
    Parameters
    Type Name Description
    BezierCurve curve

    A cubic Bezier curve.

    float t

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

    Returns
    Type Description
    float3

    A position on the curve.

    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)