sandai-react
Version:
React components and utilities for the Sandai 3D AI Characters.
27 lines • 837 B
TypeScript
import React from "react";
import { Vector3, Scene, Camera } from "three";
import { VRMManager } from "./utils/VRMManager";
export interface VRMAvatarProps {
lowPerformanceMode?: boolean;
animationSmoothing?: {
full?: number;
body?: number;
head?: number;
face?: number;
arms?: number;
legs?: number;
hands?: number;
};
scene: Scene;
camera: Camera;
vrmUrl: string;
prefetchFiles?: string[];
motionExpressionWorkerUrl?: string;
initialPosition?: Vector3;
webGPUCompatibilityMode?: boolean;
onLoad?: (vrmManager: VRMManager, scene?: Scene) => void;
onLoadError: (message: unknown) => void;
onProgress?: (progress: number) => void;
}
export declare const VRMAvatar: React.FC<VRMAvatarProps>;
//# sourceMappingURL=VRMAvatar.d.ts.map