MtHermiteCurve

Namespace: SharpPluginLoader.Core.MtTypes

public struct MtHermiteCurve

Inheritance ObjectValueTypeMtHermiteCurve

Fields

X

public <X>e__FixedBuffer X;

Y

public <Y>e__FixedBuffer Y;

Properties

PointCount

public static int PointCount { get; }

Property Value

Int32

EffectivePointCount

public int EffectivePointCount { get; }

Property Value

Int32

Item

public float Item { get; }

Property Value

Single

Constructors

MtHermiteCurve(IList<ValueTuple<Single, Single>>)

Creates a new Hermite curve from a list of points.

MtHermiteCurve(IList<ValueTuple<float, float>> points)

Parameters

points IList<ValueTuple<Single, Single>>
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.