docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ShiftKnotIndices

    ShiftKnotIndices(SplineKnotIndex, int)

    Changes the indices of the KnotLinkCollection to ensure they are valid. This is mainly used when splines or knots are inserted or removed from a SplineContainer.

    Declaration
    public void ShiftKnotIndices(SplineKnotIndex index, int offset)
    Parameters
    Type Name Description
    SplineKnotIndex index

    The SplineKnotIndex of the knot.

    int offset

    The offset to apply on other 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)