@galacean/effects-specification 2.1.0-alpha.3 → 2.1.0-alpha.4
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,7 +1,7 @@
|
|
|
1
1
|
import type { BezierValue } from '../number-expression';
|
|
2
|
-
export
|
|
3
|
-
r: BezierValue
|
|
4
|
-
g: BezierValue
|
|
5
|
-
b: BezierValue
|
|
6
|
-
a: BezierValue
|
|
7
|
-
|
|
2
|
+
export type ColorCurveData = [
|
|
3
|
+
r: BezierValue,
|
|
4
|
+
g: BezierValue,
|
|
5
|
+
b: BezierValue,
|
|
6
|
+
a: BezierValue
|
|
7
|
+
];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BezierValue } from '../number-expression';
|
|
2
|
-
export
|
|
3
|
-
x: BezierValue
|
|
4
|
-
y: BezierValue
|
|
5
|
-
z: BezierValue
|
|
6
|
-
w: BezierValue
|
|
7
|
-
|
|
2
|
+
export type Vector4CurveData = [
|
|
3
|
+
x: BezierValue,
|
|
4
|
+
y: BezierValue,
|
|
5
|
+
z: BezierValue,
|
|
6
|
+
w: BezierValue
|
|
7
|
+
];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ColorCurveData, Vector4CurveData } from './curve-data';
|
|
1
2
|
/*********************************************/
|
|
2
3
|
/*********************************************/
|
|
3
4
|
export declare enum ValueType {
|
|
@@ -271,6 +272,14 @@ export type BezierCurvePath = [type: ValueType.BEZIER_CURVE_PATH, value: BezierC
|
|
|
271
272
|
* 贝塞尔曲线路径关键帧
|
|
272
273
|
*/
|
|
273
274
|
export type BezierCurveQuat = [type: ValueType.BEZIER_CURVE_QUAT, value: BezierCurveQuatValue];
|
|
275
|
+
/**
|
|
276
|
+
* 颜色贝塞尔曲线
|
|
277
|
+
*/
|
|
278
|
+
export type ColorCurveValue = [type: ValueType.COLOR_CURVE, value: ColorCurveData];
|
|
279
|
+
/**
|
|
280
|
+
* Vector4 贝塞尔曲线
|
|
281
|
+
*/
|
|
282
|
+
export type Vector4CurveValue = [type: ValueType.VECTOR4_CURVE, value: Vector4CurveData];
|
|
274
283
|
/*********************************************/
|
|
275
284
|
/*********************************************/
|
|
276
285
|
export type ColorExpression = RGBAColor | GradientColor | RGBAColors;
|