기술 자료

Unity Engine

Unity Engine

MakeLine(Vector2, Vector2)

Builds a line segment.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static BezierSegment MakeLine(Vector2 from, Vector2 to)

Parameters

The starting position of the line segment

The ending position of the line segment

Returns

Type

Description

BezierSegmentA straight line BezierSegment

Remarks

The control points are spaced out equally to maintain a constant speed on t