@galacean/effects-core 1.4.0 → 1.4.2
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,4 +1,5 @@
|
|
|
1
1
|
import type { Vector2 } from '@galacean/effects-math/es/core/vector2';
|
|
2
|
+
import { Vector3 } from '@galacean/effects-math/es/core/vector3';
|
|
2
3
|
import * as spec from '@galacean/effects-specification';
|
|
3
4
|
import type { ColorStop } from '../utils';
|
|
4
5
|
import type { BezierEasing } from './bezier';
|
|
@@ -103,7 +104,7 @@ export declare class BezierCurve extends ValueGetter<number> {
|
|
|
103
104
|
toUniform(meta: KeyFrameMeta): Float32Array;
|
|
104
105
|
toData(): Float32Array;
|
|
105
106
|
}
|
|
106
|
-
export declare class BezierCurvePath extends ValueGetter<
|
|
107
|
+
export declare class BezierCurvePath extends ValueGetter<Vector3> {
|
|
107
108
|
curveSegments: Record<string, {
|
|
108
109
|
points: Vector2[];
|
|
109
110
|
easingCurve: BezierEasing;
|
|
@@ -112,7 +113,7 @@ export declare class BezierCurvePath extends ValueGetter<spec.vec3> {
|
|
|
112
113
|
pathCurve: BezierPath;
|
|
113
114
|
}>;
|
|
114
115
|
onCreate(props: spec.BezierCurvePathValue): void;
|
|
115
|
-
getValue(time: number):
|
|
116
|
+
getValue(time: number): Vector3;
|
|
116
117
|
getPercValue(curveKey: string, time: number): number;
|
|
117
118
|
}
|
|
118
119
|
export declare function createValueGetter(args: any): ValueGetter<any>;
|