@spiffcommerce/preview 3.6.2-rc.8 → 4.0.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.
Files changed (45) hide show
  1. package/dist/index.esm.js +1576 -38
  2. package/dist/index.umd.js +1 -0
  3. package/package.json +4 -6
  4. package/dist/_tslib.esm.js +0 -33
  5. package/dist/animation.esm.js +0 -1364
  6. package/dist/assetCache.esm.js +0 -6
  7. package/dist/assetCache.esm2.js +0 -825
  8. package/dist/blurPostProcess.esm.js +0 -327
  9. package/dist/bumpVertex.esm.js +0 -497
  10. package/dist/compatibilityOptions.esm.js +0 -68
  11. package/dist/configuration.esm.js +0 -121
  12. package/dist/core.esm.js +0 -8135
  13. package/dist/dynamicTexture.esm.js +0 -105
  14. package/dist/dynamicTexture.esm2.js +0 -238
  15. package/dist/easing.esm.js +0 -130
  16. package/dist/effectFallbacks.esm.js +0 -378
  17. package/dist/engine.esm.js +0 -25504
  18. package/dist/glbLoaderExtensions.esm.js +0 -690
  19. package/dist/glowLayer.esm.js +0 -1621
  20. package/dist/glowLayerManager.esm.js +0 -50
  21. package/dist/guid.esm.js +0 -21
  22. package/dist/hdrFilteringFunctions.esm.js +0 -816
  23. package/dist/helperFunctions.esm.js +0 -5145
  24. package/dist/material.esm.js +0 -115
  25. package/dist/material.esm2.js +0 -5245
  26. package/dist/math.axis.esm.js +0 -35
  27. package/dist/math.color.esm.js +0 -1661
  28. package/dist/math.path.esm.js +0 -15
  29. package/dist/math.size.esm.js +0 -137
  30. package/dist/mesh.esm.js +0 -11170
  31. package/dist/modelContainer.esm.js +0 -1895
  32. package/dist/node.esm.js +0 -795
  33. package/dist/pbrBRDFFunctions.esm.js +0 -124
  34. package/dist/pbrMaterial.esm.js +8 -8739
  35. package/dist/productAnimations.esm.js +0 -182
  36. package/dist/productCamera.esm.js +0 -14
  37. package/dist/productCamera.esm2.js +0 -3870
  38. package/dist/renderConstants.esm.js +0 -116
  39. package/dist/renderingPipeline.esm.js +0 -18
  40. package/dist/renderingPipeline.esm2.js +1 -3594
  41. package/dist/sceneLoaderFlags.esm.js +0 -51
  42. package/dist/types.esm.js +0 -30
  43. package/dist/variants.esm.js +0 -16
  44. package/dist/variants.esm2.js +0 -3097
  45. package/dist/webRequest.esm.js +0 -7777
@@ -1,51 +0,0 @@
1
- /**
2
- * Class used to represent data loading progression
3
- */
4
- class SceneLoaderFlags {
5
- /**
6
- * Gets or sets a boolean indicating if entire scene must be loaded even if scene contains incremental data
7
- */
8
- static get ForceFullSceneLoadingForIncremental() {
9
- return SceneLoaderFlags._ForceFullSceneLoadingForIncremental;
10
- }
11
- static set ForceFullSceneLoadingForIncremental(value) {
12
- SceneLoaderFlags._ForceFullSceneLoadingForIncremental = value;
13
- }
14
- /**
15
- * Gets or sets a boolean indicating if loading screen must be displayed while loading a scene
16
- */
17
- static get ShowLoadingScreen() {
18
- return SceneLoaderFlags._ShowLoadingScreen;
19
- }
20
- static set ShowLoadingScreen(value) {
21
- SceneLoaderFlags._ShowLoadingScreen = value;
22
- }
23
- /**
24
- * Defines the current logging level (while loading the scene)
25
- * @ignorenaming
26
- */
27
- // eslint-disable-next-line @typescript-eslint/naming-convention
28
- static get loggingLevel() {
29
- return SceneLoaderFlags._LoggingLevel;
30
- }
31
- // eslint-disable-next-line @typescript-eslint/naming-convention
32
- static set loggingLevel(value) {
33
- SceneLoaderFlags._LoggingLevel = value;
34
- }
35
- /**
36
- * Gets or set a boolean indicating if matrix weights must be cleaned upon loading
37
- */
38
- static get CleanBoneMatrixWeights() {
39
- return SceneLoaderFlags._CleanBoneMatrixWeights;
40
- }
41
- static set CleanBoneMatrixWeights(value) {
42
- SceneLoaderFlags._CleanBoneMatrixWeights = value;
43
- }
44
- }
45
- // Flags
46
- SceneLoaderFlags._ForceFullSceneLoadingForIncremental = false;
47
- SceneLoaderFlags._ShowLoadingScreen = true;
48
- SceneLoaderFlags._CleanBoneMatrixWeights = false;
49
- SceneLoaderFlags._LoggingLevel = 0;
50
-
51
- export { SceneLoaderFlags as S };
package/dist/types.esm.js DELETED
@@ -1,30 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- /**
3
- * Defines the different behaviors supported by the camera system
4
- * for control when viewing a product.
5
- */
6
- var ProductCameraRig;
7
- (function (ProductCameraRig) {
8
- ProductCameraRig[ProductCameraRig["Orbit"] = 0] = "Orbit";
9
- ProductCameraRig[ProductCameraRig["Pan"] = 1] = "Pan";
10
- })(ProductCameraRig || (ProductCameraRig = {}));
11
- /**
12
- * Used to specify the behavior of a material effect such as clearcoat, sheen and translucency.
13
- */
14
- var MaterialEffectMode;
15
- (function (MaterialEffectMode) {
16
- /**
17
- * When a material variant effect specifies 'None' the effect doesn't change in any way. This is the default behavior.
18
- */
19
- MaterialEffectMode["None"] = "None";
20
- /**
21
- * When a material variant effect specifies 'RemoveWhenSelected' the effect is removed.
22
- */
23
- MaterialEffectMode["RemoveWhenSelected"] = "RemoveWhenSelected";
24
- /**
25
- * When a material variant effect specifies 'ApplyWhenSelected' the effect is enabled.
26
- */
27
- MaterialEffectMode["ApplyWhenSelected"] = "ApplyWhenSelected";
28
- })(MaterialEffectMode || (MaterialEffectMode = {}));
29
-
30
- export { MaterialEffectMode, ProductCameraRig };
@@ -1,16 +0,0 @@
1
- import './_tslib.esm.js';
2
- export { V as default, g as getAllMaterialsForInstance } from './variants.esm2.js';
3
- import './assetCache.esm2.js';
4
- import './material.esm.js';
5
- import './engine.esm.js';
6
- import './webRequest.esm.js';
7
- import './math.color.esm.js';
8
- import './helperFunctions.esm.js';
9
- import './math.size.esm.js';
10
- import './compatibilityOptions.esm.js';
11
- import './hdrFilteringFunctions.esm.js';
12
- import './pbrBRDFFunctions.esm.js';
13
- import './math.axis.esm.js';
14
- import './math.path.esm.js';
15
- import './sceneLoaderFlags.esm.js';
16
- import './types.esm.js';