Struct MtHermiteCurve
- Namespace
- SharpPluginLoader.Core.MtTypes
- Assembly
- SharpPluginLoader.Core.dll
public struct MtHermiteCurve
- Inherited Members
Constructors
MtHermiteCurve(IList<(float, float)>)
Creates a new Hermite curve from a list of points.
public MtHermiteCurve(IList<(float, float)> points)
Parameters
points
IList<(float, float)>A list of at most 8 points, with the first element of each tuple being the X value, and the second element being the Y value.
Fields
X
public float* X
Field Value
Y
public float* Y
Field Value
Properties
EffectivePointCount
public int EffectivePointCount { get; }
Property Value
this[float]
public float this[float t] { get; }
Parameters
t
float
Property Value
PointCount
public static int PointCount { get; }