metatell Bot SDK - v2.0.0
    Preparing search index...

    Interface IAnimationService

    Service interface for managing VRM animations

    interface IAnimationService {
        clearCache(): void;
        getAvailableAnimations(avatarId: string): Promise<VRMAnimation[]>;
        getDefaultAnimations(): VRMAnimation[];
        loadAnimation(animationId: string): Promise<VRMAnimation>;
        setCurrentAvatarId(avatarId: string): void;
        validateAnimation(animationId: string): Promise<boolean>;
    }
    Index
    • Validate if animation is available for the current avatar

      Parameters

      • animationId: string

        The animation ID

      Returns Promise<boolean>

      Promise resolving to boolean