softbox 4.8.0 → 4.10.0
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/dist/{ThreePathTracingService-BgK90Qzi.cjs → ThreePathTracingService-BqI6Nw-K.cjs} +50 -26
- package/dist/{ThreePathTracingService-yfJv1Gh-.js → ThreePathTracingService-Dj2JP7gs.js} +811 -696
- package/dist/index-DC_xAbSh.cjs +29 -0
- package/dist/{index-C4Vga5nj.js → index-DOb7Peb_.js} +2773 -2658
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/simple-viewer.cjs +1 -1
- package/dist/simple-viewer.es.js +1 -1
- package/package.json +1 -1
- package/dist/index-CPZ7CXqQ.cjs +0 -29
package/dist/index.d.cts
CHANGED
|
@@ -508,6 +508,13 @@ export declare interface SimpleViewerOptions {
|
|
|
508
508
|
* real-scale floor, contact shadows and framing rely on.
|
|
509
509
|
*/
|
|
510
510
|
units?: ModelUnits;
|
|
511
|
+
/**
|
|
512
|
+
* Drop the loaded model onto the floor at y=0 on load (default `true`). Set
|
|
513
|
+
* `false` for a model that carries its own ground and must keep its authored
|
|
514
|
+
* Y — otherwise softbox snaps the model's lowest point (e.g. the bottom of an
|
|
515
|
+
* embedded ground slab) to the floor, shifting everything above it upward.
|
|
516
|
+
*/
|
|
517
|
+
floorAlignment?: boolean;
|
|
511
518
|
backgroundColor?: string | number;
|
|
512
519
|
staticScene?: boolean;
|
|
513
520
|
/** GLTF animation playback (autoplay, speed). */
|
package/dist/index.d.ts
CHANGED
|
@@ -508,6 +508,13 @@ export declare interface SimpleViewerOptions {
|
|
|
508
508
|
* real-scale floor, contact shadows and framing rely on.
|
|
509
509
|
*/
|
|
510
510
|
units?: ModelUnits;
|
|
511
|
+
/**
|
|
512
|
+
* Drop the loaded model onto the floor at y=0 on load (default `true`). Set
|
|
513
|
+
* `false` for a model that carries its own ground and must keep its authored
|
|
514
|
+
* Y — otherwise softbox snaps the model's lowest point (e.g. the bottom of an
|
|
515
|
+
* embedded ground slab) to the floor, shifting everything above it upward.
|
|
516
|
+
*/
|
|
517
|
+
floorAlignment?: boolean;
|
|
511
518
|
backgroundColor?: string | number;
|
|
512
519
|
staticScene?: boolean;
|
|
513
520
|
/** GLTF animation playback (autoplay, speed). */
|
package/dist/simple-viewer.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DC_xAbSh.cjs");exports.ControlType=e.ControlType;exports.ErrorCode=e.ErrorCode;exports.Hotspot=e.Hotspot;exports.SimpleViewer=e.SimpleViewerWrapper;exports.ThreeViewerError=e.ThreeViewerError;exports.TypedEventEmitter=e.TypedEventEmitter;exports.VIEWER_PRESETS=e.VIEWER_PRESETS;exports.defaultOptions=e.defaultOptions;exports.resolvePreset=e.resolvePreset;
|
package/dist/simple-viewer.es.js
CHANGED
package/package.json
CHANGED