@galacean/engine-core 1.6.10 → 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/dist/main.js +195 -136
- package/dist/main.js.map +1 -1
- package/dist/module.js +195 -136
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/SystemInfo.d.ts +2 -1
- package/types/Utils.d.ts +1 -0
- package/types/mesh/MeshRenderer.d.ts +0 -1
- package/types/particle/ParticleRenderer.d.ts +3 -3
- package/types/particle/modules/EmissionModule.d.ts +5 -0
- package/types/particle/modules/RotationOverLifetimeModule.d.ts +1 -1
- package/types/particle/enums/attributes/MeshParticleVertexAttribute.d.ts +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-core",
|
|
3
|
-
"version": "1.6.
|
|
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.
|
|
21
|
+
"@galacean/engine-math": "1.6.12"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@galacean/engine-design": "1.6.
|
|
24
|
+
"@galacean/engine-design": "1.6.12"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"b:types": "tsc"
|
package/types/SystemInfo.d.ts
CHANGED
|
@@ -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
|
@@ -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
|
|
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
|
|
39
|
-
* @remarks
|
|
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
|
*/
|