docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CopyKnotLinks

    CopyKnotLinks<T>(T, int, int)

    Copies knot links between two splines of the same ISplineContainer.

    Declaration
    public static void CopyKnotLinks<T>(this T container, int srcSplineIndex, int destSplineIndex) where T : ISplineContainer
    Parameters
    Type Name Description
    T container

    The target SplineContainer.

    int srcSplineIndex

    The index of the source spline to copy from.

    int destSplineIndex

    The index of the destination spline to copy to.

    Type Parameters
    Name Description
    T

    A type implementing ISplineContainer.

    Remarks

    The knot links will only be copied if both of the spline indices are valid and both splines have the same amount of knots.

    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)