기술 자료

Unity Engine

Unity Engine

BezierCurveTo(Vector2, Vector2, Vector2)

Adds a cubic bezier curve to the current sub-path to the provided position using two control points.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void BezierCurveTo(Vector2 p1, Vector2 p2, Vector2 p3)

Parameters

The first control point of the cubic bezier.

The second control point of the cubic bezier.

The final position of the cubic bezier.