@galacean/engine-loader 0.0.0-experimental-2.0-skill.0 → 0.0.0-experimental-2.0-migrate.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-loader",
3
- "version": "0.0.0-experimental-2.0-skill.0",
3
+ "version": "0.0.0-experimental-2.0-migrate.7",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -19,9 +19,9 @@
19
19
  "libs/**/*"
20
20
  ],
21
21
  "dependencies": {
22
- "@galacean/engine-core": "0.0.0-experimental-2.0-skill.0",
23
- "@galacean/engine-rhi-webgl": "0.0.0-experimental-2.0-skill.0",
24
- "@galacean/engine-math": "0.0.0-experimental-2.0-skill.0"
22
+ "@galacean/engine-core": "0.0.0-experimental-2.0-migrate.7",
23
+ "@galacean/engine-rhi-webgl": "0.0.0-experimental-2.0-migrate.7",
24
+ "@galacean/engine-math": "0.0.0-experimental-2.0-migrate.7"
25
25
  },
26
26
  "scripts": {
27
27
  "b:types": "tsc"
@@ -37,6 +37,11 @@ export declare class GLTFResource extends ReferResource {
37
37
  * @returns Root entity
38
38
  */
39
39
  instantiateSceneRoot(sceneIndex?: number): Entity;
40
+ /**
41
+ * Scene root templates indexed by the glTF `scenes` array.
42
+ * @remarks This is also the canonical sub-asset query surface, for example `?q=scenes[0]`.
43
+ */
44
+ get scenes(): ReadonlyArray<Entity>;
40
45
  protected _onDestroy(): void;
41
46
  private _disassociationSuperResource;
42
47
  /**
@@ -43,6 +43,10 @@ export interface SceneFile extends HierarchyFile {
43
43
  fogDensity?: number;
44
44
  fogColor?: Vec4Tuple;
45
45
  };
46
+ physics?: {
47
+ gravity?: Vec3Tuple;
48
+ fixedTimeStep?: number;
49
+ };
46
50
  ambientOcclusion?: {
47
51
  enabledAmbientOcclusion?: boolean;
48
52
  quality?: number;