@galacean/effects-core 2.0.0-alpha.1 → 2.0.0-alpha.3
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/asset-loader.d.ts +18 -18
- package/dist/decorators.d.ts +1 -1
- package/dist/index.js +461 -358
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +459 -357
- package/dist/index.mjs.map +1 -1
- package/dist/plugins/cal/calculate-vfx-item.d.ts +8 -3
- package/dist/plugins/cal/playable-graph.d.ts +4 -0
- package/dist/plugins/cal/track.d.ts +3 -4
- package/dist/vfx-item.d.ts +2 -2
- package/package.json +1 -1
package/dist/asset-loader.d.ts
CHANGED
|
@@ -18,23 +18,23 @@ export declare class Database {
|
|
|
18
18
|
loadGUID(guid: string): Promise<EffectsObject | undefined>;
|
|
19
19
|
}
|
|
20
20
|
export declare enum DataType {
|
|
21
|
-
VFXItemData =
|
|
22
|
-
EffectComponent =
|
|
23
|
-
Material =
|
|
24
|
-
Shader =
|
|
25
|
-
SpriteComponent =
|
|
26
|
-
ParticleSystem =
|
|
27
|
-
InteractComponent =
|
|
28
|
-
CameraController =
|
|
29
|
-
Geometry =
|
|
30
|
-
Texture =
|
|
31
|
-
TextComponent =
|
|
32
|
-
MeshComponent =
|
|
33
|
-
SkyboxComponent =
|
|
34
|
-
LightComponent =
|
|
35
|
-
CameraComponent =
|
|
36
|
-
ModelPluginComponent =
|
|
37
|
-
TreeComponent =
|
|
21
|
+
VFXItemData = "VFXItemData",
|
|
22
|
+
EffectComponent = "EffectComponent",
|
|
23
|
+
Material = "Material",
|
|
24
|
+
Shader = "Shader",
|
|
25
|
+
SpriteComponent = "SpriteComponent",
|
|
26
|
+
ParticleSystem = "ParticleSystem",
|
|
27
|
+
InteractComponent = "InteractComponent",
|
|
28
|
+
CameraController = "CameraController",
|
|
29
|
+
Geometry = "Geometry",
|
|
30
|
+
Texture = "Texture",
|
|
31
|
+
TextComponent = "TextComponent",
|
|
32
|
+
MeshComponent = "MeshComponent",
|
|
33
|
+
SkyboxComponent = "SkyboxComponent",
|
|
34
|
+
LightComponent = "LightComponent",
|
|
35
|
+
CameraComponent = "CameraComponent",
|
|
36
|
+
ModelPluginComponent = "ModelPluginComponent",
|
|
37
|
+
TreeComponent = "TreeComponent"
|
|
38
38
|
}
|
|
39
39
|
export interface DataPath {
|
|
40
40
|
id: string;
|
|
@@ -42,7 +42,7 @@ export interface DataPath {
|
|
|
42
42
|
export interface EffectsObjectData {
|
|
43
43
|
id: string;
|
|
44
44
|
name?: string;
|
|
45
|
-
dataType:
|
|
45
|
+
dataType: string;
|
|
46
46
|
}
|
|
47
47
|
export interface MaterialData extends EffectsObjectData {
|
|
48
48
|
shader: DataPath;
|
package/dist/decorators.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const effectsClassStore: Record<
|
|
1
|
+
export declare const effectsClassStore: Record<string, any>;
|
|
2
2
|
export declare function getMergedStore(target: any): any;
|
|
3
3
|
export declare function serialize(sourceName?: string): (target: any, propertyKey: any) => void;
|
|
4
4
|
export declare function effectsClass(className: any): (target: any, context?: any) => void;
|