@galacean/engine-core 0.0.0-experimental-2.0-migrate.2 → 0.0.0-experimental-2.0-migrate.4
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 +47 -16
- package/dist/main.js.map +1 -1
- package/dist/module.js +47 -16
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/Entity.d.ts +2 -1
- package/types/asset/LoadItem.d.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-core",
|
|
3
|
-
"version": "0.0.0-experimental-2.0-migrate.
|
|
3
|
+
"version": "0.0.0-experimental-2.0-migrate.4",
|
|
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": "0.0.0-experimental-2.0-migrate.
|
|
21
|
+
"@galacean/engine-math": "0.0.0-experimental-2.0-migrate.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@galacean/engine-design": "0.0.0-experimental-2.0-migrate.
|
|
24
|
+
"@galacean/engine-design": "0.0.0-experimental-2.0-migrate.4"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"b:types": "tsc"
|
package/types/Entity.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { EngineObject } from "./base";
|
|
|
10
10
|
* Entity, be used as components container.
|
|
11
11
|
*/
|
|
12
12
|
export declare class Entity extends EngineObject {
|
|
13
|
+
private static _isTransformType;
|
|
13
14
|
/** The name of entity. */
|
|
14
15
|
name: string;
|
|
15
16
|
/** The layer the entity belongs to. */
|
|
@@ -159,7 +160,7 @@ export declare class Entity extends EngineObject {
|
|
|
159
160
|
private _setActiveInHierarchy;
|
|
160
161
|
private _setInActiveInHierarchy;
|
|
161
162
|
private _setSiblingIndex;
|
|
162
|
-
private
|
|
163
|
+
private _replaceTransform;
|
|
163
164
|
private _invModelMatrix;
|
|
164
165
|
private _inverseWorldMatFlag;
|
|
165
166
|
/**
|
|
@@ -11,6 +11,14 @@ export type LoadItem = {
|
|
|
11
11
|
* Asset Type.
|
|
12
12
|
*/
|
|
13
13
|
type?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Physical URL resolved by ResourceManager for a virtual resource.
|
|
16
|
+
*
|
|
17
|
+
* Loader implementations can use this URL for file-format detection and
|
|
18
|
+
* resolving files addressed relative to the loaded asset. Callers provide
|
|
19
|
+
* `url`; ResourceManager owns this resolved value.
|
|
20
|
+
*/
|
|
21
|
+
resolvedUrl?: string;
|
|
14
22
|
/**
|
|
15
23
|
* Number of retries after failed loading.
|
|
16
24
|
*/
|