Class CubicSpline
- Namespace
- FriedSynapse.FlowEnt
public class CubicSpline : AbstractSpline, ISpline, ICurve
- Inheritance
-
CubicSpline
- Implements
- Inherited Members
- Extension Methods
Constructors
CubicSpline(List<Vector3>)
Creates a cubic spline.
public CubicSpline(List<Vector3> points)
Parameters
points
List<Vector3>The sequence of points that will create the spline.
CubicSpline(params Vector3[])
Creates a cubic spline.
public CubicSpline(params Vector3[] points)
Parameters
points
Vector3[]The sequence of points that will create the spline.
Methods
GetPoint(float)
public override Vector3 GetPoint(float t)
Parameters
t
float
Returns
- Vector3