docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CalculateCurveLengths

    CalculateCurveLengths(BezierCurve, DistanceToInterpolation[])

    Populate a pre-allocated lookupTable array with distance to 't' values. The number of table entries is dependent on the size of the passed lookupTable.

    Declaration
    public static void CalculateCurveLengths(BezierCurve curve, DistanceToInterpolation[] lookupTable)
    Parameters
    Type Name Description
    BezierCurve curve

    The BezierCurve to create a distance to 't' lookup table for.

    DistanceToInterpolation[] lookupTable

    A pre-allocated array to populate with distance to interpolation ratio data.

    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)