Class CurveBuilderT

CurveBuilder<T> class

Represents an editable curve of T elements.

public abstract class CurveBuilder<T> : ICurveSampler<T>
    where T : struct
ParameterDescription
TAn element of the curve.

Properties

NameDescription
Keys { get; }
MaxDegree { get; }

Methods

NameDescription
Clear()
abstract Clone()
abstract GetPoint(float)Samples the curve at a given offset
RemoveKey(float)
SetCurve(ICurveSampler<T>)
SetIncomingTangent(float, T)Sets the incoming tangent to an existing point.
SetOutgoingTangent(float, T)Sets the outgoing tangent to an existing point.
SetPoint(float, T, bool)
WithIncomingTangent(float, params float[])
WithIncomingTangent(float, T)
WithOutgoingTangent(float, params float[])
WithOutgoingTangent(float, T)
WithPoint(float, params float[])
WithPoint(float, T, bool)

See Also