docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetCatmullRomTangent

    GetCatmullRomTangent(float3, float3)

    Calculates a tangent from the previous and next knot positions.

    Declaration
    public static float3 GetCatmullRomTangent(float3 previous, float3 next)
    Parameters
    Type Name Description
    float3 previous

    The position of the previous BezierKnot.

    float3 next

    The position of the next BezierKnot.

    Returns
    Type Description
    float3

    Returns a tangent calculated from the previous and next knot positions.

    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)