QuaternionMotionAdapter
Interpolate rotations with Quaternion.LerpUnclamped.
public readonly struct QuaternionMotionAdapter : IMotionAdapter<Quaternion, NoOptions>, IProgressOnlyAdapterMotionAdapters.cs · L73Members
Evaluate
Read endpoints and options by reference and return the sampled value for the evaluation context.
public Quaternion Evaluate(ref Quaternion startValue, ref Quaternion endValue, ref NoOptions options, in MotionEvaluationContext context)Parameters and return value
startValueref QuaternionStarting value.endValueref QuaternionEnd value.optionsref NoOptionsOptions passed to this value adapter.contextin MotionEvaluationContextEased Progress and elapsed Time in seconds.- Returns
Quaternion
MeatMotion