InterpolantSettings
class InterpolantSettings(var endingStart: InterpolantEnding = InterpolantEnding.ZeroCurvature, var endingEnd: InterpolantEnding = InterpolantEnding.ZeroCurvature, var inTangents: DoubleArray? = null, var outTangents: DoubleArray? = null)
Settings that an interpolant may read.
CubicInterpolant reads endingStart and endingEnd.
BezierInterpolant reads inTangents and outTangents, packed as
[time, value]pairs per keyframe per component. If either isnull, it interpolates linearly.
Parameters
endingStart
The ending mode applied at the start of the curve.
endingEnd
The ending mode applied at the end of the curve.
inTangents
Packed in-tangent control points for BezierInterpolant, or null.
outTangents
Packed out-tangent control points for BezierInterpolant, or null.
Constructors
Link copied to clipboard
constructor(endingStart: InterpolantEnding = InterpolantEnding.ZeroCurvature, endingEnd: InterpolantEnding = InterpolantEnding.ZeroCurvature, inTangents: DoubleArray? = null, outTangents: DoubleArray? = null)