@galacean/effects-core 1.4.0-beta.1 → 1.4.0

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,4 @@
1
1
  import type { Vector2 } from '@galacean/effects-math/es/core/vector2';
2
- import { Vector3 } from '@galacean/effects-math/es/core/vector3';
3
2
  import * as spec from '@galacean/effects-specification';
4
3
  import type { ColorStop } from '../utils';
5
4
  import type { BezierEasing } from './bezier';
@@ -104,7 +103,7 @@ export declare class BezierCurve extends ValueGetter<number> {
104
103
  toUniform(meta: KeyFrameMeta): Float32Array;
105
104
  toData(): Float32Array;
106
105
  }
107
- export declare class BezierCurvePath extends ValueGetter<Vector3> {
106
+ export declare class BezierCurvePath extends ValueGetter<spec.vec3> {
108
107
  curveSegments: Record<string, {
109
108
  points: Vector2[];
110
109
  easingCurve: BezierEasing;
@@ -113,7 +112,7 @@ export declare class BezierCurvePath extends ValueGetter<Vector3> {
113
112
  pathCurve: BezierPath;
114
113
  }>;
115
114
  onCreate(props: spec.BezierCurvePathValue): void;
116
- getValue(time: number): Vector3;
115
+ getValue(time: number): [x: number, y: number, z: number];
117
116
  getPercValue(curveKey: string, time: number): number;
118
117
  }
119
118
  export declare function createValueGetter(args: any): ValueGetter<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-core",
3
- "version": "1.4.0-beta.1",
3
+ "version": "1.4.0",
4
4
  "description": "Galacean Effects runtime core for the web",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",
@@ -42,7 +42,7 @@
42
42
  "registry": "https://registry.npmjs.org"
43
43
  },
44
44
  "dependencies": {
45
- "@galacean/effects-specification": "1.2.0-beta.0",
45
+ "@galacean/effects-specification": "1.2.0",
46
46
  "@galacean/effects-math": "1.0.1"
47
47
  },
48
48
  "scripts": {