기술 자료

Unity Engine

Unity Engine

EvalNormal(BezierSegment, float)

Evalutes the normal on a curve segment.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static Vector2 EvalNormal(BezierSegment segment, float t)

Parameters

The curve segment on which to evaluate the normal

The parametric location on the curve

Returns

Type

Description

Vector2The normal of the curve at parametric location "t"

Remarks

A positive normal at a point on the bezier curve is always on the right side of the forward direction (tangent) of the curve at that point.