@shopware-ag/dive 1.16.2 → 1.16.3
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/README.md +26 -26
- package/build/dive.cjs +1 -1
- package/build/dive.cjs.map +1 -1
- package/build/dive.js +1 -1
- package/build/dive.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -219,7 +219,7 @@ DIVECommunication class via
|
|
|
219
219
|
</tr>
|
|
220
220
|
<tr>
|
|
221
221
|
<td>
|
|
222
|
-
<a href=".
|
|
222
|
+
<a href="src/com/actions/object/addobject.ts"> ADD_OBJECT </a>
|
|
223
223
|
</td>
|
|
224
224
|
<td>
|
|
225
225
|
Adds an object to the scene.
|
|
@@ -227,7 +227,7 @@ DIVECommunication class via
|
|
|
227
227
|
</tr>
|
|
228
228
|
<tr>
|
|
229
229
|
<td>
|
|
230
|
-
<a href=".
|
|
230
|
+
<a href="src/com/actions/camera/computeencompassingview.ts"> COMPUTE_ENCOMPASSING_VIEW </a>
|
|
231
231
|
</td>
|
|
232
232
|
<td>
|
|
233
233
|
Calculates the camera position and target to view the whole scene. (experimental)
|
|
@@ -235,7 +235,7 @@ DIVECommunication class via
|
|
|
235
235
|
</tr>
|
|
236
236
|
<tr>
|
|
237
237
|
<td>
|
|
238
|
-
<a href=".
|
|
238
|
+
<a href="src/com/actions/object/deleteobject.ts"> DELETE_OBJECT </a>
|
|
239
239
|
</td>
|
|
240
240
|
<td>
|
|
241
241
|
Deletes an object from the scene.
|
|
@@ -243,7 +243,7 @@ DIVECommunication class via
|
|
|
243
243
|
</tr>
|
|
244
244
|
<tr>
|
|
245
245
|
<td>
|
|
246
|
-
<a href=".
|
|
246
|
+
<a href="src/com/actions/object/deselectobject.ts"> DESELECT_OBJECT </a>
|
|
247
247
|
</td>
|
|
248
248
|
<td>
|
|
249
249
|
Deselects an existing object.
|
|
@@ -251,7 +251,7 @@ DIVECommunication class via
|
|
|
251
251
|
</tr>
|
|
252
252
|
<tr>
|
|
253
253
|
<td>
|
|
254
|
-
<a href=".
|
|
254
|
+
<a href="src/com/actions/object/model/dropit.ts"> DROP_IT </a>
|
|
255
255
|
</td>
|
|
256
256
|
<td>
|
|
257
257
|
Places an object on top of an underlying object or the floor.
|
|
@@ -259,7 +259,7 @@ DIVECommunication class via
|
|
|
259
259
|
</tr>
|
|
260
260
|
<tr>
|
|
261
261
|
<td>
|
|
262
|
-
<a href=".
|
|
262
|
+
<a href="src/com/actions/scene/exportscene.ts"> EXPORT_SCENE </a>
|
|
263
263
|
</td>
|
|
264
264
|
<td>
|
|
265
265
|
Exports the current scene to a blob and returns the URL.
|
|
@@ -267,7 +267,7 @@ DIVECommunication class via
|
|
|
267
267
|
</tr>
|
|
268
268
|
<tr>
|
|
269
269
|
<td>
|
|
270
|
-
<a href=".
|
|
270
|
+
<a href="src/com/actions/media/generatemedia.ts"> GENERATE_MEDIA </a>
|
|
271
271
|
</td>
|
|
272
272
|
<td>
|
|
273
273
|
Generates a screenshot, stores it in a Blob and writes the URL into the payload.
|
|
@@ -275,7 +275,7 @@ DIVECommunication class via
|
|
|
275
275
|
</tr>
|
|
276
276
|
<tr>
|
|
277
277
|
<td>
|
|
278
|
-
<a href=".
|
|
278
|
+
<a href="src/com/actions/object/getallobjects.ts"> GET_ALL_OBJECTS </a>
|
|
279
279
|
</td>
|
|
280
280
|
<td>
|
|
281
281
|
Retrieves all objects in the scene.
|
|
@@ -283,7 +283,7 @@ DIVECommunication class via
|
|
|
283
283
|
</tr>
|
|
284
284
|
<tr>
|
|
285
285
|
<td>
|
|
286
|
-
<a href=".
|
|
286
|
+
<a href="src/com/actions/scene/getallscenedata.ts"> GET_ALL_SCENE_DATA </a>
|
|
287
287
|
</td>
|
|
288
288
|
<td>
|
|
289
289
|
Retrieves all current scene data.
|
|
@@ -291,7 +291,7 @@ DIVECommunication class via
|
|
|
291
291
|
</tr>
|
|
292
292
|
<tr>
|
|
293
293
|
<td>
|
|
294
|
-
<a href=".
|
|
294
|
+
<a href="src/com/actions/camera/getcameratransform.ts"> GET_CAMERA_TRANSFORM </a>
|
|
295
295
|
</td>
|
|
296
296
|
<td>
|
|
297
297
|
Returns the current camera position and target.
|
|
@@ -299,7 +299,7 @@ DIVECommunication class via
|
|
|
299
299
|
</tr>
|
|
300
300
|
<tr>
|
|
301
301
|
<td>
|
|
302
|
-
<a href=".
|
|
302
|
+
<a href="src/com/actions/object/getobjects.ts"> GET_OBJECTS </a>
|
|
303
303
|
</td>
|
|
304
304
|
<td>
|
|
305
305
|
Returns a list of objects of given IDs.
|
|
@@ -307,7 +307,7 @@ DIVECommunication class via
|
|
|
307
307
|
</tr>
|
|
308
308
|
<tr>
|
|
309
309
|
<td>
|
|
310
|
-
<a href=".
|
|
310
|
+
<a href="src/com/actions/object/model/modelloaded.ts"> MODEL_LOADED </a>
|
|
311
311
|
</td>
|
|
312
312
|
<td>
|
|
313
313
|
Is triggered when a model is loaded.
|
|
@@ -315,7 +315,7 @@ DIVECommunication class via
|
|
|
315
315
|
</tr>
|
|
316
316
|
<tr>
|
|
317
317
|
<td>
|
|
318
|
-
<a href=".
|
|
318
|
+
<a href="src/com/actions/camera/movecamera.ts"> MOVE_CAMERA </a>
|
|
319
319
|
</td>
|
|
320
320
|
<td>
|
|
321
321
|
Moves the camera to a new position and target.
|
|
@@ -323,7 +323,7 @@ DIVECommunication class via
|
|
|
323
323
|
</tr>
|
|
324
324
|
<tr>
|
|
325
325
|
<td>
|
|
326
|
-
<a href=".
|
|
326
|
+
<a href="src/com/actions/object/model/placeonfloor.ts"> PLACE_ON_FLOOR </a>
|
|
327
327
|
</td>
|
|
328
328
|
<td>
|
|
329
329
|
Places an object on the floor.
|
|
@@ -331,7 +331,7 @@ DIVECommunication class via
|
|
|
331
331
|
</tr>
|
|
332
332
|
<tr>
|
|
333
333
|
<td>
|
|
334
|
-
<a href=".
|
|
334
|
+
<a href="src/com/actions/camera/resetcamera.ts"> RESET_CAMERA </a>
|
|
335
335
|
</td>
|
|
336
336
|
<td>
|
|
337
337
|
Reset the camera to its initial position and rotation.
|
|
@@ -339,7 +339,7 @@ DIVECommunication class via
|
|
|
339
339
|
</tr>
|
|
340
340
|
<tr>
|
|
341
341
|
<td>
|
|
342
|
-
<a href=".
|
|
342
|
+
<a href="src/com/actions/object/selectobject.ts"> SELECT_OBJECT </a>
|
|
343
343
|
</td>
|
|
344
344
|
<td>
|
|
345
345
|
Selects an existing object.
|
|
@@ -347,7 +347,7 @@ DIVECommunication class via
|
|
|
347
347
|
</tr>
|
|
348
348
|
<tr>
|
|
349
349
|
<td>
|
|
350
|
-
<a href=".
|
|
350
|
+
<a href="src/com/actions/scene/setbackground.ts"> SET_BACKGROUND </a>
|
|
351
351
|
</td>
|
|
352
352
|
<td>
|
|
353
353
|
Set the background color of the scene.
|
|
@@ -355,7 +355,7 @@ DIVECommunication class via
|
|
|
355
355
|
</tr>
|
|
356
356
|
<tr>
|
|
357
357
|
<td>
|
|
358
|
-
<a href=".
|
|
358
|
+
<a href="src/com/actions/camera/setcameralayer.ts"> SET_CAMERA_LAYER </a>
|
|
359
359
|
</td>
|
|
360
360
|
<td>
|
|
361
361
|
Sets the camera layer to a certain layer.
|
|
@@ -363,7 +363,7 @@ DIVECommunication class via
|
|
|
363
363
|
</tr>
|
|
364
364
|
<tr>
|
|
365
365
|
<td>
|
|
366
|
-
<a href=".
|
|
366
|
+
<a href="src/com/actions/camera/setcameratransform.ts"> SET_CAMERA_TRANSFORM </a>
|
|
367
367
|
</td>
|
|
368
368
|
<td>
|
|
369
369
|
Sets the camera position and target.
|
|
@@ -371,7 +371,7 @@ DIVECommunication class via
|
|
|
371
371
|
</tr>
|
|
372
372
|
<tr>
|
|
373
373
|
<td>
|
|
374
|
-
<a href=".
|
|
374
|
+
<a href="src/com/actions/toolbox/select/setgizmomode.ts"> SET_GIZMO_MODE </a>
|
|
375
375
|
</td>
|
|
376
376
|
<td>
|
|
377
377
|
Sets the gizmo's mode.
|
|
@@ -379,7 +379,7 @@ DIVECommunication class via
|
|
|
379
379
|
</tr>
|
|
380
380
|
<tr>
|
|
381
381
|
<td>
|
|
382
|
-
<a href=".
|
|
382
|
+
<a href="src/com/actions/toolbox/transform/setgizmovisible.ts"> SET_GIZMO_VISIBILITY </a>
|
|
383
383
|
</td>
|
|
384
384
|
<td>
|
|
385
385
|
Sets the gizmo's visibility.
|
|
@@ -387,7 +387,7 @@ DIVECommunication class via
|
|
|
387
387
|
</tr>
|
|
388
388
|
<tr>
|
|
389
389
|
<td>
|
|
390
|
-
<a href=".
|
|
390
|
+
<a href="src/com/actions/object/setparent.ts"> SET_PARENT </a>
|
|
391
391
|
</td>
|
|
392
392
|
<td>
|
|
393
393
|
Attach an object to another object.
|
|
@@ -395,7 +395,7 @@ DIVECommunication class via
|
|
|
395
395
|
</tr>
|
|
396
396
|
<tr>
|
|
397
397
|
<td>
|
|
398
|
-
<a href=".
|
|
398
|
+
<a href="src/com/actions/object/updateobject.ts"> UPDATE_OBJECT </a>
|
|
399
399
|
</td>
|
|
400
400
|
<td>
|
|
401
401
|
Updates an existing object.
|
|
@@ -403,7 +403,7 @@ DIVECommunication class via
|
|
|
403
403
|
</tr>
|
|
404
404
|
<tr>
|
|
405
405
|
<td>
|
|
406
|
-
<a href=".
|
|
406
|
+
<a href="src/com/actions/scene/updatescene.ts"> UPDATE_SCENE </a>
|
|
407
407
|
</td>
|
|
408
408
|
<td>
|
|
409
409
|
Updates global scene data.
|
|
@@ -411,7 +411,7 @@ DIVECommunication class via
|
|
|
411
411
|
</tr>
|
|
412
412
|
<tr>
|
|
413
413
|
<td>
|
|
414
|
-
<a href=".
|
|
414
|
+
<a href="src/com/actions/toolbox/usetool.ts"> USE_TOOL </a>
|
|
415
415
|
</td>
|
|
416
416
|
<td>
|
|
417
417
|
Activates a specific tool from the toolbox.
|
|
@@ -419,7 +419,7 @@ DIVECommunication class via
|
|
|
419
419
|
</tr>
|
|
420
420
|
<tr>
|
|
421
421
|
<td>
|
|
422
|
-
<a href=".
|
|
422
|
+
<a href="src/com/actions/camera/zoomcamera.ts"> ZOOM_CAMERA </a>
|
|
423
423
|
</td>
|
|
424
424
|
<td>
|
|
425
425
|
Zooms the camera in or out by a certain amount.
|
package/build/dive.cjs
CHANGED
|
@@ -2851,7 +2851,7 @@ DIVEInfo._supportsWebXR = null;
|
|
|
2851
2851
|
// package.json
|
|
2852
2852
|
var package_default = {
|
|
2853
2853
|
name: "@shopware-ag/dive",
|
|
2854
|
-
version: "1.16.
|
|
2854
|
+
version: "1.16.3",
|
|
2855
2855
|
description: "Shopware Spatial Framework",
|
|
2856
2856
|
type: "module",
|
|
2857
2857
|
main: "./build/dive.cjs",
|