docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetCurveLength

    GetCurveLength(int)

    Return the length of a curve.

    Declaration
    float GetCurveLength(int index)
    Parameters
    Type Name Description
    int index

    The index of the curve for which the length needs to be retrieved.

    Returns
    Type Description
    float

    Returns the length of the curve of index 'index' in the spline.

    See Also
    GetLength()
    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)