@galacean/effects-core 2.4.6 → 2.4.8
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/composition.d.ts +1 -2
- package/dist/index.js +56 -90
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +56 -90
- package/dist/index.mjs.map +1 -1
- package/dist/plugins/text/text-item.d.ts +3 -2
- package/dist/scene.d.ts +2 -1
- package/package.json +1 -1
|
@@ -72,8 +72,9 @@ export declare class TextComponentBase {
|
|
|
72
72
|
*/
|
|
73
73
|
setFontWeight(value: spec.TextWeight): void;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
76
|
-
* @param value
|
|
75
|
+
* 设置字体样式
|
|
76
|
+
* @param value 设置字体样式
|
|
77
|
+
* @default "normal"
|
|
77
78
|
* @returns
|
|
78
79
|
*/
|
|
79
80
|
setFontStyle(value: spec.FontStyle): void;
|
package/dist/scene.d.ts
CHANGED
|
@@ -14,9 +14,10 @@ export interface Scene {
|
|
|
14
14
|
readonly renderLevel?: SceneRenderLevel;
|
|
15
15
|
readonly storage: Record<string, any>;
|
|
16
16
|
textureOptions: Record<string, any>[];
|
|
17
|
+
textures: Texture[];
|
|
17
18
|
images: ImageLike[];
|
|
19
|
+
assets: Record<string, ImageLike>;
|
|
18
20
|
consumed?: boolean;
|
|
19
|
-
textures?: Texture[];
|
|
20
21
|
/**
|
|
21
22
|
* 加载总耗时
|
|
22
23
|
*/
|