docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetKnot

    SetKnot(int, BezierKnot, BezierTangent)

    Sets the value of a knot at index.

    Declaration
    public void SetKnot(int index, BezierKnot value, BezierTangent main = BezierTangent.Out)
    Parameters
    Type Name Description
    int index

    The index of the BezierKnot to set.

    BezierKnot value

    The BezierKnot to set.

    BezierTangent main

    The tangent to prioritize if the tangents are modified to conform with the TangentMode set for this knot.

    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)