UNPKG

@vctrl/hooks

Version:

vctrl/hooks is a React hooks package designed to simplify 3D model loading and management within React applications. It's part of the vectreal-core ecosystem and is primarily used in the vctrl/viewer React component and the official website application.

4 lines (3 loc) 259 B
import { ServerSceneData } from '../../../core/src/index.ts'; export declare const collectReferencedUris: (gltfJson: unknown) => Set<string>; export declare const buildSceneDataFromLocalFiles: (gltfFile: File, assetFiles: File[]) => Promise<ServerSceneData>;