soonspacejs
Version:
soonspacejs 2.x
5 lines (4 loc) • 396 B
TypeScript
import { Tween } from 'three/examples/jsm/libs/tween.module.js';
import { AnimationOptions } from '../Interface';
declare function Animation<PropType extends Record<string, any>>(source: PropType, target: PropType, options?: AnimationOptions, onUpdate?: (source: PropType, tween: Tween<PropType>) => void, onStart?: (tween: Tween<PropType>) => void): Promise<void>;
export default Animation;