docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetCurve

    GetCurve(int)

    Gets a BezierCurve from a knot index. This function returns degenerate (0 length) curves at the overlap points between each ISpline.

    Declaration
    public BezierCurve GetCurve(int knot)
    Parameters
    Type Name Description
    int knot

    The knot index that is the first control point for this curve.

    Returns
    Type Description
    BezierCurve

    A BezierCurve formed by the knot at index and the next knot.

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