T2

Description

Name

class Tinman.Curve.T2

Derived from

Curve

A curve hat interpolates through a sequence of 2D control points and tangents.

Fields / Required

points

Type

Vec2[]

Constraint

# != null

The control points of the curve.


tangents

Type

Vec2[]

The control tangents of the curve.

Fields / External

continuity

Type

Continuity

The continuity of the curve.


length

Type

number

The length of the curve, treating control points as 3D points.