Class BSpline
- Namespace
- FriedSynapse.FlowEnt
public class BSpline : AbstractSpline, ISpline, ICurve
- Inheritance
-
BSpline
- Implements
- Inherited Members
- Extension Methods
Constructors
BSpline(List<Vector3>, float)
Creates a b-spline(based on Bezier curve).
public BSpline(List<Vector3> points, float gradient = 0.33333334)
Parameters
points
List<Vector3>The sequence of points that will create the spline.
gradient
floatThe desired gradient for the spline
BSpline(params Vector3[])
Creates a b-spline(based on Bezier curve) using the default gradient.
public BSpline(params Vector3[] points)
Parameters
points
Vector3[]The sequence of points that will create the spline.
Fields
DefaultGradient
public const float DefaultGradient = 0.33333334
Field Value
Methods
GetPoint(float)
public override Vector3 GetPoint(float t)
Parameters
t
float
Returns
- Vector3