@splinetool/runtime 1.10.64 → 1.10.66
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/build/runtime.cjs +156 -156
- package/build/runtime.js +156 -156
- package/package.json +1 -1
- package/runtime.d.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splinetool/runtime",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.66",
|
|
4
4
|
"description": "Spline is a collaborative design platform for creating production-ready interactive experiences in multiple dimensions. © 2024 Spline, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"spline",
|
package/runtime.d.ts
CHANGED
|
@@ -311,5 +311,15 @@ declare module '@splinetool/runtime' {
|
|
|
311
311
|
|
|
312
312
|
pauseGameControls(): void {}
|
|
313
313
|
resumeGameControls(): void {}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Swaps the geometry of an object with a new one from a URL
|
|
317
|
+
* @param objectNameOrId The name or uuid of the object to swap geometry
|
|
318
|
+
* @param url The URL of the new geometry (.splinegeometry file)
|
|
319
|
+
*/
|
|
320
|
+
swapGeometry(
|
|
321
|
+
objectNameOrId: string,
|
|
322
|
+
urlOrBuffer: string | Uint8Array
|
|
323
|
+
): void {}
|
|
314
324
|
}
|
|
315
325
|
}
|