docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator +

    operator +(BezierKnot, float3)

    Knot position addition. This operation only applies to the position, tangents and rotation are unmodified.

    Declaration
    public static BezierKnot operator +(BezierKnot knot, float3 rhs)
    Parameters
    Type Name Description
    BezierKnot knot

    The target knot.

    float3 rhs

    The value to add.

    Returns
    Type Description
    BezierKnot

    A new BezierKnot where position is the sum of knot.position and rhs.

    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)