docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method EnforceTangentModeNoNotify

    EnforceTangentModeNoNotify(int)

    Ensure that a BezierKnot has the correct tangent and rotation values to match it's TangentMode and tension. This can be necessary if knot data is modified outside of the Spline class (ex, manually setting the Knots array without taking care to also set the tangent modes).

    Declaration
    public void EnforceTangentModeNoNotify(int index)
    Parameters
    Type Name Description
    int index

    The knot index to set tangent and rotation values for.

    EnforceTangentModeNoNotify(SplineRange)

    Ensure that a BezierKnot has the correct tangent and rotation values to match it's TangentMode and tension. This can be necessary if knot data is modified outside of the Spline class (ex, manually setting the Knots array without taking care to also set the tangent modes).

    Declaration
    public void EnforceTangentModeNoNotify(SplineRange range)
    Parameters
    Type Name Description
    SplineRange range

    The SplineRange range of knot indices to set tangent and rotation values for.

    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)