docs.unity3d.com
    Show / Hide Table of Contents

    Sample Bezier

    Menu Path : Operator > Math > Vector

    The Sample Bezier Operator performs a four-point bezier interpolation based on four positions and a value to represent the progress through the curve. It returns the interpolated position and the position's tangent, which is a vector which points along the bezier curve at the position.

    Operator properties

    Input Type Description
    T float The progression through the bezier curve.
    A Position The source point of the Bezier
    B Position The source tangent point of the bezier
    C Position The target tangent point of the bezier
    D Position The target point of the bezier
    Output Type Description
    Position Position The interpolated position on the bezier segment.
    Tangent Vector The interpolated tangent on the bezier segment.
    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