文档

Unity Engine

Unity Engine

QuadraticToCubic(Vector2, Vector2, Vector2)

Converts a quadratic bezier to a cubic bezier
阅读时间1 分钟最后更新于 1 个月前

Definition

public static BezierSegment QuadraticToCubic(Vector2 p0, Vector2 p1, Vector2 p2)

Parameters

The starting position of the quadratic segment

The control position of the quadratic segment

The ending position of the quadratic segment

Returns

Type

Description

BezierSegmentThe resulting BezierSegment