Vector3PunchMotionAdapter
Compute the Vector3 sample for a punch tween from its starting value and strength.
public readonly struct Vector3PunchMotionAdapter : IMotionAdapter<Vector3, PunchOptions>, IProgressOnlyAdapter, IVibrationAdapterVibrationMotion.cs · L189Members
Evaluate
Read endpoints and options by reference and return the sampled value for the evaluation context.
public Vector3 Evaluate(ref Vector3 startValue, ref Vector3 endValue, ref PunchOptions options, in MotionEvaluationContext context)Parameters and return value
startValueref Vector3Starting value.endValueref Vector3End value.optionsref PunchOptionsOptions passed to this value adapter.contextin MotionEvaluationContextEased Progress and elapsed Time in seconds.- Returns
Vector3
MeatMotion