docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetTangentModeNoNotify

    SetTangentModeNoNotify(int, TangentMode, BezierTangent)

    Sets the TangentMode for a knot, and ensures that the rotation and tangent values match the behavior of the tangent mode. No changed callbacks will be invoked. This function can modify the contents of the BezierKnot at the specified index.

    Declaration
    public void SetTangentModeNoNotify(int index, TangentMode mode, BezierTangent main = BezierTangent.Out)
    Parameters
    Type Name Description
    int index

    The index of the knot to set.

    TangentMode mode

    The mode to set.

    BezierTangent main

    The tangent direction to align both the In and Out tangent when assigning Continuous or Mirrored tangent mode.

    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)