@galacean/effects-plugin-model 2.0.0-alpha.2 → 2.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +8 -0
- package/dist/index.js +324 -163
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.mjs +326 -165
- package/dist/index.mjs.map +1 -1
- package/dist/loader.mjs +327 -166
- package/dist/loader.mjs.map +1 -1
- package/dist/plugin/model-item.d.ts +21 -29
- package/dist/plugin/model-plugin.d.ts +3 -2
- package/dist/runtime/camera.d.ts +7 -6
- package/dist/runtime/light.d.ts +6 -5
- package/dist/runtime/material.d.ts +11 -5
- package/dist/runtime/mesh.d.ts +8 -8
- package/dist/runtime/skybox.d.ts +3 -3
- package/package.json +4 -4
package/dist/loader.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loader.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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RendererComponent, TimelineComponent } from '@galacean/effects';
|
|
3
3
|
import { Vector3 } from '../runtime/math';
|
|
4
4
|
import type { Euler } from '../runtime/math';
|
|
5
|
-
import type { ModelItemBounding,
|
|
5
|
+
import type { ModelItemBounding, ModelMeshComponentData, ModelCameraComponentData, ModelSkyboxComponentData, ModelLightComponentData } from '../index';
|
|
6
6
|
import type { PSceneManager } from '../runtime';
|
|
7
7
|
import { PCamera, PLight, PMesh, PSkybox } from '../runtime';
|
|
8
|
-
export declare enum ModelDataType {
|
|
9
|
-
MeshComponent = 10000,
|
|
10
|
-
SkyboxComponent = 10001,
|
|
11
|
-
LightComponent = 10002,
|
|
12
|
-
CameraComponent = 10003,
|
|
13
|
-
ModelPluginComponent = 10004,
|
|
14
|
-
TreeComponent = 10005
|
|
15
|
-
}
|
|
16
8
|
/**
|
|
17
9
|
* 插件 Mesh 组件类,支持 3D Mesh 渲染能力
|
|
18
10
|
* @since 2.0.0
|
|
@@ -26,7 +18,7 @@ export declare class ModelMeshComponent extends RendererComponent {
|
|
|
26
18
|
/**
|
|
27
19
|
* 参数
|
|
28
20
|
*/
|
|
29
|
-
|
|
21
|
+
data?: ModelMeshComponentData;
|
|
30
22
|
/**
|
|
31
23
|
* 包围盒
|
|
32
24
|
*/
|
|
@@ -38,9 +30,9 @@ export declare class ModelMeshComponent extends RendererComponent {
|
|
|
38
30
|
/**
|
|
39
31
|
* 构造函数,只保存传入参数,不在这里创建内部对象
|
|
40
32
|
* @param engine - 引擎
|
|
41
|
-
* @param
|
|
33
|
+
* @param data - Mesh 参数
|
|
42
34
|
*/
|
|
43
|
-
constructor(engine: Engine,
|
|
35
|
+
constructor(engine: Engine, data?: ModelMeshComponentData);
|
|
44
36
|
/**
|
|
45
37
|
* 组件开始,需要创建内部对象,更新父元素信息和添加到场景管理器中
|
|
46
38
|
*/
|
|
@@ -62,9 +54,9 @@ export declare class ModelMeshComponent extends RendererComponent {
|
|
|
62
54
|
onDestroy(): void;
|
|
63
55
|
/**
|
|
64
56
|
* 反序列化,记录传入参数
|
|
65
|
-
* @param
|
|
57
|
+
* @param data - 组件参数
|
|
66
58
|
*/
|
|
67
|
-
fromData(
|
|
59
|
+
fromData(data: ModelMeshComponentData): void;
|
|
68
60
|
/**
|
|
69
61
|
* 创建内部对象
|
|
70
62
|
*/
|
|
@@ -103,7 +95,7 @@ export declare class ModelSkyboxComponent extends RendererComponent {
|
|
|
103
95
|
/**
|
|
104
96
|
* 天空盒参数
|
|
105
97
|
*/
|
|
106
|
-
|
|
98
|
+
data?: ModelSkyboxComponentData;
|
|
107
99
|
/**
|
|
108
100
|
* 场景管理器
|
|
109
101
|
*/
|
|
@@ -111,9 +103,9 @@ export declare class ModelSkyboxComponent extends RendererComponent {
|
|
|
111
103
|
/**
|
|
112
104
|
* 构造函数,只保存传入参数,不在这里创建内部对象
|
|
113
105
|
* @param engine - 引擎
|
|
114
|
-
* @param
|
|
106
|
+
* @param data - Mesh 参数
|
|
115
107
|
*/
|
|
116
|
-
constructor(engine: Engine,
|
|
108
|
+
constructor(engine: Engine, data?: ModelSkyboxComponentData);
|
|
117
109
|
/**
|
|
118
110
|
* 组件开始,需要创建内部对象和添加到场景管理器中
|
|
119
111
|
*/
|
|
@@ -130,9 +122,9 @@ export declare class ModelSkyboxComponent extends RendererComponent {
|
|
|
130
122
|
onDestroy(): void;
|
|
131
123
|
/**
|
|
132
124
|
* 反序列化,记录传入参数
|
|
133
|
-
* @param
|
|
125
|
+
* @param data - 组件参数
|
|
134
126
|
*/
|
|
135
|
-
fromData(
|
|
127
|
+
fromData(data: ModelSkyboxComponentData): void;
|
|
136
128
|
/**
|
|
137
129
|
* 创建内部对象
|
|
138
130
|
*/
|
|
@@ -160,13 +152,13 @@ export declare class ModelLightComponent extends ItemBehaviour {
|
|
|
160
152
|
/**
|
|
161
153
|
* 参数
|
|
162
154
|
*/
|
|
163
|
-
|
|
155
|
+
data?: ModelLightComponentData;
|
|
164
156
|
/**
|
|
165
157
|
* 构造函数,只保存传入参数,不在这里创建内部对象
|
|
166
158
|
* @param engine - 引擎
|
|
167
|
-
* @param
|
|
159
|
+
* @param data - Mesh 参数
|
|
168
160
|
*/
|
|
169
|
-
constructor(engine: Engine,
|
|
161
|
+
constructor(engine: Engine, data?: ModelLightComponentData);
|
|
170
162
|
/**
|
|
171
163
|
* 组件开始,需要创建内部对象和添加到场景管理器中
|
|
172
164
|
*/
|
|
@@ -182,9 +174,9 @@ export declare class ModelLightComponent extends ItemBehaviour {
|
|
|
182
174
|
onDestroy(): void;
|
|
183
175
|
/**
|
|
184
176
|
* 反序列化,记录传入参数
|
|
185
|
-
* @param
|
|
177
|
+
* @param data - 组件参数
|
|
186
178
|
*/
|
|
187
|
-
fromData(
|
|
179
|
+
fromData(data: ModelLightComponentData): void;
|
|
188
180
|
/**
|
|
189
181
|
* 创建内部对象
|
|
190
182
|
*/
|
|
@@ -212,7 +204,7 @@ export declare class ModelCameraComponent extends ItemBehaviour {
|
|
|
212
204
|
/**
|
|
213
205
|
* 参数
|
|
214
206
|
*/
|
|
215
|
-
|
|
207
|
+
data?: ModelCameraComponentData;
|
|
216
208
|
/**
|
|
217
209
|
* 时间轴组件
|
|
218
210
|
*/
|
|
@@ -220,9 +212,9 @@ export declare class ModelCameraComponent extends ItemBehaviour {
|
|
|
220
212
|
/**
|
|
221
213
|
* 构造函数,只保存传入参数,不在这里创建内部对象
|
|
222
214
|
* @param engine - 引擎
|
|
223
|
-
* @param
|
|
215
|
+
* @param data - Mesh 参数
|
|
224
216
|
*/
|
|
225
|
-
constructor(engine: Engine,
|
|
217
|
+
constructor(engine: Engine, data?: ModelCameraComponentData);
|
|
226
218
|
/**
|
|
227
219
|
* 组件开始,需要创建内部对象和添加到场景管理器中
|
|
228
220
|
*/
|
|
@@ -238,9 +230,9 @@ export declare class ModelCameraComponent extends ItemBehaviour {
|
|
|
238
230
|
onDestroy(): void;
|
|
239
231
|
/**
|
|
240
232
|
* 反序列化,记录传入参数
|
|
241
|
-
* @param
|
|
233
|
+
* @param data - 组件参数
|
|
242
234
|
*/
|
|
243
|
-
fromData(
|
|
235
|
+
fromData(data: ModelCameraComponentData): void;
|
|
244
236
|
/**
|
|
245
237
|
* 创建内部对象
|
|
246
238
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Scene, SceneLoadOptions, Composition, RenderFrame, Engine, Component } from '@galacean/effects';
|
|
2
|
-
import { AbstractPlugin, ItemBehaviour } from '@galacean/effects';
|
|
1
|
+
import type { Scene, SceneLoadOptions, Composition, RenderFrame, Engine, Component, Renderer } from '@galacean/effects';
|
|
2
|
+
import { AbstractPlugin, spec, ItemBehaviour } from '@galacean/effects';
|
|
3
3
|
import { CompositionCache } from '../runtime/cache';
|
|
4
4
|
import { PSceneManager } from '../runtime';
|
|
5
5
|
/**
|
|
@@ -24,6 +24,7 @@ export declare class ModelPlugin extends AbstractPlugin {
|
|
|
24
24
|
* @param options - 加载选项
|
|
25
25
|
*/
|
|
26
26
|
static prepareResource(scene: Scene, options: SceneLoadOptions): Promise<void>;
|
|
27
|
+
static precompile(compositions: spec.Composition[], renderer: Renderer): Promise<void>;
|
|
27
28
|
/**
|
|
28
29
|
* 创建 3D 场景管理器和缓存器
|
|
29
30
|
* @param composition - 合成
|
package/dist/runtime/camera.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { math } from '@galacean/effects';
|
|
2
2
|
import { spec } from '@galacean/effects';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ModelCameraComponentData } from '../index';
|
|
4
4
|
import { Vector2, Vector3, Matrix4 } from './math';
|
|
5
5
|
import { PEntity } from './object';
|
|
6
6
|
import type { ModelCameraComponent } from '../plugin/model-item';
|
|
@@ -33,7 +33,7 @@ export declare class PCamera extends PEntity {
|
|
|
33
33
|
/**
|
|
34
34
|
* Y 轴上视角
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
fov: number;
|
|
37
37
|
/**
|
|
38
38
|
* 纵横比
|
|
39
39
|
*/
|
|
@@ -57,7 +57,7 @@ export declare class PCamera extends PEntity {
|
|
|
57
57
|
* @param height - 画布高度
|
|
58
58
|
* @param owner - 所属的相机组件
|
|
59
59
|
*/
|
|
60
|
-
constructor(name: string, width: number, height: number,
|
|
60
|
+
constructor(name: string, width: number, height: number, data: ModelCameraComponentData, owner?: ModelCameraComponent);
|
|
61
61
|
/**
|
|
62
62
|
* 更新相机矩阵和投影矩阵,从所属的元素中获取变换数据
|
|
63
63
|
*/
|
|
@@ -112,11 +112,12 @@ export declare class PCameraManager {
|
|
|
112
112
|
initial(width: number, height: number): void;
|
|
113
113
|
/**
|
|
114
114
|
* 插入相机数据,创建新的相机对象
|
|
115
|
-
* @param
|
|
116
|
-
* @param
|
|
115
|
+
* @param name - 相机名称
|
|
116
|
+
* @param data - 相机相关数据
|
|
117
|
+
* @param owner - 相机所属组件
|
|
117
118
|
* @returns 新的相机对象
|
|
118
119
|
*/
|
|
119
|
-
insert(name: string,
|
|
120
|
+
insert(name: string, data: ModelCameraComponentData, owner?: ModelCameraComponent): PCamera;
|
|
120
121
|
/**
|
|
121
122
|
* 插入相机对象
|
|
122
123
|
* @param camera - 相机对象
|
package/dist/runtime/light.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ModelLightComponentData } from '../index';
|
|
2
2
|
import { Vector2, Vector3 } from './math';
|
|
3
3
|
import { PLightType } from './common';
|
|
4
4
|
import { PEntity } from './object';
|
|
@@ -42,10 +42,11 @@ export declare class PLight extends PEntity {
|
|
|
42
42
|
padding: Vector2;
|
|
43
43
|
/**
|
|
44
44
|
* 创建灯光对象
|
|
45
|
-
* @param
|
|
46
|
-
* @param
|
|
45
|
+
* @param name - 灯光名称
|
|
46
|
+
* @param data - 灯光相关数据
|
|
47
|
+
* @param owner - 所属灯光组件
|
|
47
48
|
*/
|
|
48
|
-
constructor(name: string,
|
|
49
|
+
constructor(name: string, data: ModelLightComponentData, owner?: ModelLightComponent);
|
|
49
50
|
/**
|
|
50
51
|
* 更新灯光变换
|
|
51
52
|
*/
|
|
@@ -100,7 +101,7 @@ export declare class PLightManager {
|
|
|
100
101
|
* @param owner - 所属灯光组件
|
|
101
102
|
* @returns 插入的灯光对象
|
|
102
103
|
*/
|
|
103
|
-
insertItem(name: string, inLight:
|
|
104
|
+
insertItem(name: string, inLight: ModelLightComponentData, owner?: ModelLightComponent): PLight;
|
|
104
105
|
/**
|
|
105
106
|
* 插入灯光对象
|
|
106
107
|
* @param inLight - 灯光对象
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Texture } from '@galacean/effects';
|
|
2
|
+
import { Material } from '@galacean/effects';
|
|
2
3
|
import { spec } from '@galacean/effects';
|
|
3
4
|
import type { ModelMaterialOptions, ModelMaterialUnlitOptions, ModelMaterialPBROptions } from '../index';
|
|
4
5
|
import { Vector3, Vector4, Matrix3 } from './math';
|
|
@@ -8,6 +9,8 @@ import { PObject } from './object';
|
|
|
8
9
|
* 3D 材质基础类,支持公共的材质功能
|
|
9
10
|
*/
|
|
10
11
|
export declare abstract class PMaterialBase extends PObject {
|
|
12
|
+
fromMaterial: boolean;
|
|
13
|
+
material?: Material;
|
|
11
14
|
/**
|
|
12
15
|
* 材质类型,主要是 pbr 和 unlit 两类
|
|
13
16
|
*/
|
|
@@ -56,6 +59,7 @@ export declare abstract class PMaterialBase extends PObject {
|
|
|
56
59
|
* @param inFeatureList - 外部特性列表
|
|
57
60
|
*/
|
|
58
61
|
build(inFeatureList?: string[]): void;
|
|
62
|
+
getFeatureList(inFeatureList?: string[]): string[];
|
|
59
63
|
/**
|
|
60
64
|
* 获取混合模式,根据 GE 混合模式
|
|
61
65
|
* @param mode - GE 混合模式
|
|
@@ -245,9 +249,9 @@ export declare class PMaterialPBR extends PMaterialBase {
|
|
|
245
249
|
*/
|
|
246
250
|
emissiveTextureTrans?: Matrix3;
|
|
247
251
|
/**
|
|
248
|
-
* 自发光颜色值,默认是黑色
|
|
252
|
+
* 自发光颜色值,默认是黑色 Vector4(0, 0, 0, 0)
|
|
249
253
|
*/
|
|
250
|
-
emissiveFactor:
|
|
254
|
+
emissiveFactor: Vector4;
|
|
251
255
|
/**
|
|
252
256
|
* 自发光强度
|
|
253
257
|
*/
|
|
@@ -258,6 +262,7 @@ export declare class PMaterialPBR extends PMaterialBase {
|
|
|
258
262
|
* @param options - PBR 材质参数
|
|
259
263
|
*/
|
|
260
264
|
create(options: ModelMaterialPBROptions): void;
|
|
265
|
+
createFromMaterial(mat: Material): void;
|
|
261
266
|
/**
|
|
262
267
|
* 销毁材质
|
|
263
268
|
*/
|
|
@@ -386,12 +391,13 @@ export declare class PMaterialPBR extends PMaterialBase {
|
|
|
386
391
|
* 获取自发光颜色,包含强度
|
|
387
392
|
* @returns
|
|
388
393
|
*/
|
|
389
|
-
getEmissiveFactor():
|
|
394
|
+
getEmissiveFactor(): Vector4;
|
|
390
395
|
/**
|
|
391
396
|
* 设置自发光颜色
|
|
392
397
|
* @param val - 颜色
|
|
393
398
|
*/
|
|
394
399
|
setEmissiveFactor(val: Vector3 | spec.vec3): void;
|
|
400
|
+
getTextureFromMaterial(mat: Material, texName: string): Texture | undefined;
|
|
395
401
|
}
|
|
396
402
|
/**
|
|
397
403
|
* 材质类型,包括无光照材质和 PBR 材质
|
|
@@ -402,5 +408,5 @@ export type PMaterial = PMaterialUnlit | PMaterialPBR;
|
|
|
402
408
|
* @param options - 材质参数
|
|
403
409
|
* @returns 材质对象
|
|
404
410
|
*/
|
|
405
|
-
export declare function createPluginMaterial(options: ModelMaterialOptions): PMaterial;
|
|
411
|
+
export declare function createPluginMaterial(options: ModelMaterialOptions | Material): PMaterial;
|
|
406
412
|
export declare function createInternalMaterial(options: {}): {};
|
package/dist/runtime/mesh.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { spec, Mesh, Material } from '@galacean/effects';
|
|
3
|
-
import type {
|
|
1
|
+
import type { Engine, math, VFXItemContent, VFXItem, Renderer } from '@galacean/effects';
|
|
2
|
+
import { Geometry, spec, Mesh, Material } from '@galacean/effects';
|
|
3
|
+
import type { ModelMeshComponentData, ModelMeshPrimitiveData } from '../index';
|
|
4
4
|
import { PEntity } from './object';
|
|
5
5
|
import type { PMaterial } from './material';
|
|
6
6
|
import { Matrix4, Vector3, Box3 } from './math';
|
|
@@ -75,12 +75,12 @@ export declare class PMesh extends PEntity {
|
|
|
75
75
|
* 构造函数,创建 Mesh 对象,并与所属组件和父元素相关联
|
|
76
76
|
* @param engine - 引擎
|
|
77
77
|
* @param name - 名称
|
|
78
|
-
* @param
|
|
78
|
+
* @param meshData - Mesh 参数
|
|
79
79
|
* @param owner - 所属的 Mesh 组件
|
|
80
80
|
* @param parentId - 父元素索引
|
|
81
81
|
* @param parent - 父元素
|
|
82
82
|
*/
|
|
83
|
-
constructor(engine: Engine, name: string,
|
|
83
|
+
constructor(engine: Engine, name: string, meshData: ModelMeshComponentData, owner?: ModelMeshComponent, parentId?: string, parent?: VFXItem<VFXItemContent>);
|
|
84
84
|
/**
|
|
85
85
|
* 创建 GE 的 Mesh、Geometry 和 Material 对象
|
|
86
86
|
* @param scene - 场景管理器
|
|
@@ -192,10 +192,10 @@ export declare class PPrimitive {
|
|
|
192
192
|
constructor(engine: Engine);
|
|
193
193
|
/**
|
|
194
194
|
* 创建 Primitive 对象
|
|
195
|
-
* @param
|
|
195
|
+
* @param data - Primitive 参数
|
|
196
196
|
* @param parent - 所属 Mesh 对象
|
|
197
197
|
*/
|
|
198
|
-
create(
|
|
198
|
+
create(data: ModelMeshPrimitiveData, parent: PMesh): void;
|
|
199
199
|
/**
|
|
200
200
|
* 创建 GE Mesh、Geometry 和 Material 对象,用于后面的渲染
|
|
201
201
|
* 着色器部分 Uniform 数据来自 uniformSemantics
|
|
@@ -260,7 +260,7 @@ export declare class PPrimitive {
|
|
|
260
260
|
* 设置材质
|
|
261
261
|
* @param val - 插件材质对象或材质参数
|
|
262
262
|
*/
|
|
263
|
-
setMaterial(val: PMaterial |
|
|
263
|
+
setMaterial(val: PMaterial | Material): void;
|
|
264
264
|
/**
|
|
265
265
|
* 获取 GE 材质
|
|
266
266
|
* @returns
|
package/dist/runtime/skybox.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Mesh, Material, TextureSourceOptions, Engine, Renderer } from '@galacean/effects';
|
|
2
2
|
import { Texture } from '@galacean/effects';
|
|
3
|
-
import type { ModelSkyboxOptions } from '../index';
|
|
3
|
+
import type { ModelSkyboxComponentData, ModelSkyboxOptions } from '../index';
|
|
4
4
|
import { PEntity } from './object';
|
|
5
5
|
import { PMaterialBase } from './material';
|
|
6
6
|
import type { PSceneManager } from './scene';
|
|
@@ -68,10 +68,10 @@ export declare class PSkybox extends PEntity {
|
|
|
68
68
|
/**
|
|
69
69
|
* 构造函数
|
|
70
70
|
* @param name - 名称
|
|
71
|
-
* @param
|
|
71
|
+
* @param data - 天空盒参数
|
|
72
72
|
* @param owner - 所属天空盒组件元素
|
|
73
73
|
*/
|
|
74
|
-
constructor(name: string,
|
|
74
|
+
constructor(name: string, data: ModelSkyboxComponentData, owner?: ModelSkyboxComponent);
|
|
75
75
|
/**
|
|
76
76
|
* 设置 BRDF 查询纹理
|
|
77
77
|
* @param brdfLUT - 纹理
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/effects-plugin-model",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.4",
|
|
4
4
|
"description": "Galacean Effects player model plugin",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"registry": "https://registry.npmjs.org"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@galacean/effects-helper": "2.0.0-alpha.
|
|
36
|
+
"@galacean/effects-helper": "2.0.0-alpha.4"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@vvfx/resource-detection": "0.4.2-alpha.22",
|
|
40
40
|
"@types/hammerjs": "^2.0.45",
|
|
41
41
|
"fpsmeter": "^0.3.1",
|
|
42
42
|
"hammerjs": "^2.0.8",
|
|
43
|
-
"@galacean/effects": "2.0.0-alpha.
|
|
44
|
-
"@galacean/effects
|
|
43
|
+
"@galacean/effects-plugin-editor-gizmo": "2.0.0-alpha.4",
|
|
44
|
+
"@galacean/effects": "2.0.0-alpha.4"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"dev": "vite",
|