更新升级 资源管理器插件

This commit is contained in:
hawk86104 2025-02-06 12:45:13 +08:00
parent 4a0740bd39
commit e3f9456eba
2 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,7 @@
* @Autor: 地虎降天龙
* @Date: 2024-11-26 10:11:19
* @LastEditors: 地虎降天龙
* @LastEditTime: 2024-11-27 11:59:34
* @LastEditTime: 2025-02-06 12:43:53
-->
<template>
<primitive :object="emitters" />
@ -45,6 +45,10 @@ const emitters = new THREE.Group()
const obj = Resource.getItem('CartoonMagicZone.json').clone(true)
obj.traverse((child: any) => {
if (child.type === 'ParticleEmitter') {
if (child.name === 'BasicZoneRedEmitter') {
// three.quarks
child.rotation.set(Math.PI / 2, 0, 0)
}
const childSystem = child.system
childSystem.startColor = getPropsColor(childSystem.startColor.color.w)
batchSystem.addSystem(childSystem)

View File

@ -4,14 +4,14 @@
* @Autor: 地虎降天龙
* @Date: 2024-11-26 09:58:13
* @LastEditors: 地虎降天龙
* @LastEditTime: 2024-12-03 11:57:25
* @LastEditTime: 2025-02-06 12:43:41
*/
export default {
"name": "resourceManager",
"title": "资源管理器插件",
"intro": `适用于TvT.js的资源管理器插件结合loading管理器预加载模型和材质等资源。使用方法详情请见
<a style="color: #5384ff;" href="https://www.icegl.cn/tvtstore/resourceManager" target="_blank">资源管理器插件</a>`,
"version": "1.1.1",
"version": "1.1.2",
"author": '地虎降天龙',
"website": 'https://gitee.com/hawk86104',
"state": 'active',