softbox 4.0.0 → 4.1.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/README.md +6 -0
- package/dist/{ThreePathTracingService-Bv1CmdCK.cjs → ThreePathTracingService-CexSoU8l.cjs} +1 -1
- package/dist/{ThreePathTracingService-CRv4tDno.js → ThreePathTracingService-DTwEWxOo.js} +1 -1
- package/dist/{index-1KtcaoH6.js → index-CklTozD_.js} +1322 -1280
- package/dist/index-Ha8qaqKC.cjs +11 -0
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/simple-viewer.cjs +1 -1
- package/dist/simple-viewer.es.js +1 -1
- package/package.json +1 -1
- package/dist/index-C4Chx9Wl.cjs +0 -11
package/dist/index.d.cts
CHANGED
|
@@ -275,6 +275,9 @@ export declare interface LoadingIndicatorOptions {
|
|
|
275
275
|
backdrop?: string;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
+
/** Length unit the model's geometry is authored in. */
|
|
279
|
+
export declare type ModelUnits = 'meters' | 'centimeters' | 'millimeters' | 'feet' | 'inches';
|
|
280
|
+
|
|
278
281
|
export declare interface PathTracingOptions {
|
|
279
282
|
enabled?: boolean;
|
|
280
283
|
maxSamples?: number;
|
|
@@ -390,6 +393,13 @@ export declare interface SimpleViewerOptions {
|
|
|
390
393
|
* pass overrides the preset's values.
|
|
391
394
|
*/
|
|
392
395
|
preset?: ViewerPreset;
|
|
396
|
+
/**
|
|
397
|
+
* Length unit the model geometry is authored in (default `'meters'`).
|
|
398
|
+
* Non-meter models are rescaled on load — without touching the model's own
|
|
399
|
+
* transform — to the viewer's 1-unit-=-1-meter convention that the
|
|
400
|
+
* real-scale floor, contact shadows and framing rely on.
|
|
401
|
+
*/
|
|
402
|
+
units?: ModelUnits;
|
|
393
403
|
backgroundColor?: string | number;
|
|
394
404
|
staticScene?: boolean;
|
|
395
405
|
/** GLTF animation playback (autoplay, speed). */
|
package/dist/index.d.ts
CHANGED
|
@@ -275,6 +275,9 @@ export declare interface LoadingIndicatorOptions {
|
|
|
275
275
|
backdrop?: string;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
+
/** Length unit the model's geometry is authored in. */
|
|
279
|
+
export declare type ModelUnits = 'meters' | 'centimeters' | 'millimeters' | 'feet' | 'inches';
|
|
280
|
+
|
|
278
281
|
export declare interface PathTracingOptions {
|
|
279
282
|
enabled?: boolean;
|
|
280
283
|
maxSamples?: number;
|
|
@@ -390,6 +393,13 @@ export declare interface SimpleViewerOptions {
|
|
|
390
393
|
* pass overrides the preset's values.
|
|
391
394
|
*/
|
|
392
395
|
preset?: ViewerPreset;
|
|
396
|
+
/**
|
|
397
|
+
* Length unit the model geometry is authored in (default `'meters'`).
|
|
398
|
+
* Non-meter models are rescaled on load — without touching the model's own
|
|
399
|
+
* transform — to the viewer's 1-unit-=-1-meter convention that the
|
|
400
|
+
* real-scale floor, contact shadows and framing rely on.
|
|
401
|
+
*/
|
|
402
|
+
units?: ModelUnits;
|
|
393
403
|
backgroundColor?: string | number;
|
|
394
404
|
staticScene?: boolean;
|
|
395
405
|
/** 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-Ha8qaqKC.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