{"_id":"three-editor-cores","_rev":"38-312c6a1f9ed3e7961b8f131d48035b23","name":"three-editor-cores","dist-tags":{"latest":"1.1.6"},"versions":{"0.0.0":{"name":"three-editor-cores","version":"0.0.0","keywords":["three","three.js","editor","threeEditor","javascript","3d","webgl","html5"],"author":{"name":"z2586300277"},"_id":"three-editor-cores@0.0.0","maintainers":[{"name":"z2586300277","email":"2586300277@qq.com"}],"homepage":"https://z2586300277.github.io/three-editor/docs/dist","bugs":{"url":"https://github.com/z2586300277/three-editor/issues"},"dist":{"shasum":"877e65cd46fb2815c381ea1a4beec99aadd9b419","tarball":"https://registry.npmjs.org/three-editor-cores/-/three-editor-cores-0.0.0.tgz","fileCount":7,"integrity":"sha512-oV67cJ7iRW+Y8CdqJTj5Vl1GSmJADgKomZTz8IbOFUwveQXlGziZyDp2IOFyjEuBiyjCnVNj38tznUOXBjEGdQ==","signatures":[{"sig":"MEUCIQCH31QOtYjFFHJx7Z2M8pmxk2hVu6HcGwzgsRVCfkxExgIgULEXAH4m6gt/SmatUZmqt7/C3PYxQWYUVmHBkfZm8uM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3737363},"main":"./dist/index.umd.cjs","type":"module","types":"./index.d.ts","module":"./dist/index.js","exports":{"types":"./index.d.ts","import":"./dist/index.js","require":"./dist/index.umd.cjs"},"gitHead":"72aa1b079465af510f5a490c5fcb5ca5caf954dc","private":false,"scripts":{"build":"vite build","start":"vite"},"_npmUser":{"name":"z2586300277","email":"2586300277@qq.com"},"_npmVersion":"9.5.0","description":"- DEMO 预览 https://z2586300277.github.io/three-editor/dist/","directories":{},"_nodeVersion":"18.14.2","dependencies":{"gsap":"^3.12.5","proj4":"^2.11.0","three":"^0.165.0","dat.gui":"^0.7.9","vanjs-ui":"^0.10.0","vanjs-core":"^1.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.13","@rollup/plugin-terser":"^0.4.4","javascript-obfuscator":"^4.1.1","rollup-plugin-obfuscator":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/three-editor-cores_0.0.0_1733031933859_0.11128982090135953","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"three-editor-cores","version":"0.0.6","keywords":["three","three.js","editor","threeEditor","javascript","3d","webgl","html5"],"author":{"name":"z2586300277"},"_id":"three-editor-cores@0.0.6","maintainers":[{"name":"z2586300277","email":"2586300277@qq.com"}],"homepage":"https://z2586300277.github.io/three-editor/docs/dist","bugs":{"url":"https://github.com/z2586300277/three-editor/issues"},"dist":{"shasum":"5ddae5027e1a2c6d7118e2365109e0cd23109cb5","tarball":"https://registry.npmjs.org/three-editor-cores/-/three-editor-cores-0.0.6.tgz","fileCount":7,"integrity":"sha512-cU4uWkwBKZkWWSeUlkN23s+uZr+5XclxzfRv9kJk6tG2ox73ceA8Wgy0sPgl7bxI1I6BOX15xA2pEDLxP6QW8A==","signatures":[{"sig":"MEQCIDpd/jCVudVFF7Szmdy630a772FhOjPWUmuCcnsWh+vNAiBh6sqIDOhnvL0Pp2wokY+m7QGNDS71LfhDs8Wr63jFvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3737924},"main":"./dist/index.umd.cjs","type":"module","types":"./index.d.ts","module":"./dist/index.js","exports":{"types":"./index.d.ts","import":"./dist/index.js","require":"./dist/index.umd.cjs"},"gitHead":"e9d3d18de9d075e483cd579fe3addfcb7fcff5b8","private":false,"scripts":{"build":"vite build","start":"vite"},"_npmUser":{"name":"z2586300277","email":"2586300277@qq.com"},"_npmVersion":"9.5.0","description":"- DEMO 预览 https://z2586300277.github.io/three-editor/dist/","directories":{},"_nodeVersion":"18.14.2","dependencies":{"gsap":"^3.12.5","proj4":"^2.11.0","three":"^0.165.0","dat.gui":"^0.7.9","vanjs-ui":"^0.10.0","vanjs-core":"^1.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.13","@rollup/plugin-terser":"^0.4.4","javascript-obfuscator":"^4.1.1","rollup-plugin-obfuscator":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/three-editor-cores_0.0.6_1733984499248_0.3996550695043126","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"three-editor-cores","version":"0.0.9","keywords":["three","three.js","editor","threeEditor","javascript","3d","webgl","html5"],"author":{"name":"z2586300277"},"_id":"three-editor-cores@0.0.9","maintainers":[{"name":"z2586300277","email":"2586300277@qq.com"}],"homepage":"https://z2586300277.github.io/three-editor/docs/dist","bugs":{"url":"https://github.com/z2586300277/three-editor/issues"},"dist":{"shasum":"60ad4e2fc519ea75abf2d82a32c80ff998656441","tarball":"https://registry.npmjs.org/three-editor-cores/-/three-editor-cores-0.0.9.tgz","fileCount":7,"integrity":"sha512-COD1MQjs6/P4F2ltTpVfQPVAa5yjtKdBR+u+5BxlhpJ0Y7+WFkUkMd06ZKEeUNYi52vrYqAdL5EBHnLwkMIbRw==","signatures":[{"sig":"MEUCIDwwLDHbXBdGRiHX2ZQSquqH8nK9ivztzilChZmaZK5yAiEAtdeNpIC2CtM4C5vzkOrKy+TStWUHZey6sxE9txbNr3E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3737175},"main":"./dist/index.umd.cjs","type":"module","types":"./index.d.ts","module":"./dist/index.js","exports":{"types":"./index.d.ts","import":"./dist/index.js","require":"./dist/index.umd.cjs"},"gitHead":"d2a2d147419eda45f62d71325f9990c75acec9f9","private":false,"scripts":{"build":"vite build","start":"vite"},"_npmUser":{"name":"z2586300277","email":"2586300277@qq.com"},"_npmVersion":"10.1.0","description":"- DEMO 预览 https://z2586300277.github.io/three-editor/dist/","directories":{},"_nodeVersion":"20.9.0","dependencies":{"gsap":"^3.12.5","proj4":"^2.11.0","three":"^0.165.0","dat.gui":"^0.7.9","vanjs-ui":"^0.10.0","vanjs-core":"^1.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.13","@rollup/plugin-terser":"^0.4.4","javascript-obfuscator":"^4.1.1","rollup-plugin-obfuscator":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/three-editor-cores_0.0.9_1735786756511_0.23103439430868855","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"three-editor-cores","version":"1.1.0","keywords":["three","three.js","editor","threeEditor","javascript","3d","webgl","html5"],"author":{"name":"z2586300277"},"_id":"three-editor-cores@1.1.0","maintainers":[{"name":"z2586300277","email":"2586300277@qq.com"}],"homepage":"https://z2586300277.github.io/three-editor/docs/dist","bugs":{"url":"https://github.com/z2586300277/three-editor/issues"},"dist":{"shasum":"fe772c0da638dc617f378adf92356f4cfdf378af","tarball":"https://registry.npmjs.org/three-editor-cores/-/three-editor-cores-1.1.0.tgz","fileCount":7,"integrity":"sha512-oYObx2wXJoyI4yvwEukhn+St4Us+A6JR4yJXaISqRDYfhLOH86CgUgCOBaPvq5rX05/ZG8zlIXPYfjY1SwfSQQ==","signatures":[{"sig":"MEUCIQCM/Kua7RCGbMMAdEg6tCanXi5E/pph9C1XC20GBWSLawIgPsxTHT0TuVT2YdhyPk0dmUe7dqGXGUZQzicnvC504zo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3737175},"main":"./dist/index.umd.cjs","type":"module","types":"./index.d.ts","module":"./dist/index.js","exports":{"types":"./index.d.ts","import":"./dist/index.js","require":"./dist/index.umd.cjs"},"gitHead":"360a59005562513c7c213287d92835257c2051f3","private":false,"scripts":{"build":"vite build","start":"vite"},"_npmUser":{"name":"z2586300277","email":"2586300277@qq.com"},"_npmVersion":"9.5.0","description":"- DEMO 预览 https://z2586300277.github.io/three-editor/dist/","directories":{},"_nodeVersion":"18.14.2","dependencies":{"gsap":"^3.12.5","proj4":"^2.11.0","three":"^0.165.0","dat.gui":"^0.7.9","vanjs-ui":"^0.10.0","vanjs-core":"^1.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.13","@rollup/plugin-terser":"^0.4.4","javascript-obfuscator":"^4.1.1","rollup-plugin-obfuscator":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/three-editor-cores_1.1.0_1736738191534_0.2629719430943058","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"three-editor-cores","version":"1.1.1","keywords":["three","three.js","editor","threeEditor","javascript","3d","webgl","html5"],"author":{"name":"z2586300277"},"_id":"three-editor-cores@1.1.1","maintainers":[{"name":"z2586300277","email":"2586300277@qq.com"}],"homepage":"https://z2586300277.github.io/three-editor/docs/dist","bugs":{"url":"https://github.com/z2586300277/three-editor/issues"},"dist":{"shasum":"15cd48da2a737ac8ac577169bba5d77ce412d3ea","tarball":"https://registry.npmjs.org/three-editor-cores/-/three-editor-cores-1.1.1.tgz","fileCount":7,"integrity":"sha512-KBZeoQRPUhpFu8Eb6GkJnIkNw8xPYLRqnI39WVl6HFmGzUBHgx0/sa4ymzKwW761y4FCbVNPCDl3LQO9VGuU5A==","signatures":[{"sig":"MEUCIQCCeCsJT+/0aqL87WkqnFuMVWyyzDxGISMGmZp9aeQC0QIgTPIzXufXBLujzUAaHxZKFmtQRZl4MkpRI2RmNpBZ+KU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3737620},"main":"./dist/index.umd.cjs","type":"module","types":"./index.d.ts","module":"./dist/index.js","exports":{"types":"./index.d.ts","import":"./dist/index.js","require":"./dist/index.umd.cjs"},"gitHead":"bf8dbd485b5c1df7da11ebcc93157a6aea120c62","private":false,"scripts":{"build":"vite build","start":"vite"},"_npmUser":{"name":"z2586300277","email":"2586300277@qq.com"},"_npmVersion":"10.1.0","description":"- DEMO 预览 https://z2586300277.github.io/three-editor/dist/","directories":{},"_nodeVersion":"20.9.0","dependencies":{"gsap":"^3.12.5","proj4":"^2.11.0","three":"^0.165.0","dat.gui":"^0.7.9","vanjs-ui":"^0.10.0","vanjs-core":"^1.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.13","@rollup/plugin-terser":"^0.4.4","javascript-obfuscator":"^4.1.1","rollup-plugin-obfuscator":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/three-editor-cores_1.1.1_1739425848519_0.5363758008961577","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"three-editor-cores","version":"1.1.2","keywords":["three","three.js","editor","threeEditor","javascript","3d","webgl","html5"],"author":{"name":"z2586300277"},"_id":"three-editor-cores@1.1.2","maintainers":[{"name":"z2586300277","email":"2586300277@qq.com"}],"homepage":"https://z2586300277.github.io/three-editor/docs/dist","bugs":{"url":"https://github.com/z2586300277/three-editor/issues"},"dist":{"shasum":"5b83820ddc91afc3cff5e1416414aeb47ff83636","tarball":"https://registry.npmjs.org/three-editor-cores/-/three-editor-cores-1.1.2.tgz","fileCount":7,"integrity":"sha512-STQhHE8lssxbrid686FvEVRc+I0HORTEzA3Onc8dcgc7IkVpF2zdLxZImURmYbk09HQfoXVjpIO+AIOnQkkRpA==","signatures":[{"sig":"MEYCIQDmQFfUU9LFqdTZLUJEy6uZxeaWdy85Z77UdMFxhJYnAQIhAJ7LS9R/xIOhATU69C2cA3iA/TjQxiwkgsBbUOOnurcw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3738323},"main":"./dist/index.umd.cjs","type":"module","types":"./index.d.ts","module":"./dist/index.js","exports":{"types":"./index.d.ts","import":"./dist/index.js","require":"./dist/index.umd.cjs"},"gitHead":"7a6b8991caf52dae1f32e4f18f58e54eb160d113","private":false,"scripts":{"build":"vite build","start":"vite"},"_npmUser":{"name":"z2586300277","email":"2586300277@qq.com"},"_npmVersion":"9.5.0","description":"- DEMO 预览 https://z2586300277.github.io/three-editor/dist/","directories":{},"_nodeVersion":"18.14.2","dependencies":{"gsap":"^3.12.5","proj4":"^2.11.0","three":"^0.165.0","dat.gui":"^0.7.9","vanjs-ui":"^0.10.0","vanjs-core":"^1.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.13","@rollup/plugin-terser":"^0.4.4","javascript-obfuscator":"^4.1.1","rollup-plugin-obfuscator":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/three-editor-cores_1.1.2_1739427117595_0.7903896079221548","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"three-editor-cores","version":"1.1.3","keywords":["three","three.js","editor","threeEditor","javascript","3d","webgl","html5"],"author":{"name":"z2586300277"},"_id":"three-editor-cores@1.1.3","maintainers":[{"name":"z2586300277","email":"2586300277@qq.com"}],"homepage":"https://z2586300277.github.io/three-editor/docs/dist","bugs":{"url":"https://github.com/z2586300277/three-editor/issues"},"dist":{"shasum":"d69bc53483659317bc1e69b03e22561141cc3c38","tarball":"https://registry.npmjs.org/three-editor-cores/-/three-editor-cores-1.1.3.tgz","fileCount":7,"integrity":"sha512-2HHAI7Qdd2NmMWzA9pakEUEq2/d0yLS4lWNCKRzzsYdADR5HZWYwY/4/S1rQmn9Y4SmS9mpUZ/G1f31H9yLF9A==","signatures":[{"sig":"MEQCID5PuqbHDfbEr6aDFMZZf6jnNrd9X3R8n17hoT3oUGbkAiB6sv8NDP2Wvq62Ilf0fj6MXT5BQhfk2gNQ/P9TS8nPVw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3737634},"main":"./dist/index.umd.cjs","type":"module","types":"./index.d.ts","module":"./dist/index.js","exports":{"types":"./index.d.ts","import":"./dist/index.js","require":"./dist/index.umd.cjs"},"gitHead":"00eaa49382ba37e47d2ba821c79d4d0db59f0fde","private":false,"scripts":{"build":"vite build","start":"vite"},"_npmUser":{"name":"z2586300277","email":"2586300277@qq.com"},"_npmVersion":"10.7.0","description":"- DEMO 预览 https://z2586300277.github.io/three-editor/dist/","directories":{},"_nodeVersion":"22.2.0","dependencies":{"gsap":"^3.12.5","proj4":"^2.11.0","three":"^0.165.0","dat.gui":"^0.7.9","vanjs-ui":"^0.10.0","vanjs-core":"^1.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.13","@rollup/plugin-terser":"^0.4.4","javascript-obfuscator":"^4.1.1","rollup-plugin-obfuscator":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/three-editor-cores_1.1.3_1749522733073_0.7312266432040877","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"three-editor-cores","version":"1.1.4","keywords":["three","three.js","editor","threeEditor","javascript","3d","webgl","html5"],"author":{"name":"z2586300277"},"_id":"three-editor-cores@1.1.4","maintainers":[{"name":"z2586300277","email":"2586300277@qq.com"}],"homepage":"https://z2586300277.github.io/three-editor/docs/dist","bugs":{"url":"https://github.com/z2586300277/three-editor/issues"},"dist":{"shasum":"08f1b5f44218750b63435e0a7ad56cf425bf37da","tarball":"https://registry.npmjs.org/three-editor-cores/-/three-editor-cores-1.1.4.tgz","fileCount":7,"integrity":"sha512-B7M6vFyBFtI9z1ZFZUxkxKo7w4q3Wkf11bA5e5ULEDXO3qwU0qgO5toDf43p99AAhD67tt99FmwfVuq/fJKcAA==","signatures":[{"sig":"MEYCIQDqw8mxDD+tOOL9gZ1toVGghOs9LnoqXsty0jkQvC/+cgIhALhUbLfjCQPFUnDFKrtTazhW139V6dnrmAL5YRO863WU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3738621},"main":"./dist/index.umd.cjs","type":"module","types":"./index.d.ts","module":"./dist/index.js","exports":{"types":"./index.d.ts","import":"./dist/index.js","require":"./dist/index.umd.cjs"},"gitHead":"0d0d2531e77a07264121dba33511e246872d1eac","private":false,"scripts":{"build":"vite build","start":"vite"},"_npmUser":{"name":"z2586300277","email":"2586300277@qq.com"},"_npmVersion":"10.7.0","description":"- DEMO 预览 https://z2586300277.github.io/three-editor/dist/","directories":{},"_nodeVersion":"22.2.0","dependencies":{"gsap":"^3.12.5","proj4":"^2.11.0","three":"^0.165.0","dat.gui":"^0.7.9","vanjs-ui":"^0.10.0","vanjs-core":"^1.5.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.13","@rollup/plugin-terser":"^0.4.4","javascript-obfuscator":"^4.1.1","rollup-plugin-obfuscator":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/three-editor-cores_1.1.4_1757555435789_0.03899544091287144","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"three-editor-cores","private":false,"version":"1.1.6","publishConfig":{"registry":"https://registry.npmjs.org/"},"keywords":["three","three.js","editor","threeEditor","javascript","3d","webgl","html5"],"bugs":{"url":"https://github.com/z2586300277/three-editor/issues"},"homepage":"https://z2586300277.github.io/three-editor/docs/dist","author":{"name":"z2586300277"},"type":"module","main":"./dist/index.umd.cjs","module":"./dist/index.js","types":"./index.d.ts","exports":{"types":"./index.d.ts","import":"./dist/index.js","require":"./dist/index.umd.cjs"},"scripts":{"start":"vite","build":"vite build"},"dependencies":{"dat.gui":"^0.7.9","gsap":"^3.12.5","proj4":"^2.11.0","three":"^0.165.0","vanjs-core":"^1.5.0","vanjs-ui":"^0.10.0"},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","javascript-obfuscator":"^4.1.1","rollup-plugin-obfuscator":"^1.1.0","vite":"^5.2.13"},"gitHead":"7127fbfa01f0eed0ca33bb226899bd5d38a34ebd","description":"- DEMO 预览 https://z2586300277.github.io/three-editor/dist/","_id":"three-editor-cores@1.1.6","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"integrity":"sha512-b32VRhGG7wVlkBcRYv9FQNuoTt6QcUPMyMjgJqCjUPyf1bCwIDHtfqFsVxXQ3oSTdgelNyh1qiMxnOVFvoaNDQ==","shasum":"06fbba804fb26aaff96d079b51f52480d30c5bfe","tarball":"https://registry.npmjs.org/three-editor-cores/-/three-editor-cores-1.1.6.tgz","fileCount":7,"unpackedSize":3740152,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDlj0Ka7IQU/dsZcdiew8uijpe7wKBLIckQUxlQXK5sUwIgTaHIRWPX/YICi8IEOCYFl7Xi2wh5WnKvOFA2ikKqGHI="}]},"_npmUser":{"name":"z2586300277","email":"2586300277@qq.com"},"directories":{},"maintainers":[{"name":"z2586300277","email":"2586300277@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/three-editor-cores_1.1.6_1768035687298_0.4276760646557889"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-01T05:45:33.859Z","modified":"2026-01-10T09:01:27.774Z","0.0.1":"2024-05-09T02:59:24.206Z","0.0.2":"2024-05-09T03:25:29.160Z","0.0.3":"2024-05-10T03:27:59.155Z","0.0.4":"2024-05-15T02:10:24.463Z","0.0.5":"2024-05-17T10:12:51.566Z","0.1.0":"2024-05-29T10:39:39.309Z","0.1.1":"2024-06-12T03:31:50.749Z","0.1.2":"2024-06-24T07:29:50.169Z","0.1.3":"2024-07-12T02:33:08.619Z","0.1.4":"2024-11-05T10:21:11.493Z","0.1.5":"2024-11-05T10:23:59.266Z","0.2.0":"2024-11-05T10:31:57.938Z","0.1.7":"2024-11-05T10:37:03.742Z","0.2.1":"2024-11-05T10:38:51.567Z","0.2.2":"2024-11-05T10:41:37.122Z","1.0.0":"2024-11-07T02:47:19.365Z","0.0.0":"2024-12-01T05:45:34.075Z","0.0.6":"2024-12-12T06:21:39.517Z","0.0.9":"2025-01-02T02:59:16.729Z","1.1.0":"2025-01-13T03:16:31.769Z","1.1.1":"2025-02-13T05:50:48.769Z","1.1.2":"2025-02-13T06:11:57.847Z","1.1.3":"2025-06-10T02:32:13.303Z","1.1.4":"2025-09-11T01:50:36.096Z","1.1.6":"2026-01-10T09:01:27.575Z"},"bugs":{"url":"https://github.com/z2586300277/three-editor/issues"},"author":{"name":"z2586300277"},"homepage":"https://z2586300277.github.io/three-editor/docs/dist","keywords":["three","three.js","editor","threeEditor","javascript","3d","webgl","html5"],"description":"- DEMO 预览 https://z2586300277.github.io/three-editor/dist/","maintainers":[{"name":"z2586300277","email":"2586300277@qq.com"}],"readme":"# README \r\n\r\n- DEMO 预览 https://z2586300277.github.io/three-editor/dist/\r\n\r\n- 案例 https://z2586300277.github.io/three-editor/dist/#/example\r\n\r\n- github https://github.com/z2586300277/three-editor\r\n\r\n- author https://github.com/z2586300277\r\n\r\n- THREE.js 0.164.1\r\n\r\n- Copyright (c) threehub.cn email:2586300277@qq.com All rights reserved.\r\n\r\n- window.THREE_EDITOR_NOTIP = true  // remove info console\r\n\r\n## 使用\r\n\r\n```js\r\n\r\nnpm install three-editor-cores\r\n\r\nimport { ThreeEditor } from 'three-editor-cores'\r\n\r\nconst { ThreeEditor } = require('three-editor-cores')\r\n\r\n```\r\n\r\n### threeEditor 版本 export 逻辑介绍\r\n\r\n1. 与此次场景业务相关的Api,实例化后的threeEditor 对象下调用。\r\n\r\n2. 所有场景通用的方法或与本次场景无关的类/方法等,会单独进行抛出。\r\n\r\n例: import { ThreeEditor, THREE, gsap, createGsapAnimation, ... } from 'index.js'\r\n\r\n### 初始化\r\n\r\n- 设置静态字段\r\n\r\n```js\r\n\r\nThreeEditor.dracoPath = '/dracoPath' // draco解压包路径\r\n\r\nThreeEditor.styleOverrides // 修改部分属性以改变弹窗控件样式\r\n\r\n```\r\n\r\n```js\r\nconst container =  document.querySelector('#threeBox')\r\n\r\nconst initParams = {\r\n\r\n    fps: null, // 最大帧率\r\n\r\n    pixelRatio: window.devicePixelRatio, //像素比\r\n\r\n    webglRenderParams: { antialias: true, alpha: true, logarithmicDepthBuffer: true } // 抗锯齿等\r\n\r\n    sceneParams\r\n\r\n}\r\n\r\nconst threeEditor = new ThreeEditor(containor, initParams)\r\n\r\n```\r\n\r\n### 通用引入形式 API 或 对象\r\n\r\n- 使用方式 import { API } from '源'\r\n\r\n```js\r\n\r\n/**\r\n * 创建mesh 对象\r\n * \r\n * 参数一 几何 默认值 { type: '平面', parameters: 对应几何体的参数对象 }\r\n * \r\n * 参数二 材质 默认值 { type: '基础材质', parameters: 对应材质的参数对象 }\r\n * \r\n * 参数三 贴图 默认值 { type: '图片', url: '路径' } \r\n */\r\n\r\ncreateMesh({ type: '平面', parameters: { width: 20 } }, { type: '基础材质' })\r\n\r\ncreateMesh({ parameters: { width: 10 } }, { parameters: { color: 'red' } })\r\n\r\ncreateMesh({ type: '平面' }, undefined, { url: '' })\r\n\r\n/**\r\n * 补间动画 例如: 对camera.position 视角补间 , controls.target 视角中心补间\r\n * \r\n * vector3 旧的三维向量, vector3_ 更改后的三维向量 可以是对象 { x: 0, y: 0, z: 0 }\r\n * \r\n * gsapQuery { duration: 3, ease: 'none', repeat: 0, yoyo: false ， onUpdate: () => {}, onComplete: () =>{} }\r\n * \r\n * duration 动画时间\r\n * \r\n * ease 缓动函数\r\n * \r\n * repeat 重复次数\r\n * \r\n * yoyo 往返播放\r\n * \r\n * onUpdate 动画更新回调\r\n * \r\n * onComplete 动画完成回调\r\n * \r\n * return gsapControl 动画对象 用于控制动画 gsapControl.pause() gsapControl.play() gsapControl.kill()\r\n*/\r\n\r\ncreateGsapAnimation(vector3, vector3_, gsapQuery)\r\n\r\n/**\r\n * 克隆材质将object 所有材质克隆到自身\r\n * \r\n * mesh.originMaterial 为自身\r\n */\r\n\r\ncloneObjectMaterial(cloneObjectMaterial)\r\n\r\n```\r\n\r\n### threeEditor 核心属性 与 方法API\r\n\r\n- 核心属性 GUI-控板 scene camera controls renderer stats-性能 handler-操作 modelCore-模型核心 drawCore-绘制核心 chartsMapCore-地图核心 ...\r\n\r\n```js\r\n\r\nthreeEditor.openControlPanel()  // 打开控制板\r\n\r\nthreeEditor.saveSceneEdit() // 返回场景编辑参数\r\n\r\nthreeEditor.renderSceneResize() // 窗口改变大小调用\r\n\r\nthreeEditor.resetEditorStorage(sceneParams) //根据参数重置场景\r\n\r\nthreeEditor.destroySceneRender() // 场景销毁调用\r\n\r\nthreeEditor.shaderLibrary:Object // 场景对应的着色器列表对象\r\n\r\n/**\r\n * type = '类型' parameters = '对应光源参数'\r\n * \r\n * 设置光源\r\n */\r\n\r\nthreeEditor.setLight('PointLight')\r\n\r\n/**\r\n * 设置对象混合着色\r\n * \r\n * 参数 object, shaderProgramsCodeName = '水波纹', uvType = 'material'\r\n */\r\n\r\nconst mesh = createMesh({ type: '平面' }, { parameters: { color: '#ffffff' } });\r\n\r\n['水波纹', '彩虹光', '火焰燃烧', '晶片着色'].forEach((i, k) => setTimeout(() => threeEditor.setObjectBlendShader(mesh, i), k * 1000))\r\n\r\n/**\r\n * e DOM click/dblclick/mousemove/mouseup/mousedown 事件  \r\n * \r\n * info 返回点击相关信息\r\n */\r\n\r\nthreeEditor.getSceneEvent(e, (info) => ())\r\n\r\n/**\r\n * 原生未处理事件 \r\n * \r\n * return { raycaster, getIntersects }\r\n * \r\n * getIntersects(e, list) e为鼠标事件  list 需要射线检测的列表\r\n */\r\n\r\nthreeEditor.getRawSceneEvent()\r\n\r\n/**\r\n * 场景截图\r\n * \r\n * 例 params = ['image/jpeg', 0.9]  => toDataURL(...params) \r\n */\r\n\r\nthreeEditor.getSceneEditorImage(params)\r\n\r\n/**\r\n * 设置轮廓光选中\r\n * \r\n * model 模型对象 数组形式\r\n * \r\n * 清空传 []\r\n */\r\n\r\nthreeEditor.setOutlinePass([model])\r\n\r\n/**\r\n * 设置二维DOM 元素\r\n * \r\n * DOM 传入的dom元素\r\n * \r\n * point 传入的坐标点\r\n * \r\n * return mesh  属性 destroy() 销毁方法  更新重新调用 setCss2dDOM\r\n * \r\n * 注：移除事件 生成完毕 => dom.style.pointerEvents = 'none'\r\n */\r\n\r\nconst mesh = threeEditor.setCss2dDOM(document.querySelector('#your_dom'),point) \r\n\r\nmesh.destroy() \r\n\r\n/**\r\n * 设置三维DOM 元素\r\n * \r\n * DOM 传入的dom元素\r\n * \r\n * point 传入的坐标点\r\n * \r\n * return mesh  属性 destroy() 销毁方法  更新重新调用 setCss3dDOM\r\n * \r\n * 注：移除事件 生成完毕 => dom.style.pointerEvents = 'none'\r\n */\r\n \r\nconst mesh = threeEditor.setCss3dDOM(document.querySelector('#your_dom'),point)\r\n\r\nmesh.destroy()\r\n\r\n/**\r\n * 根据参数播放模型动画\r\n *  \r\n * 参数 mesh => 加载的模型对象  模型如果存在动画 则mesh 会携带以下属性\r\n * \r\n * animations => 模型动画列表\r\n * \r\n * animationPlayParams => 模型动画播放参数 与GUI一致 修改会进行保存 如下 可自行修改\r\n * \r\n * { initPlay: false, speed: 0.5, actionIndexs: [animations.length], startTime: 0, loop: true, frameCallback: () => { } }\r\n * \r\n * initPlay 是否初始化播放 speed 播放速度 actionIndexs: [需要播放得动画 bool] startTime 播放开始时间 loop 是否循环播放 frameCallback 每一帧回调\r\n * \r\n * return { mixer: 播放器, actions:播放列表 }   暂停/继续 actions.forEach(i => i.paused = !i.paused)  停止:i.stop()  播放:i.play() \r\n */\r\n\r\nconst model = threeEditor.currentInfo?.currentRootModel\r\n\r\nconst _actions = Math.random() > 0.5 ? [1, 3, 5, 7] : [2, 4, 6, 8]\r\n\r\nmodel.animationPlayParams.actionIndexs.forEach((_, k, arr) => arr[k] = _actions.includes(k))\r\n\r\nconst { mixer, actions } = threeEditor.setModelAnimationPlay(model)\r\n\r\nmixer.addEventListener('finished', (e) => console.log(123))\r\n\r\n```\r\n\r\n### 属性 stats\r\n\r\n```js\r\n\r\nstats.setOffset(top,left) //设置偏移量\r\n\r\n```\r\n\r\n### 属性 scene 与 scene API\r\n\r\n```js\r\n\r\nscene.setSceneBackground(urls) // 设置天空 urls 为天空盒6张图\r\n\r\nscene.setEnvBackground(urls) // 设置环境贴图 同上\r\n\r\n```\r\n\r\n### 下挂属性 handler 与 handler API\r\n\r\n```js\r\n\r\nhandler.mode = '选项' //'选择', '根选择', '变换', '场景绘制', '点击信息'\r\n\r\nhandler.setHandlerOption(key, value) // key = grid || axes || openKey || stats  : value = true || false\r\n\r\n```\r\n\r\n### 下挂属性transformControls\r\n\r\n```js\r\n\r\ntransformControls[key] = value // 设置控制器相关属性\r\n\r\ntransformControls.dragChangeCallback = (v) => {} // 控制器拖拽回调\r\n\r\n```\r\n\r\n### 模型核心 modelCore 与下挂API\r\n\r\n```js\r\n\r\n/**\r\n * 模型加载进度控制\r\n * \r\n * loaderService = { progress, complete }\r\n */\r\n\r\nmodelCore.progressList.forEach(i => i.loaderService.progress = e => {}) \r\n\r\n/**\r\n * { type: 'GLTF/OBJ/GLB/FBX', url: 'HOST/yCar.glb' },\r\n *\r\n * 根据传参 插入模型\r\n * \r\n * return { loaderService, type }\r\n */\r\n\r\nconst { loaderService, rootInfo } = threeEditor.modelCore.insertModel({ type: 'GLTF', url: 'HOST/yCar.glb' })\r\n\r\nloaderService.progress = e => console.log(e) // 单一进度回调\r\n\r\nloaderService.complete = (model) => console.log('加载完成') // 单一加载完成回调\r\n\r\n```\r\n\r\n### 地图 chartsMapCore 与下挂API\r\n\r\n```js\r\n\r\nchartsMapCore.progressList // [promise] 列表 promise.then 返回地图对应的group 对象\r\n\r\n```\r\n","readmeFilename":"README.MD"}