Skip to content

aninest root / Animatable / changeLocalInterpFunction

changeLocalInterpFunction()

ts
function changeLocalInterpFunction<Animating>(anim, interp): void

Updates the interpolation function of the animation only for the topmost level.

Type Parameters

Animating extends RecursiveAnimatable<unknown>

Parameters

anim: Animation<Animating>

interp: Interp

Returns

void

Defined in

Animate/Animatable.ts:552