docs.unity3d.com
    Show / Hide Table of Contents

    Enum TangentMode

    Describes the different ways a tool might interact with a tangent handle.

    Namespace: UnityEngine.Splines
    Syntax
    public enum TangentMode

    Fields

    Name Description Value
    AutoSmooth

    Tangents are calculated using the previous and next knot positions.


    0
    Linear

    Tangents are not used. A linear spline is a series of knots connected by a path with no curvature.


    1
    Mirrored

    Tangents are kept parallel and with matching lengths. Modifying one tangent updates the opposite tangent to the inverse direction and equivalent length.


    2
    Continuous

    Tangents are kept parallel. Modifying one tangent changes the direction of the opposite tangent, but does not affect the opposite tangent's length.


    3
    Broken

    The length and direction of the tangents are independent of each other. Modifying one tangent on a knot does not affect the other.


    4
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023