docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method LinkKnots

    LinkKnots<T>(T, SplineKnotIndex, SplineKnotIndex)

    Links two knots in an ISplineContainer. The two knots can be on different splines, but both must be in the referenced SplineContainer. If these knots are linked to other knots, all existing links are kept and updated.

    Declaration
    public static void LinkKnots<T>(this T container, SplineKnotIndex knotA, SplineKnotIndex knotB) where T : ISplineContainer
    Parameters
    Type Name Description
    T container

    The target SplineContainer.

    SplineKnotIndex knotA

    The first knot to link.

    SplineKnotIndex knotB

    The second knot to link.

    Type Parameters
    Name Description
    T

    A type that implements ISplineContainer.

    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)