@galacean/effects-core 2.4.5 → 2.4.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.
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-core",
3
- "version": "2.4.5",
3
+ "version": "2.4.7",
4
4
  "description": "Galacean Effects runtime core for the web",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",