Table of Contents

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

float*

Y

public float* Y

Field Value

float*

Properties

EffectivePointCount

public int EffectivePointCount { get; }

Property Value

int

this[float]

public float this[float t] { get; }

Parameters

t float

Property Value

float

PointCount

public static int PointCount { get; }

Property Value

int