@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.
6 lines (5 loc) • 511 B
TypeScript
export { default as useLoadModel } from './use-load-model/use-load-model';
export { default as useExportModel } from './use-export-model/use-export-model';
export { default as useOptimizeModel } from './use-optimize-model/use-optimize-model';
export { reconstructGltfFiles } from './use-load-model/utils/reconstruct-files';
export type { EventTypes, EventHandler, ModelFile, LoadData, UseLoadModelReturn, SceneDataLoadOptions, SceneLoadOptions, ServerSceneData, SceneLoadResult } from './use-load-model/types';