FCatmullRom1

public FCatmullRom1()

Language: C#

Initializes a new instance of the [] struct.

public FCatmullRom1(IEnumerable<float> points)

Language: C#

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

public override float 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.