@splinetool/runtime 1.10.63 → 1.10.65

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": "@splinetool/runtime",
3
- "version": "1.10.63",
3
+ "version": "1.10.65",
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,12 @@ 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(objectNameOrId: string, url: string): void {}
314
321
  }
315
322
  }