@galacean/effects-core 2.3.0-alpha.1 → 2.3.0-alpha.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.
- package/dist/components/shape-component.d.ts +4 -3
- package/dist/fallback/migration.d.ts +1 -1
- package/dist/index.js +393 -386
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +393 -386
- package/dist/index.mjs.map +1 -1
- package/dist/plugins/shape/build-line.d.ts +6 -4
- package/dist/plugins/shape/graphics-path.d.ts +1 -1
- package/dist/plugins/shape/polygon.d.ts +4 -0
- package/dist/plugins/shape/rectangle.d.ts +21 -88
- package/dist/plugins/shape/shape-path.d.ts +1 -1
- package/dist/plugins/text/text-item.d.ts +15 -0
- package/package.json +2 -2
|
@@ -91,10 +91,12 @@ export interface PolygonAttribute extends ShapeAttribute {
|
|
|
91
91
|
* @since 2.1.0
|
|
92
92
|
*/
|
|
93
93
|
export declare class ShapeComponent extends MeshComponent {
|
|
94
|
-
isStroke
|
|
94
|
+
private isStroke;
|
|
95
|
+
private isFill;
|
|
96
|
+
private shapeDirty;
|
|
95
97
|
private graphicsPath;
|
|
96
98
|
private curveValues;
|
|
97
|
-
private
|
|
99
|
+
private fillAttribute;
|
|
98
100
|
private strokeAttributes;
|
|
99
101
|
private shapeAttribute;
|
|
100
102
|
private vert;
|
|
@@ -109,7 +111,6 @@ export declare class ShapeComponent extends MeshComponent {
|
|
|
109
111
|
onUpdate(dt: number): void;
|
|
110
112
|
private buildGeometryFromPath;
|
|
111
113
|
private buildPath;
|
|
112
|
-
private setFillColor;
|
|
113
114
|
fromData(data: spec.ShapeComponentData): void;
|
|
114
115
|
}
|
|
115
116
|
export {};
|
|
@@ -11,7 +11,7 @@ export declare function version22Migration(json: JSONSceneLegacy): JSONSceneLega
|
|
|
11
11
|
* 3.1 版本数据适配
|
|
12
12
|
* - 富文本插件名称的适配
|
|
13
13
|
*/
|
|
14
|
-
export declare function version31Migration(json:
|
|
14
|
+
export declare function version31Migration(json: JSONScene): JSONScene;
|
|
15
15
|
/**
|
|
16
16
|
* 3.0 以下版本数据适配(runtime 2.0及以上版本支持)
|
|
17
17
|
*/
|