docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct BezierSegment

    A bezier segment.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.VectorGraphics
    Assembly: Unity.VectorGraphics.dll
    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
    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)