Skip to content

Documentation / Animatable / changeLocalInterpFunction

changeLocalInterpFunction() ​

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

Defined in: Animate/Animatable.ts:566

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

Type Parameters ​

Animating ​

Animating extends Animatable<unknown>

Parameters ​

anim ​

Animation<Animating>

interp ​

Interp

Returns ​

void