@galacean/effects-specification 2.5.0-alpha.3 → 2.5.1
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/es/animation-clip-data.d.ts +6 -6
- package/es/index.d.ts +1 -1
- package/es/scene.d.ts +3 -2
- package/es/scene.js +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EffectsObjectData } from './effects-object-data';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ColorCurveValue, Vector3CurveValue, BezierValue, BezierCurvePath, BezierCurveQuat } from './number-expression';
|
|
3
3
|
export interface AnimationClipData extends EffectsObjectData {
|
|
4
4
|
duration?: number;
|
|
5
5
|
positionCurves?: PositionCurveData[];
|
|
@@ -11,25 +11,25 @@ export interface AnimationClipData extends EffectsObjectData {
|
|
|
11
11
|
}
|
|
12
12
|
export interface PositionCurveData {
|
|
13
13
|
path: string;
|
|
14
|
-
keyFrames:
|
|
14
|
+
keyFrames: BezierCurvePath;
|
|
15
15
|
}
|
|
16
16
|
export interface QuaternionRotationCurveData {
|
|
17
17
|
path: string;
|
|
18
|
-
keyFrames:
|
|
18
|
+
keyFrames: BezierCurveQuat;
|
|
19
19
|
}
|
|
20
20
|
export interface EulerRotationCurveData {
|
|
21
21
|
path: string;
|
|
22
|
-
keyFrames:
|
|
22
|
+
keyFrames: Vector3CurveValue;
|
|
23
23
|
}
|
|
24
24
|
export interface ScaleCurveData {
|
|
25
25
|
path: string;
|
|
26
|
-
keyFrames:
|
|
26
|
+
keyFrames: Vector3CurveValue;
|
|
27
27
|
}
|
|
28
28
|
export interface AnimationCurveFloatData {
|
|
29
29
|
path: string;
|
|
30
30
|
property: string;
|
|
31
31
|
className: string;
|
|
32
|
-
keyFrames:
|
|
32
|
+
keyFrames: BezierValue;
|
|
33
33
|
}
|
|
34
34
|
export interface AnimationCurveColorData {
|
|
35
35
|
path: string;
|
package/es/index.d.ts
CHANGED
|
@@ -41,4 +41,4 @@ export * from './material-data';
|
|
|
41
41
|
export * from './geometry-data';
|
|
42
42
|
export * from './shader-data';
|
|
43
43
|
export * from './effects-package-data';
|
|
44
|
-
export declare const LATEST_VERSION = JSONSceneVersion['
|
|
44
|
+
export declare const LATEST_VERSION = JSONSceneVersion['3_4'];
|
package/es/scene.d.ts
CHANGED
|
@@ -31,8 +31,9 @@ export declare enum JSONSceneVersion {
|
|
|
31
31
|
'3_0' = "3.0",// EC 改造、移除滤镜元素
|
|
32
32
|
'3_1' = "3.1",// 音视频
|
|
33
33
|
'3_2' = "3.2",// 矢量动画、透明视频、增加富文本属性
|
|
34
|
-
'3_3' = "3.3",//
|
|
35
|
-
'
|
|
34
|
+
'3_3' = "3.3",// 指向型蒙版、图片/文字蒙版
|
|
35
|
+
'3_4' = "3.4",// 动画状态机
|
|
36
|
+
'LATEST' = "3.4"
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
38
39
|
* runtime 2.0 之前的场景信息
|
package/es/scene.js
CHANGED
|
@@ -18,5 +18,6 @@ export var JSONSceneVersion;
|
|
|
18
18
|
JSONSceneVersion["3_1"] = "3.1";
|
|
19
19
|
JSONSceneVersion["3_2"] = "3.2";
|
|
20
20
|
JSONSceneVersion["3_3"] = "3.3";
|
|
21
|
-
JSONSceneVersion["
|
|
21
|
+
JSONSceneVersion["3_4"] = "3.4";
|
|
22
|
+
JSONSceneVersion["LATEST"] = "3.4";
|
|
22
23
|
})(JSONSceneVersion || (JSONSceneVersion = {}));
|