# three-project **Repository Path**: yutingtao91/three-project ## Basic Information - **Project Name**: three-project - **Description**: Vue.js + three.js实现的3D场景、3D模型web端展示,支持场景、模型切换、是否自动旋转、展示区域是否铺满浏览器 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: https://github.com/YuTingtao/three-project - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 1 - **Created**: 2023-06-10 - **Last Updated**: 2025-08-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 介绍 Vue3 + ThreeJS 3D模型加载 ## 包管理工具pnpm pnpm i pnpm run dev pnpm run build ## 配置参数 ``` sceneUrl: '', // 场景url modelUrl: '', // 模型url autoRotate: false, // 是否自动旋转 ``` ## 方法 ``` loadScene(url) // 加载场景 loadModel(url) // 加载模型 controlsRotate(boolean) // 是否自动旋转 ```