Documentation

Unity Engine

Unity Engine

Eval(BezierSegment, float)

Evaluates the position on a curve segment.
Read time 1 minuteLast updated 2 months ago

Definition

public static Vector2 Eval(BezierSegment segment, float t)

Parameters

The curve segment on which to evaluate the position

The parametric location on the curve

Returns

Type

Description

Vector2The position on the curve at parametric location "t"