FCatmullRom2

public FCatmullRom2()

Language: C#

Initializes a new instance of the [] struct.

public FCatmullRom2(IEnumerable<FVector2> points)

Language: C#

Initializes a new instance of the [] struct with control points.

public override FVector2 Compute(float t)

Language: C#

Computes the point on the Catmull-Rom spline at parameter t.

Parameters:

  • t: The parameter t in the range [0, 1].

Returns: The interpolated point on the spline.