@galacean/engine-core 1.6.11 → 1.6.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-core",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -18,10 +18,10 @@
18
18
  "types/**/*"
19
19
  ],
20
20
  "dependencies": {
21
- "@galacean/engine-math": "1.6.11"
21
+ "@galacean/engine-math": "1.6.12"
22
22
  },
23
23
  "devDependencies": {
24
- "@galacean/engine-design": "1.6.11"
24
+ "@galacean/engine-design": "1.6.12"
25
25
  },
26
26
  "scripts": {
27
27
  "b:types": "tsc"
@@ -1,7 +1,7 @@
1
+ import { AssetPromise } from "./asset/AssetPromise";
1
2
  import { Engine } from "./Engine";
2
3
  import { Platform } from "./Platform";
3
4
  import { TextureFormat } from "./texture";
4
- import { AssetPromise } from "./asset/AssetPromise";
5
5
  /**
6
6
  * Access operating system, platform and hardware information.
7
7
  */
@@ -17,6 +17,7 @@ export declare class SystemInfo {
17
17
  * The pixel ratio of the device.
18
18
  */
19
19
  static get devicePixelRatio(): number;
20
+ private static _parseAppleMobileOSVersion;
20
21
  static _checkWebpSupported(): AssetPromise<boolean>;
21
22
  /**
22
23
  * Checks whether the system supports the given texture format.
package/types/Utils.d.ts CHANGED
@@ -34,4 +34,5 @@ export declare class Utils {
34
34
  static resolveAbsoluteUrl(baseUrl: string, relativeUrl: string): string;
35
35
  private static _stringToPath;
36
36
  private static _insertionSort;
37
+ private static _encodePathComponents;
37
38
  }
@@ -8,7 +8,6 @@ export declare class MeshRenderer extends Renderer {
8
8
  private static _uv1Macro;
9
9
  private static _normalMacro;
10
10
  private static _tangentMacro;
11
- private static _enableVertexColorMacro;
12
11
  private _enableVertexColor;
13
12
  /**
14
13
  * Mesh assigned to the renderer.
@@ -12,7 +12,7 @@ export declare class ParticleRenderer extends Renderer {
12
12
  private static readonly _stretchedBillboardModeMacro;
13
13
  private static readonly _horizontalBillboardModeMacro;
14
14
  private static readonly _verticalBillboardModeMacro;
15
- private static readonly _renderModeMeshMacro;
15
+ private static readonly _meshModeMacro;
16
16
  private static readonly _pivotOffsetProperty;
17
17
  private static readonly _lengthScale;
18
18
  private static readonly _speedScale;
@@ -35,8 +35,8 @@ export declare class ParticleRenderer extends Renderer {
35
35
  get renderMode(): ParticleRenderMode;
36
36
  set renderMode(value: ParticleRenderMode);
37
37
  /**
38
- * The mesh of particle.
39
- * @remarks Valid when `renderMode` is `Mesh`.
38
+ * The mesh shape for rendering each emitted particle.
39
+ * @remarks Only effective when `renderMode` is `ParticleRenderMode.Mesh`.
40
40
  */
41
41
  get mesh(): ModelMesh;
42
42
  set mesh(value: ModelMesh);
@@ -14,6 +14,11 @@ export declare class EmissionModule extends ParticleGeneratorModule {
14
14
  private _bursts;
15
15
  private _currentBurstIndex;
16
16
  private _burstRand;
17
+ /**
18
+ * @inheritdoc
19
+ */
20
+ get enabled(): boolean;
21
+ set enabled(value: boolean);
17
22
  /**
18
23
  * The shape of the emitter.
19
24
  */
@@ -29,6 +29,6 @@ export declare class RotationOverLifetimeModule extends ParticleGeneratorModule
29
29
  private _rotationMinConstant;
30
30
  private _rotationMaxConstant;
31
31
  private _enableSeparateMacro;
32
- private _isCurveMacro;
32
+ private _modeMacro;
33
33
  private _isRandomTwoMacro;
34
34
  }
@@ -1,5 +0,0 @@
1
- export declare enum MeshParticleVertexAttribute {
2
- MeshPosition = "a_MeshPosition",
3
- MeshColor = "a_MeshColor",
4
- MeshTextureCoordinate = "a_MeshTextureCoordinate"
5
- }