@liveroom-tech/react-immersive 4.0.0 → 4.0.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.
- package/README.md +27 -0
- package/dist/{bvhWorkerCode-YSVLRTCI.mjs → bvhWorkerCode-6366A3UC.mjs} +1 -1
- package/dist/chunk-JR557W27.mjs +1 -0
- package/dist/index.d.mts +63 -4
- package/dist/index.d.ts +63 -4
- package/dist/index.js +7 -7
- package/dist/index.mjs +6 -6
- package/dist/utils.mjs +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -171,15 +171,25 @@ type CustomSceneObjectsPanelProps = {
|
|
|
171
171
|
};
|
|
172
172
|
type ModelViewerProps = {
|
|
173
173
|
modelUrl: string;
|
|
174
|
+
/** Optional 3D Tiles manifest used instead of loading `modelUrl` monolithically. */
|
|
175
|
+
tilesetUrl?: string | null;
|
|
176
|
+
/** Screen-space error target for streamed 3D Tiles. Lower is sharper. */
|
|
177
|
+
tilesErrorTarget?: number;
|
|
178
|
+
/** Maximum number of parsed tiles retained by the client cache. */
|
|
179
|
+
tilesCacheSize?: number;
|
|
174
180
|
/** Explicit format for extensionless or signed model URLs. */
|
|
175
181
|
modelFormat?: ModelFormat;
|
|
176
182
|
licenseKey: string;
|
|
183
|
+
/** Trusted validation endpoint override for first-party/self-hosted consoles. */
|
|
184
|
+
licenseValidationUrl?: string;
|
|
177
185
|
objectBindings: Record<string, ObjectBinding>;
|
|
178
186
|
selectedObject?: ObjectBinding | null;
|
|
179
187
|
panelHoveredObject?: ObjectBinding | null;
|
|
180
188
|
onObjectBindingsChange?: (next: Record<string, ObjectBinding>) => void;
|
|
181
189
|
onObjectSelect?: (binding: ObjectBinding | null) => void;
|
|
182
190
|
onObjectHover?: (binding: ObjectBinding | null) => void;
|
|
191
|
+
/** Reports transform-gizmo edit leases for collaborative hosts. */
|
|
192
|
+
onObjectEditLeaseChange?: (binding: ObjectBinding, editing: boolean) => void;
|
|
183
193
|
onModelLoaded?: (scene: Object3D) => void;
|
|
184
194
|
onLoadError?: (error: unknown) => void;
|
|
185
195
|
onAction?: (event: ObjectActionEvent) => void;
|
|
@@ -241,18 +251,67 @@ type ModelViewerProps = {
|
|
|
241
251
|
onSceneConfigChange?: (config: SceneConfig) => void;
|
|
242
252
|
showViewGizmo?: boolean;
|
|
243
253
|
};
|
|
244
|
-
declare function ModelViewer({ modelUrl, modelFormat, licenseKey, objectBindings, selectedObject, panelHoveredObject, onObjectBindingsChange, onObjectSelect, onObjectHover, onModelLoaded, onLoadError, onAction, onHiddenObjectsChange, onCameraChange, onViewerReady, onTextureUpload, onAnimationsReady, onAnnotationsChange, activeAnnotation: controlledActiveAnnotation, onActiveAnnotationChange, lights, camera, backgroundColor, shadows, showObjectBindingDataPanel, customObjectBindingDataPanel, customSceneObjectsPanel, showSceneObjectsPanel, showDownloadButton, downloadFilename, showResetButton, showLoadingOverlay, showMouseController, mouseControllerPosition, mouseControllerOpacity, moveSensitivity, zoomSensitivity, sceneConfig, onSceneConfigChange, disableZoom, zoomOnSelected, highlightOnHover, enableCameraControls, onAutoFit, refitOnResize, renderMode, maxDpr, preserveDrawingBuffer, performanceProfile, dracoDecoderPath, ktx2TranscoderPath, meshopt, showMeasureTools, showUvCheckerButton, showExplodeControls, cinematic, measurementUnit, enableXR, usdzUrl, arScaleMode, mobileHandoffUrl, showAnnotationNavigation, showAnnotationOnHover, moveModeEnabled, objectTransformSpace, enableKeyboardNavigation, showViewGizmo, }: ModelViewerProps): react_jsx_runtime.JSX.Element;
|
|
254
|
+
declare function ModelViewer({ modelUrl, tilesetUrl, tilesErrorTarget, tilesCacheSize, modelFormat, licenseKey, licenseValidationUrl, objectBindings, selectedObject, panelHoveredObject, onObjectBindingsChange, onObjectSelect, onObjectHover, onObjectEditLeaseChange, onModelLoaded, onLoadError, onAction, onHiddenObjectsChange, onCameraChange, onViewerReady, onTextureUpload, onAnimationsReady, onAnnotationsChange, activeAnnotation: controlledActiveAnnotation, onActiveAnnotationChange, lights, camera, backgroundColor, shadows, showObjectBindingDataPanel, customObjectBindingDataPanel, customSceneObjectsPanel, showSceneObjectsPanel, showDownloadButton, downloadFilename, showResetButton, showLoadingOverlay, showMouseController, mouseControllerPosition, mouseControllerOpacity, moveSensitivity, zoomSensitivity, sceneConfig, onSceneConfigChange, disableZoom, zoomOnSelected, highlightOnHover, enableCameraControls, onAutoFit, refitOnResize, renderMode, maxDpr, preserveDrawingBuffer, performanceProfile, dracoDecoderPath, ktx2TranscoderPath, meshopt, showMeasureTools, showUvCheckerButton, showExplodeControls, cinematic, measurementUnit, enableXR, usdzUrl, arScaleMode, mobileHandoffUrl, showAnnotationNavigation, showAnnotationOnHover, moveModeEnabled, objectTransformSpace, enableKeyboardNavigation, showViewGizmo, }: ModelViewerProps): react_jsx_runtime.JSX.Element;
|
|
255
|
+
|
|
256
|
+
type BindingBuilderProjectModel = {
|
|
257
|
+
url: string;
|
|
258
|
+
name?: string;
|
|
259
|
+
assetId?: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* Optional streamable model manifest. The current viewer uses `url`; large
|
|
262
|
+
* model renderers can use this value without changing the saved project
|
|
263
|
+
* shape.
|
|
264
|
+
*/
|
|
265
|
+
tilesetUrl?: string | null;
|
|
266
|
+
assetVersion?: string | null;
|
|
267
|
+
};
|
|
268
|
+
type BindingBuilderProject = {
|
|
269
|
+
id: string;
|
|
270
|
+
revision: number;
|
|
271
|
+
model: BindingBuilderProjectModel;
|
|
272
|
+
objectBindings: Record<string, ObjectBinding>;
|
|
273
|
+
sceneConfig: SceneConfig;
|
|
274
|
+
};
|
|
275
|
+
type BindingBuilderProjectSnapshot = {
|
|
276
|
+
projectId: string;
|
|
277
|
+
baseRevision: number;
|
|
278
|
+
model: BindingBuilderProjectModel;
|
|
279
|
+
objectBindings: Record<string, ObjectBinding>;
|
|
280
|
+
sceneConfig: SceneConfig;
|
|
281
|
+
};
|
|
282
|
+
type BindingBuilderProjectChangeOrigin = "local" | "remote";
|
|
245
283
|
|
|
246
284
|
type BindingBuilderProps = {
|
|
247
285
|
licenseKey: string;
|
|
286
|
+
/** Trusted validation endpoint override for first-party/self-hosted consoles. */
|
|
287
|
+
licenseValidationUrl?: string;
|
|
248
288
|
/** Directory containing the DRACO decoder files, or false. */
|
|
249
289
|
dracoDecoderPath?: string | false;
|
|
250
290
|
/** Directory containing the Basis/KTX2 transcoder files, or false. */
|
|
251
291
|
ktx2TranscoderPath?: string | false;
|
|
252
292
|
/** Enable the bundled Meshopt decoder. Defaults to true. */
|
|
253
293
|
meshopt?: boolean;
|
|
254
|
-
|
|
255
|
-
|
|
294
|
+
/**
|
|
295
|
+
* Optional server-backed project. When supplied, the editor hydrates from
|
|
296
|
+
* this snapshot and applies newer revisions without remounting.
|
|
297
|
+
*/
|
|
298
|
+
project?: BindingBuilderProject | null;
|
|
299
|
+
/**
|
|
300
|
+
* Reports debounced, serializable editor snapshots. Persistence and
|
|
301
|
+
* collaboration transports remain owned by the host application.
|
|
302
|
+
*/
|
|
303
|
+
onProjectChange?: (snapshot: BindingBuilderProjectSnapshot, origin: BindingBuilderProjectChangeOrigin) => void;
|
|
304
|
+
/** Delay before reporting local project changes. Defaults to 350ms. */
|
|
305
|
+
projectChangeDebounceMs?: number;
|
|
306
|
+
/**
|
|
307
|
+
* Lets a hosted editor upload a selected model before it is loaded. Return
|
|
308
|
+
* the durable model URL/version that should be saved with the project.
|
|
309
|
+
*/
|
|
310
|
+
onModelUpload?: (file: File) => Promise<BindingBuilderProject["model"]>;
|
|
311
|
+
/** Requests/releases a short collaborative lease around gizmo edits. */
|
|
312
|
+
onEditLeaseChange?: (featureId: string, editing: boolean) => void;
|
|
313
|
+
};
|
|
314
|
+
declare function BindingBuilder({ licenseKey, licenseValidationUrl, dracoDecoderPath, ktx2TranscoderPath, meshopt, project, onProjectChange, projectChangeDebounceMs, onModelUpload, onEditLeaseChange, }: BindingBuilderProps): react_jsx_runtime.JSX.Element;
|
|
256
315
|
|
|
257
316
|
type SimpleModelViewerProps = {
|
|
258
317
|
modelUrl: string;
|
|
@@ -571,4 +630,4 @@ type ShareableViewerStateProps = {
|
|
|
571
630
|
};
|
|
572
631
|
declare function useShareableViewerState({ cameraState, setCameraState, objectBindings, onObjectBindingsChange, selectedObjectBinding, setSelectedObjectBinding, paramKey, debounceMs, autoSync, }: UseShareableViewerStateOptions): ShareableViewerStateProps;
|
|
573
632
|
|
|
574
|
-
export { type AnimationClipInfo, type AnimationControls, type AnimationPlaybackState, BindingBuilder, type BindingBuilderProps, BindingEdit, type CaptureImageOptions, type CinematicConfig, type CinematicWaypoint, type CustomObjectBindingDataPanelProps, type CustomSceneObjectsPanelProps, type HiddenObjectsState, type HomeCameraState, type ModelFormat, ModelViewer, type ModelViewerProps, ObjectActionEvent, ObjectBinding, ObjectBindingAction, ObjectBindingMaterial, ObjectBindingPatch, ObjectBindingTarget, ObjectBindingTextureChannel, ObjectBindingTextureSlot, ObjectBindingTransform, type ObjectBindingsController, type ObjectTransformSpace, type RuntimeMaterialPatch, type RuntimeMaterialRanges, type RuntimePointLightOptions, type RuntimePointLightPatch, type RuntimeTransformPatch, type RuntimeTransformRanges, SceneConfig, type SceneConfigController, SceneConfigPatch, type SceneConfigUpdate, SceneLight, SceneLightAttachment, type SceneLightInput, type SceneLightPatch, type SceneLightsController, SimpleModelViewer, type SimpleModelViewerProps, type UseViewerCameraOptions, type UseViewerEffectsOptions, type ViewerActionAnimationController, type ViewerActionBindingsController, type ViewerActionCameraController, type ViewerActionSceneController, type ViewerActionsOptions, type ViewerActionsProps, type ViewerAnimationsProps, type ViewerCameraPreset, type ViewerCameraProps, ViewerCameraState, type ViewerConnectionController, type ViewerEffectChannels, type ViewerEffectEasing, type ViewerEffectRange, type ViewerEffectTarget, type ViewerEffectsController, type ViewerFlickerOptions, type ViewerLightEffectChannel, type ViewerMaterialEffectChannel, type ViewerModelBounds, type ViewerModelProps, type ViewerPulseOptions, type ViewerReadyConsumer, type ViewerReadyHandler, type ViewerReadyState, type ViewerSelectionProps, type ViewerTimelineOptions, type ViewerTimelineStep, type ViewerTransformEffectChannel, type ViewerTransitionOptions, type ViewerVector3, type XRScaleMode, useObjectBinding, useObjectBindingIds, useObjectBindings, useSceneConfig, useShareableViewerState, useViewerActions, useViewerAnimations, useViewerCamera, useViewerConnection, useViewerEffects, useViewerHover, useViewerModel, useViewerSelection };
|
|
633
|
+
export { type AnimationClipInfo, type AnimationControls, type AnimationPlaybackState, BindingBuilder, type BindingBuilderProject, type BindingBuilderProjectChangeOrigin, type BindingBuilderProjectModel, type BindingBuilderProjectSnapshot, type BindingBuilderProps, BindingEdit, type CaptureImageOptions, type CinematicConfig, type CinematicWaypoint, type CustomObjectBindingDataPanelProps, type CustomSceneObjectsPanelProps, type HiddenObjectsState, type HomeCameraState, type ModelFormat, ModelViewer, type ModelViewerProps, ObjectActionEvent, ObjectBinding, ObjectBindingAction, ObjectBindingMaterial, ObjectBindingPatch, ObjectBindingTarget, ObjectBindingTextureChannel, ObjectBindingTextureSlot, ObjectBindingTransform, type ObjectBindingsController, type ObjectTransformSpace, type RuntimeMaterialPatch, type RuntimeMaterialRanges, type RuntimePointLightOptions, type RuntimePointLightPatch, type RuntimeTransformPatch, type RuntimeTransformRanges, SceneConfig, type SceneConfigController, SceneConfigPatch, type SceneConfigUpdate, SceneLight, SceneLightAttachment, type SceneLightInput, type SceneLightPatch, type SceneLightsController, SimpleModelViewer, type SimpleModelViewerProps, type UseViewerCameraOptions, type UseViewerEffectsOptions, type ViewerActionAnimationController, type ViewerActionBindingsController, type ViewerActionCameraController, type ViewerActionSceneController, type ViewerActionsOptions, type ViewerActionsProps, type ViewerAnimationsProps, type ViewerCameraPreset, type ViewerCameraProps, ViewerCameraState, type ViewerConnectionController, type ViewerEffectChannels, type ViewerEffectEasing, type ViewerEffectRange, type ViewerEffectTarget, type ViewerEffectsController, type ViewerFlickerOptions, type ViewerLightEffectChannel, type ViewerMaterialEffectChannel, type ViewerModelBounds, type ViewerModelProps, type ViewerPulseOptions, type ViewerReadyConsumer, type ViewerReadyHandler, type ViewerReadyState, type ViewerSelectionProps, type ViewerTimelineOptions, type ViewerTimelineStep, type ViewerTransformEffectChannel, type ViewerTransitionOptions, type ViewerVector3, type XRScaleMode, useObjectBinding, useObjectBindingIds, useObjectBindings, useSceneConfig, useShareableViewerState, useViewerActions, useViewerAnimations, useViewerCamera, useViewerConnection, useViewerEffects, useViewerHover, useViewerModel, useViewerSelection };
|
package/dist/index.d.ts
CHANGED
|
@@ -171,15 +171,25 @@ type CustomSceneObjectsPanelProps = {
|
|
|
171
171
|
};
|
|
172
172
|
type ModelViewerProps = {
|
|
173
173
|
modelUrl: string;
|
|
174
|
+
/** Optional 3D Tiles manifest used instead of loading `modelUrl` monolithically. */
|
|
175
|
+
tilesetUrl?: string | null;
|
|
176
|
+
/** Screen-space error target for streamed 3D Tiles. Lower is sharper. */
|
|
177
|
+
tilesErrorTarget?: number;
|
|
178
|
+
/** Maximum number of parsed tiles retained by the client cache. */
|
|
179
|
+
tilesCacheSize?: number;
|
|
174
180
|
/** Explicit format for extensionless or signed model URLs. */
|
|
175
181
|
modelFormat?: ModelFormat;
|
|
176
182
|
licenseKey: string;
|
|
183
|
+
/** Trusted validation endpoint override for first-party/self-hosted consoles. */
|
|
184
|
+
licenseValidationUrl?: string;
|
|
177
185
|
objectBindings: Record<string, ObjectBinding>;
|
|
178
186
|
selectedObject?: ObjectBinding | null;
|
|
179
187
|
panelHoveredObject?: ObjectBinding | null;
|
|
180
188
|
onObjectBindingsChange?: (next: Record<string, ObjectBinding>) => void;
|
|
181
189
|
onObjectSelect?: (binding: ObjectBinding | null) => void;
|
|
182
190
|
onObjectHover?: (binding: ObjectBinding | null) => void;
|
|
191
|
+
/** Reports transform-gizmo edit leases for collaborative hosts. */
|
|
192
|
+
onObjectEditLeaseChange?: (binding: ObjectBinding, editing: boolean) => void;
|
|
183
193
|
onModelLoaded?: (scene: Object3D) => void;
|
|
184
194
|
onLoadError?: (error: unknown) => void;
|
|
185
195
|
onAction?: (event: ObjectActionEvent) => void;
|
|
@@ -241,18 +251,67 @@ type ModelViewerProps = {
|
|
|
241
251
|
onSceneConfigChange?: (config: SceneConfig) => void;
|
|
242
252
|
showViewGizmo?: boolean;
|
|
243
253
|
};
|
|
244
|
-
declare function ModelViewer({ modelUrl, modelFormat, licenseKey, objectBindings, selectedObject, panelHoveredObject, onObjectBindingsChange, onObjectSelect, onObjectHover, onModelLoaded, onLoadError, onAction, onHiddenObjectsChange, onCameraChange, onViewerReady, onTextureUpload, onAnimationsReady, onAnnotationsChange, activeAnnotation: controlledActiveAnnotation, onActiveAnnotationChange, lights, camera, backgroundColor, shadows, showObjectBindingDataPanel, customObjectBindingDataPanel, customSceneObjectsPanel, showSceneObjectsPanel, showDownloadButton, downloadFilename, showResetButton, showLoadingOverlay, showMouseController, mouseControllerPosition, mouseControllerOpacity, moveSensitivity, zoomSensitivity, sceneConfig, onSceneConfigChange, disableZoom, zoomOnSelected, highlightOnHover, enableCameraControls, onAutoFit, refitOnResize, renderMode, maxDpr, preserveDrawingBuffer, performanceProfile, dracoDecoderPath, ktx2TranscoderPath, meshopt, showMeasureTools, showUvCheckerButton, showExplodeControls, cinematic, measurementUnit, enableXR, usdzUrl, arScaleMode, mobileHandoffUrl, showAnnotationNavigation, showAnnotationOnHover, moveModeEnabled, objectTransformSpace, enableKeyboardNavigation, showViewGizmo, }: ModelViewerProps): react_jsx_runtime.JSX.Element;
|
|
254
|
+
declare function ModelViewer({ modelUrl, tilesetUrl, tilesErrorTarget, tilesCacheSize, modelFormat, licenseKey, licenseValidationUrl, objectBindings, selectedObject, panelHoveredObject, onObjectBindingsChange, onObjectSelect, onObjectHover, onObjectEditLeaseChange, onModelLoaded, onLoadError, onAction, onHiddenObjectsChange, onCameraChange, onViewerReady, onTextureUpload, onAnimationsReady, onAnnotationsChange, activeAnnotation: controlledActiveAnnotation, onActiveAnnotationChange, lights, camera, backgroundColor, shadows, showObjectBindingDataPanel, customObjectBindingDataPanel, customSceneObjectsPanel, showSceneObjectsPanel, showDownloadButton, downloadFilename, showResetButton, showLoadingOverlay, showMouseController, mouseControllerPosition, mouseControllerOpacity, moveSensitivity, zoomSensitivity, sceneConfig, onSceneConfigChange, disableZoom, zoomOnSelected, highlightOnHover, enableCameraControls, onAutoFit, refitOnResize, renderMode, maxDpr, preserveDrawingBuffer, performanceProfile, dracoDecoderPath, ktx2TranscoderPath, meshopt, showMeasureTools, showUvCheckerButton, showExplodeControls, cinematic, measurementUnit, enableXR, usdzUrl, arScaleMode, mobileHandoffUrl, showAnnotationNavigation, showAnnotationOnHover, moveModeEnabled, objectTransformSpace, enableKeyboardNavigation, showViewGizmo, }: ModelViewerProps): react_jsx_runtime.JSX.Element;
|
|
255
|
+
|
|
256
|
+
type BindingBuilderProjectModel = {
|
|
257
|
+
url: string;
|
|
258
|
+
name?: string;
|
|
259
|
+
assetId?: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* Optional streamable model manifest. The current viewer uses `url`; large
|
|
262
|
+
* model renderers can use this value without changing the saved project
|
|
263
|
+
* shape.
|
|
264
|
+
*/
|
|
265
|
+
tilesetUrl?: string | null;
|
|
266
|
+
assetVersion?: string | null;
|
|
267
|
+
};
|
|
268
|
+
type BindingBuilderProject = {
|
|
269
|
+
id: string;
|
|
270
|
+
revision: number;
|
|
271
|
+
model: BindingBuilderProjectModel;
|
|
272
|
+
objectBindings: Record<string, ObjectBinding>;
|
|
273
|
+
sceneConfig: SceneConfig;
|
|
274
|
+
};
|
|
275
|
+
type BindingBuilderProjectSnapshot = {
|
|
276
|
+
projectId: string;
|
|
277
|
+
baseRevision: number;
|
|
278
|
+
model: BindingBuilderProjectModel;
|
|
279
|
+
objectBindings: Record<string, ObjectBinding>;
|
|
280
|
+
sceneConfig: SceneConfig;
|
|
281
|
+
};
|
|
282
|
+
type BindingBuilderProjectChangeOrigin = "local" | "remote";
|
|
245
283
|
|
|
246
284
|
type BindingBuilderProps = {
|
|
247
285
|
licenseKey: string;
|
|
286
|
+
/** Trusted validation endpoint override for first-party/self-hosted consoles. */
|
|
287
|
+
licenseValidationUrl?: string;
|
|
248
288
|
/** Directory containing the DRACO decoder files, or false. */
|
|
249
289
|
dracoDecoderPath?: string | false;
|
|
250
290
|
/** Directory containing the Basis/KTX2 transcoder files, or false. */
|
|
251
291
|
ktx2TranscoderPath?: string | false;
|
|
252
292
|
/** Enable the bundled Meshopt decoder. Defaults to true. */
|
|
253
293
|
meshopt?: boolean;
|
|
254
|
-
|
|
255
|
-
|
|
294
|
+
/**
|
|
295
|
+
* Optional server-backed project. When supplied, the editor hydrates from
|
|
296
|
+
* this snapshot and applies newer revisions without remounting.
|
|
297
|
+
*/
|
|
298
|
+
project?: BindingBuilderProject | null;
|
|
299
|
+
/**
|
|
300
|
+
* Reports debounced, serializable editor snapshots. Persistence and
|
|
301
|
+
* collaboration transports remain owned by the host application.
|
|
302
|
+
*/
|
|
303
|
+
onProjectChange?: (snapshot: BindingBuilderProjectSnapshot, origin: BindingBuilderProjectChangeOrigin) => void;
|
|
304
|
+
/** Delay before reporting local project changes. Defaults to 350ms. */
|
|
305
|
+
projectChangeDebounceMs?: number;
|
|
306
|
+
/**
|
|
307
|
+
* Lets a hosted editor upload a selected model before it is loaded. Return
|
|
308
|
+
* the durable model URL/version that should be saved with the project.
|
|
309
|
+
*/
|
|
310
|
+
onModelUpload?: (file: File) => Promise<BindingBuilderProject["model"]>;
|
|
311
|
+
/** Requests/releases a short collaborative lease around gizmo edits. */
|
|
312
|
+
onEditLeaseChange?: (featureId: string, editing: boolean) => void;
|
|
313
|
+
};
|
|
314
|
+
declare function BindingBuilder({ licenseKey, licenseValidationUrl, dracoDecoderPath, ktx2TranscoderPath, meshopt, project, onProjectChange, projectChangeDebounceMs, onModelUpload, onEditLeaseChange, }: BindingBuilderProps): react_jsx_runtime.JSX.Element;
|
|
256
315
|
|
|
257
316
|
type SimpleModelViewerProps = {
|
|
258
317
|
modelUrl: string;
|
|
@@ -571,4 +630,4 @@ type ShareableViewerStateProps = {
|
|
|
571
630
|
};
|
|
572
631
|
declare function useShareableViewerState({ cameraState, setCameraState, objectBindings, onObjectBindingsChange, selectedObjectBinding, setSelectedObjectBinding, paramKey, debounceMs, autoSync, }: UseShareableViewerStateOptions): ShareableViewerStateProps;
|
|
573
632
|
|
|
574
|
-
export { type AnimationClipInfo, type AnimationControls, type AnimationPlaybackState, BindingBuilder, type BindingBuilderProps, BindingEdit, type CaptureImageOptions, type CinematicConfig, type CinematicWaypoint, type CustomObjectBindingDataPanelProps, type CustomSceneObjectsPanelProps, type HiddenObjectsState, type HomeCameraState, type ModelFormat, ModelViewer, type ModelViewerProps, ObjectActionEvent, ObjectBinding, ObjectBindingAction, ObjectBindingMaterial, ObjectBindingPatch, ObjectBindingTarget, ObjectBindingTextureChannel, ObjectBindingTextureSlot, ObjectBindingTransform, type ObjectBindingsController, type ObjectTransformSpace, type RuntimeMaterialPatch, type RuntimeMaterialRanges, type RuntimePointLightOptions, type RuntimePointLightPatch, type RuntimeTransformPatch, type RuntimeTransformRanges, SceneConfig, type SceneConfigController, SceneConfigPatch, type SceneConfigUpdate, SceneLight, SceneLightAttachment, type SceneLightInput, type SceneLightPatch, type SceneLightsController, SimpleModelViewer, type SimpleModelViewerProps, type UseViewerCameraOptions, type UseViewerEffectsOptions, type ViewerActionAnimationController, type ViewerActionBindingsController, type ViewerActionCameraController, type ViewerActionSceneController, type ViewerActionsOptions, type ViewerActionsProps, type ViewerAnimationsProps, type ViewerCameraPreset, type ViewerCameraProps, ViewerCameraState, type ViewerConnectionController, type ViewerEffectChannels, type ViewerEffectEasing, type ViewerEffectRange, type ViewerEffectTarget, type ViewerEffectsController, type ViewerFlickerOptions, type ViewerLightEffectChannel, type ViewerMaterialEffectChannel, type ViewerModelBounds, type ViewerModelProps, type ViewerPulseOptions, type ViewerReadyConsumer, type ViewerReadyHandler, type ViewerReadyState, type ViewerSelectionProps, type ViewerTimelineOptions, type ViewerTimelineStep, type ViewerTransformEffectChannel, type ViewerTransitionOptions, type ViewerVector3, type XRScaleMode, useObjectBinding, useObjectBindingIds, useObjectBindings, useSceneConfig, useShareableViewerState, useViewerActions, useViewerAnimations, useViewerCamera, useViewerConnection, useViewerEffects, useViewerHover, useViewerModel, useViewerSelection };
|
|
633
|
+
export { type AnimationClipInfo, type AnimationControls, type AnimationPlaybackState, BindingBuilder, type BindingBuilderProject, type BindingBuilderProjectChangeOrigin, type BindingBuilderProjectModel, type BindingBuilderProjectSnapshot, type BindingBuilderProps, BindingEdit, type CaptureImageOptions, type CinematicConfig, type CinematicWaypoint, type CustomObjectBindingDataPanelProps, type CustomSceneObjectsPanelProps, type HiddenObjectsState, type HomeCameraState, type ModelFormat, ModelViewer, type ModelViewerProps, ObjectActionEvent, ObjectBinding, ObjectBindingAction, ObjectBindingMaterial, ObjectBindingPatch, ObjectBindingTarget, ObjectBindingTextureChannel, ObjectBindingTextureSlot, ObjectBindingTransform, type ObjectBindingsController, type ObjectTransformSpace, type RuntimeMaterialPatch, type RuntimeMaterialRanges, type RuntimePointLightOptions, type RuntimePointLightPatch, type RuntimeTransformPatch, type RuntimeTransformRanges, SceneConfig, type SceneConfigController, SceneConfigPatch, type SceneConfigUpdate, SceneLight, SceneLightAttachment, type SceneLightInput, type SceneLightPatch, type SceneLightsController, SimpleModelViewer, type SimpleModelViewerProps, type UseViewerCameraOptions, type UseViewerEffectsOptions, type ViewerActionAnimationController, type ViewerActionBindingsController, type ViewerActionCameraController, type ViewerActionSceneController, type ViewerActionsOptions, type ViewerActionsProps, type ViewerAnimationsProps, type ViewerCameraPreset, type ViewerCameraProps, ViewerCameraState, type ViewerConnectionController, type ViewerEffectChannels, type ViewerEffectEasing, type ViewerEffectRange, type ViewerEffectTarget, type ViewerEffectsController, type ViewerFlickerOptions, type ViewerLightEffectChannel, type ViewerMaterialEffectChannel, type ViewerModelBounds, type ViewerModelProps, type ViewerPulseOptions, type ViewerReadyConsumer, type ViewerReadyHandler, type ViewerReadyState, type ViewerSelectionProps, type ViewerTimelineOptions, type ViewerTimelineStep, type ViewerTransformEffectChannel, type ViewerTransitionOptions, type ViewerVector3, type XRScaleMode, useObjectBinding, useObjectBindingIds, useObjectBindings, useSceneConfig, useShareableViewerState, useViewerActions, useViewerAnimations, useViewerCamera, useViewerConnection, useViewerEffects, useViewerHover, useViewerModel, useViewerSelection };
|