docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor BezierKnot

    BezierKnot(float3)

    Create a new BezierKnot struct.

    Declaration
    public BezierKnot(float3 position)
    Parameters
    Type Name Description
    float3 position

    The position of the knot relative to the spline.

    BezierKnot(float3, float3, float3)

    Creates a new BezierKnot struct.

    Declaration
    public BezierKnot(float3 position, float3 tangentIn, float3 tangentOut)
    Parameters
    Type Name Description
    float3 position

    The position of the knot relative to the spline.

    float3 tangentIn

    The leading tangent to this knot.

    float3 tangentOut

    The following tangent to this knot.

    BezierKnot(float3, float3, float3, quaternion)

    Create a new BezierKnot struct.

    Declaration
    public BezierKnot(float3 position, float3 tangentIn, float3 tangentOut, quaternion rotation)
    Parameters
    Type Name Description
    float3 position

    The position of the knot relative to the spline.

    float3 tangentIn

    The leading tangent to this knot.

    float3 tangentOut

    The following tangent to this knot.

    quaternion rotation

    The rotation of the knot relative to the spline.

    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)