UNPKG

@readyplayerme/visage

Version:

Easily display Ready Player Me avatars and 3D on the web.

14 lines (13 loc) 528 B
import { FC } from 'react'; import { AnimationAction } from 'three'; import { AnimationsT, BaseModelProps } from 'src/types'; import { Emotion } from 'src/components/Avatar/Avatar.component'; export interface MultipleAnimationModelProps extends BaseModelProps { modelSrc: string | Blob; animations: AnimationsT; activeAnimation: string; scale?: number; emotion?: Emotion; onAnimationEnd?: (action: AnimationAction) => void; } export declare const MultipleAnimationModel: FC<MultipleAnimationModelProps>;