Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Eval(BezierSegment, float)

Evaluates the position on a curve segment.
Read time 1 minuteLast updated 4 days 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"