@series-inc/rundot-3d-engine 0.6.4 → 0.6.6
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/index.js
CHANGED
package/dist/systems/index.d.ts
CHANGED
|
@@ -3322,6 +3322,18 @@ declare class StowKitSystem {
|
|
|
3322
3322
|
* Convenience method for game code.
|
|
3323
3323
|
*/
|
|
3324
3324
|
getPrefab(path: string): PrefabNode;
|
|
3325
|
+
/**
|
|
3326
|
+
* Pre-decode meshes so they're ready before the loading screen hides.
|
|
3327
|
+
* Call this in onStart() after loadFromBuildJson() to avoid a visible pop-in.
|
|
3328
|
+
*
|
|
3329
|
+
* @param meshNames Array of mesh asset paths to pre-decode
|
|
3330
|
+
* @returns Map of mesh names to loaded groups (failed meshes are logged and skipped)
|
|
3331
|
+
*/
|
|
3332
|
+
preloadMeshes(meshNames: string[]): Promise<Map<string, THREE.Group>>;
|
|
3333
|
+
/**
|
|
3334
|
+
* Pre-decode skinned meshes so they're ready before the loading screen hides.
|
|
3335
|
+
*/
|
|
3336
|
+
preloadSkinnedMeshes(meshNames: string[], scale?: number): Promise<Map<string, THREE.Group>>;
|
|
3325
3337
|
/**
|
|
3326
3338
|
* Get a loaded pack by alias.
|
|
3327
3339
|
*/
|
package/dist/systems/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@series-inc/rundot-3d-engine",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
"@dimforge/rapier3d": "^0.11.2",
|
|
35
35
|
"@dimforge/rapier3d-compat": "^0.11.2",
|
|
36
36
|
"@series-inc/stowkit-reader": "^0.1.42",
|
|
37
|
-
"@series-inc/stowkit-three-loader": "^0.1.
|
|
37
|
+
"@series-inc/stowkit-three-loader": "^0.1.46",
|
|
38
38
|
"three-stdlib": "^2.36.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"three": ">=0.180.0",
|
|
42
41
|
"@capacitor/app": ">=6.0.0",
|
|
43
42
|
"@capacitor/core": ">=6.0.0",
|
|
44
43
|
"@capacitor/local-notifications": ">=6.0.0",
|
|
45
44
|
"@capacitor/preferences": ">=6.0.0",
|
|
46
45
|
"@capacitor/splash-screen": ">=6.0.0",
|
|
47
46
|
"@series-inc/rundot-game-sdk": "^5.3.0",
|
|
48
|
-
"appsflyer-capacitor-plugin": ">=6.17.0"
|
|
47
|
+
"appsflyer-capacitor-plugin": ">=6.17.0",
|
|
48
|
+
"three": ">=0.180.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"@capacitor/app": {
|