docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor SelectableTangent

    SelectableTangent(SplineInfo, int, BezierTangent)

    Creates a new SelectableTangent object.

    Declaration
    public SelectableTangent(SplineInfo info, int knotIndex, BezierTangent tangent)
    Parameters
    Type Name Description
    SplineInfo info

    The SplineInfo associated with the tangent.

    int knotIndex

    The index of the knot that the tangent is attached to.

    BezierTangent tangent

    The BezierTangent that represents this tangent.

    SelectableTangent(SplineInfo, int, int)

    Creates a new SelectableTangent object.

    Declaration
    public SelectableTangent(SplineInfo info, int knotIndex, int tangentIndex)
    Parameters
    Type Name Description
    SplineInfo info

    The SplineInfo associated with the tangent.

    int knotIndex

    The index of the knot that the tangent is attached to.

    int tangentIndex

    The index of the tangent. A value of 0 represents an In tangent. A value of 1 represents an Out tangent.

    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)