Struct BezierSegment | Vector Graphics | 1.0.0-preview.34
docs.unity.cn
    Show / Hide Table of Contents

    Struct BezierSegment

    A bezier segment.

    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 © 2020 Unity Technologies
    Generated by DocFX