@liveroom-tech/react-immersive 6.0.2 → 6.1.1

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.
Files changed (67) hide show
  1. package/README.md +24 -0
  2. package/dist/AnimationsTab-NUJTEMZ5.mjs +1 -0
  3. package/dist/AnnotationsTab-OHRVWRKI.mjs +1 -0
  4. package/dist/CinematicTab-IJAY2BS6.mjs +1 -0
  5. package/dist/ConfigureTab-UQRRATCY.mjs +6 -0
  6. package/dist/RulesTab-YVBZGJZX.mjs +1 -0
  7. package/dist/SequencesTab-IC5LWQ6N.css +1 -0
  8. package/dist/SequencesTab-LWGOVQ6Y.mjs +1 -0
  9. package/dist/binding-builder.css +1 -1
  10. package/dist/binding-builder.d.mts +3 -3
  11. package/dist/binding-builder.d.ts +3 -3
  12. package/dist/binding-builder.js +76 -23
  13. package/dist/binding-builder.mjs +1 -1
  14. package/dist/chunk-37YITTIK.mjs +1 -0
  15. package/dist/chunk-5FLX45O5.mjs +2 -0
  16. package/dist/chunk-5PJ5MLKE.mjs +1 -0
  17. package/dist/chunk-644OGSQJ.mjs +83 -0
  18. package/dist/chunk-7JCFNZJM.mjs +1 -0
  19. package/dist/chunk-7OWHW66D.mjs +1 -0
  20. package/dist/chunk-AL6UIGWP.mjs +1 -0
  21. package/dist/chunk-BNKTI3CY.mjs +1 -0
  22. package/dist/chunk-CCBFMNAU.mjs +1 -0
  23. package/dist/chunk-DEFZEXTA.mjs +1 -0
  24. package/dist/chunk-E24EFHB5.mjs +1 -0
  25. package/dist/chunk-EV6THDXD.mjs +1 -0
  26. package/dist/chunk-F5QSXMME.mjs +1 -0
  27. package/dist/chunk-FGAJ2UT7.mjs +1 -0
  28. package/dist/chunk-FXV4CLAK.mjs +1 -0
  29. package/dist/chunk-GV4ZRXL6.mjs +1 -0
  30. package/dist/chunk-KNCABWVN.mjs +47 -0
  31. package/dist/chunk-LX3GXQNU.mjs +1 -0
  32. package/dist/chunk-MLT4JQAY.mjs +1 -0
  33. package/dist/chunk-OPDRK3GS.mjs +1 -0
  34. package/dist/chunk-Z2VQGUC2.mjs +3 -0
  35. package/dist/hosted.css +1 -1
  36. package/dist/hosted.d.mts +24 -6
  37. package/dist/hosted.d.ts +24 -6
  38. package/dist/hosted.js +75 -22
  39. package/dist/hosted.mjs +1 -1
  40. package/dist/index.css +1 -1
  41. package/dist/index.d.mts +66 -6
  42. package/dist/index.d.ts +66 -6
  43. package/dist/index.js +69 -21
  44. package/dist/index.mjs +1 -1
  45. package/dist/{modelFileResolver-Co7j1tdQ.d.mts → modelFileResolver-B8ADn9Nl.d.mts} +57 -7
  46. package/dist/{modelFileResolver-Co7j1tdQ.d.ts → modelFileResolver-B8ADn9Nl.d.ts} +57 -7
  47. package/dist/{modelViewerProps-BibuMND7.d.ts → modelViewerProps-BE4D56Ti.d.ts} +173 -3
  48. package/dist/{modelViewerProps-Ce4-wb57.d.mts → modelViewerProps-DBwh-fmu.d.mts} +173 -3
  49. package/dist/{publicProps-CP18d_mt.d.ts → publicProps-3LNTAskZ.d.ts} +1 -1
  50. package/dist/{publicProps-BaJHCDa_.d.mts → publicProps-Clr1nSE6.d.mts} +1 -1
  51. package/dist/simple-model-viewer.css +1 -1
  52. package/dist/simple-model-viewer.d.mts +25 -3
  53. package/dist/simple-model-viewer.d.ts +25 -3
  54. package/dist/simple-model-viewer.js +49 -3
  55. package/dist/simple-model-viewer.mjs +1 -1
  56. package/dist/utils.d.mts +47 -4
  57. package/dist/utils.d.ts +47 -4
  58. package/dist/utils.js +2 -2
  59. package/dist/utils.mjs +1 -1
  60. package/package.json +5 -1
  61. package/dist/chunk-33SUWPXC.mjs +0 -3
  62. package/dist/chunk-4JMJALRO.mjs +0 -2
  63. package/dist/chunk-EIBW7ZJE.mjs +0 -81
  64. package/dist/chunk-KFTJMFYF.mjs +0 -1
  65. package/dist/chunk-OTSCPJWF.mjs +0 -1
  66. package/dist/chunk-P2JZ5Z7I.mjs +0 -1
  67. package/dist/chunk-V7WZUWJ5.mjs +0 -1
@@ -1,8 +1,10 @@
1
1
  import * as react from 'react';
2
- import { d as ModelViewerLabels, V as ViewerLoading, g as ViewerReveal, b as ModelFormat, R as ReducedMotionSetting, f as ViewerModelInfo } from './modelFileResolver-Co7j1tdQ.js';
3
- export { D as DEFAULT_MODEL_VIEWER_LABELS, M as MaterialVariantGroup, a as MaterialVariantOption, c as ModelViewerLabelKey, e as ViewerModelBounds } from './modelFileResolver-Co7j1tdQ.js';
2
+ import { d as ModelViewerLabels, V as ViewerLoading, g as ViewerReveal, b as ModelFormat, R as ReducedMotionSetting, f as ViewerModelInfo } from './modelFileResolver-B8ADn9Nl.js';
3
+ export { D as DEFAULT_MODEL_VIEWER_LABELS, M as MaterialVariantGroup, a as MaterialVariantOption, c as ModelViewerLabelKey, e as ViewerModelBounds } from './modelFileResolver-B8ADn9Nl.js';
4
4
  import { PresetsType } from '@react-three/drei/helpers/environment-assets';
5
5
 
6
+ /** How the render's colors are mapped to the screen. */
7
+ type ViewerToneMapping = "aces" | "agx" | "neutral" | "none";
6
8
  type SimpleModelViewerProps = {
7
9
  /** Plain-text overrides for built-in viewer text. */
8
10
  labels?: ModelViewerLabels;
@@ -55,10 +57,30 @@ type SimpleModelViewerProps = {
55
57
  ambientColor?: string;
56
58
  directionalIntensity?: number;
57
59
  directionalColor?: string;
60
+ /** How strongly the environment lights the model. Defaults to 1. */
61
+ envIntensity?: number;
62
+ /** The environment's rotation around the vertical axis, in degrees. */
63
+ envRotation?: number;
64
+ /** Blurs the environment when it's shown as the background, from 0 to 1. */
65
+ backgroundBlur?: number;
66
+ /** Defaults to `"aces"`. */
67
+ toneMapping?: ViewerToneMapping;
68
+ /** A soft contact shadow under the model. */
69
+ groundShadow?: boolean;
70
+ /** From 0 to 1. Defaults to 0.5. */
71
+ groundShadowOpacity?: number;
72
+ /** A reference grid under the model. Left out of captures. */
73
+ showFloorGrid?: boolean;
74
+ /** Draws every material as wireframe. */
75
+ wireframe?: boolean;
76
+ /** Multiplies the auto-rotate speed. Defaults to 1. */
77
+ autoRotateSpeed?: number;
78
+ /** The camera's vertical field of view, in degrees. Defaults to 45. */
79
+ fov?: number;
58
80
  /** The model finished loading: its bounds and mesh count. */
59
81
  onModelLoaded?: (model: ViewerModelInfo) => void;
60
82
  onLoadError?: (error: unknown) => void;
61
83
  };
62
84
  declare function SimpleModelViewer(props: SimpleModelViewerProps): react.JSX.Element;
63
85
 
64
- export { ModelFormat, ModelViewerLabels, ReducedMotionSetting, SimpleModelViewer, type SimpleModelViewerProps, ViewerLoading, ViewerModelInfo, ViewerReveal };
86
+ export { ModelFormat, ModelViewerLabels, ReducedMotionSetting, SimpleModelViewer, type SimpleModelViewerProps, ViewerLoading, ViewerModelInfo, ViewerReveal, type ViewerToneMapping };