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

    Struct BezierPathSegment

    A bezier path segment.

    Namespace: Unity.VectorGraphics
    Syntax
    public struct BezierPathSegment
    Remarks

    Like BezierSegment but implies connectivity of segments, where segments[0].P3 is actually segments[1].P0

    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
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX