@galacean/effects-specification 2.5.0-alpha.0 → 2.5.0-alpha.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,10 +1,13 @@
1
+ import type { ColorCurveData } from './curve-data';
1
2
  import type { EffectsObjectData } from './effects-object-data';
2
3
  import type { FixedNumberExpression, FixedVec3Expression, FixedQuatExpression } from './number-expression';
3
4
  export interface AnimationClipData extends EffectsObjectData {
5
+ duration: number;
4
6
  positionCurves: PositionCurveData[];
5
7
  rotationCurves: RotationCurveData[];
6
8
  scaleCurves: ScaleCurveData[];
7
9
  floatCurves: FloatCurveData[];
10
+ colorCurves: ColorCurveData[];
8
11
  }
9
12
  export interface PositionCurveData {
10
13
  path: string;
@@ -48,11 +48,11 @@ export interface AndNodeData extends GraphNodeData {
48
48
  type: NodeDataType.AndNodeData;
49
49
  conditionNodeIndices: number[];
50
50
  }
51
- export interface OrNodeAssetData extends GraphNodeData {
51
+ export interface OrNodeData extends GraphNodeData {
52
52
  type: NodeDataType.OrNodeData;
53
53
  conditionNodeIndices: number[];
54
54
  }
55
- export interface NotNodeAssetData extends GraphNodeData {
55
+ export interface NotNodeData extends GraphNodeData {
56
56
  type: NodeDataType.NotNodeData;
57
57
  inputValueNodeIndex: number;
58
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-specification",
3
- "version": "2.5.0-alpha.0",
3
+ "version": "2.5.0-alpha.1",
4
4
  "description": "Galacean Effects JSON Specification",
5
5
  "module": "./es/index.js",
6
6
  "main": "./es/index.js",