@galacean/effects-specification 2.5.0 → 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.
@@ -1,5 +1,5 @@
1
1
  import type { EffectsObjectData } from './effects-object-data';
2
- import type { FixedNumberExpression, FixedVec3Expression, FixedQuatExpression, ColorCurveValue } from './number-expression';
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: FixedVec3Expression;
14
+ keyFrames: BezierCurvePath;
15
15
  }
16
16
  export interface QuaternionRotationCurveData {
17
17
  path: string;
18
- keyFrames: FixedQuatExpression;
18
+ keyFrames: BezierCurveQuat;
19
19
  }
20
20
  export interface EulerRotationCurveData {
21
21
  path: string;
22
- keyFrames: FixedVec3Expression;
22
+ keyFrames: Vector3CurveValue;
23
23
  }
24
24
  export interface ScaleCurveData {
25
25
  path: string;
26
- keyFrames: FixedVec3Expression;
26
+ keyFrames: Vector3CurveValue;
27
27
  }
28
28
  export interface AnimationCurveFloatData {
29
29
  path: string;
30
30
  property: string;
31
31
  className: string;
32
- keyFrames: FixedNumberExpression;
32
+ keyFrames: BezierValue;
33
33
  }
34
34
  export interface AnimationCurveColorData {
35
35
  path: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-specification",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Galacean Effects JSON Specification",
5
5
  "module": "./es/index.js",
6
6
  "main": "./es/index.js",