@galacean/effects-core 2.6.5 → 2.6.7
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/index.js +14 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -3
- package/dist/index.mjs.map +1 -1
- package/dist/plugins/text/text-item.d.ts +2 -0
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ export declare class TextComponent extends BaseRenderComponent {
|
|
|
26
26
|
protected readonly ALPHA_FIX_VALUE: number;
|
|
27
27
|
constructor(engine: Engine, props?: spec.TextComponentData);
|
|
28
28
|
onUpdate(dt: number): void;
|
|
29
|
+
onDestroy(): void;
|
|
29
30
|
fromData(data: spec.TextComponentData): void;
|
|
30
31
|
updateWithOptions(options: spec.TextContentOptions): void;
|
|
31
32
|
updateTexture(flipY?: boolean): void;
|
|
@@ -161,6 +162,7 @@ export declare class TextComponentBase {
|
|
|
161
162
|
* @returns
|
|
162
163
|
*/
|
|
163
164
|
updateTexture(flipY?: boolean): void;
|
|
165
|
+
protected disposeTextTexture(): void;
|
|
164
166
|
private getFontDesc;
|
|
165
167
|
private setupOutline;
|
|
166
168
|
private setupShadow;
|