docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetCurveLength

    GetCurveLength(int)

    Get the length of a BezierCurve.

    Declaration
    public float GetCurveLength(int curveIndex)
    Parameters
    Type Name Description
    int curveIndex

    The 0 based index of the curve to find length for.

    Returns
    Type Description
    float

    The length of the bezier curve at index.

    Implements
    ISpline.GetCurveLength(int)
    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)