Struct BezierSegment | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct BezierSegment

    A bezier segment.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Unity.VectorGraphics
    Syntax
    public struct BezierSegment
    Remarks

    Cubic Bezier segment starts from P0, flies in tangent to direction from P0 to P1, then lands in direction from P2 to P3, to finally end exactly at P3.

    Fields

    P0

    Origin point of the segment.

    Declaration
    public Vector2 P0
    Field Value
    Type Description
    Vector2

    P1

    First control point of the segment.

    Declaration
    public Vector2 P1
    Field Value
    Type Description
    Vector2

    P2

    Second control point of the segment.

    Declaration
    public Vector2 P2
    Field Value
    Type Description
    Vector2

    P3

    Ending point of the segment.

    Declaration
    public Vector2 P3
    Field Value
    Type Description
    Vector2
    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