@xviewer.js/core 1.0.0-alpha.6 → 1.0.0-alpha.60

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 (76) hide show
  1. package/dist/main.js +4176 -12839
  2. package/dist/main.js.map +1 -1
  3. package/dist/module.js +4106 -12814
  4. package/dist/module.js.map +1 -1
  5. package/package.json +19 -21
  6. package/types/ObjectInstance.d.ts +2 -2
  7. package/types/PropertyManager.d.ts +14 -4
  8. package/types/SystemInfo.d.ts +1 -0
  9. package/types/Task.d.ts +2 -0
  10. package/types/TextureSettings.d.ts +3 -1
  11. package/types/Viewer.d.ts +51 -19
  12. package/types/asset/ResourceManager.d.ts +12 -26
  13. package/types/asset/aLoader.d.ts +9 -2
  14. package/types/base/EventEmitter.d.ts +10 -10
  15. package/types/base/getClassInstance.d.ts +1 -0
  16. package/types/base/index.d.ts +1 -0
  17. package/types/cinestation/CinestationBlendDefinition.d.ts +4 -4
  18. package/types/cinestation/CinestationBrain.d.ts +0 -2
  19. package/types/cinestation/FreelookVirtualCamera.d.ts +40 -21
  20. package/types/cinestation/VirtualCamera.d.ts +8 -8
  21. package/types/components/Animation.d.ts +26 -0
  22. package/types/components/PerformanceMonitor.d.ts +48 -0
  23. package/types/components/Reflector.d.ts +15 -0
  24. package/types/components/index.d.ts +2 -0
  25. package/types/index.d.ts +10 -2
  26. package/types/loaders/aEXRLoader.d.ts +6 -0
  27. package/types/loaders/aFBXLoader.d.ts +6 -0
  28. package/types/loaders/aGLTFLoader.d.ts +7 -0
  29. package/types/loaders/aHDRLoader.d.ts +6 -0
  30. package/types/loaders/aJSONLoader.d.ts +6 -0
  31. package/types/loaders/aTextureLoader.d.ts +6 -0
  32. package/types/{loader → loaders}/index.d.ts +3 -5
  33. package/types/materials/ReflectorMaterial.d.ts +28 -0
  34. package/types/{material → materials}/getShaderMaterial.d.ts +2 -2
  35. package/types/materials/glsl/index.d.ts +3 -0
  36. package/types/materials/index.d.ts +3 -0
  37. package/types/math/Constant.d.ts +8 -1
  38. package/types/math/Interpolation.d.ts +6 -6
  39. package/types/math/Perlin.d.ts +12 -0
  40. package/types/math/index.d.ts +5 -0
  41. package/types/passes/MipBlurPass.d.ts +27 -0
  42. package/types/passes/cubeuv/MergeBlurPass.d.ts +21 -0
  43. package/types/passes/cubeuv/MergeInfo.d.ts +9 -0
  44. package/types/passes/cubeuv/MergeReflectPass.d.ts +18 -0
  45. package/types/passes/cubeuv/utils.d.ts +16 -0
  46. package/types/passes/mipGaussianBlendWeight.d.ts +1 -0
  47. package/types/plugins/BoxProjectionPlugin.d.ts +20 -0
  48. package/types/plugins/DebugPlugin.d.ts +10 -0
  49. package/types/plugins/DropFilePlugin.d.ts +18 -0
  50. package/types/plugins/EnvironmentPlugin.d.ts +40 -0
  51. package/types/plugins/PerformanceMonitorPlugin.d.ts +48 -0
  52. package/types/plugins/index.d.ts +5 -0
  53. package/types/tween/Easing.d.ts +25 -0
  54. package/types/tween/Group.d.ts +16 -0
  55. package/types/tween/Interpolation.d.ts +19 -0
  56. package/types/tween/Now.d.ts +2 -0
  57. package/types/tween/Sequence.d.ts +7 -0
  58. package/types/tween/Tween.d.ts +96 -0
  59. package/types/tween/TweenChain.d.ts +15 -5
  60. package/types/tween/TweenManager.d.ts +0 -2
  61. package/types/tween/Version.d.ts +1 -0
  62. package/types/tween/index.d.ts +3 -1
  63. package/types/tween/mainGroup.d.ts +2 -0
  64. package/types/types.d.ts +4 -0
  65. package/types/loader/aFBXLoader.d.ts +0 -4
  66. package/types/loader/aGLTFLoader.d.ts +0 -4
  67. package/types/loader/aHDRLoader.d.ts +0 -4
  68. package/types/loader/aTextureLoader.d.ts +0 -4
  69. package/types/material/glsl/copy.glsl.d.ts +0 -1
  70. /package/types/{material → materials}/glsl/boxfilterblur.glsl.d.ts +0 -0
  71. /package/types/{material → materials}/glsl/fullscreen.glsl.d.ts +0 -0
  72. /package/types/{material → materials}/glsl/panorama.glsl.d.ts +0 -0
  73. /package/types/{primitives → primitive}/Box.d.ts +0 -0
  74. /package/types/{primitives → primitive}/Plane.d.ts +0 -0
  75. /package/types/{primitives → primitive}/Sphere.d.ts +0 -0
  76. /package/types/{primitives → primitive}/index.d.ts +0 -0
@@ -0,0 +1 @@
1
+ export declare const VERSION = "23.1.2";
@@ -1,3 +1,5 @@
1
1
  export { TweenChain } from "./TweenChain";
2
2
  export { TweenManager } from "./TweenManager";
3
- export { Tween } from "./tween";
3
+ export { Tween } from "./Tween";
4
+ export type { EasingFunction } from "./Easing";
5
+ export { Easing } from "./Easing";
@@ -0,0 +1,2 @@
1
+ import { Group } from './Group';
2
+ export declare const mainGroup: Group;
package/types/types.d.ts CHANGED
@@ -45,6 +45,10 @@ export type __P<T, K extends __C<T>> = __Properties<T> & {
45
45
  * Object's local rotation
46
46
  */
47
47
  rotation?: Euler;
48
+ /**
49
+ * Object's layer mask
50
+ */
51
+ layer?: number;
48
52
  };
49
53
  export type __Comp<T, K extends __C<T>> = __Properties<T> & {
50
54
  /**
@@ -1,4 +0,0 @@
1
- import { LoadProperties, aLoader } from "../asset/aLoader";
2
- export declare class aFBXLoader extends aLoader {
3
- load({ url, onLoad, onProgress, onError }: LoadProperties): void;
4
- }
@@ -1,4 +0,0 @@
1
- import { LoadProperties, aLoader } from "../asset/aLoader";
2
- export declare class aGLTFLoader extends aLoader {
3
- load({ url, onLoad, onProgress, onError }: LoadProperties): void;
4
- }
@@ -1,4 +0,0 @@
1
- import { LoadProperties, aLoader } from "../asset/aLoader";
2
- export declare class aHDRLoader extends aLoader {
3
- load({ url, onLoad, onProgress, onError, texSettings }: LoadProperties): void;
4
- }
@@ -1,4 +0,0 @@
1
- import { LoadProperties, aLoader } from "../asset/aLoader";
2
- export declare class aTextureLoader extends aLoader {
3
- load({ url, onLoad, onProgress, onError, texSettings }: LoadProperties): void;
4
- }
@@ -1 +0,0 @@
1
- export declare const frag_Copy = "\nvarying vec2 vUv;\nuniform sampler2D tMain;\nuniform float uLod;\n\nvoid main() {\n gl_FragColor = texture(tMain, vUv, uLod);\n\t#include <encodings_fragment>\n}\n";
File without changes
File without changes
File without changes
File without changes