@tresjs/cientos 3.7.0 → 3.8.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 (62) hide show
  1. package/README.md +7 -6
  2. package/dist/core/abstractions/GlobalAudio.d.ts +1 -1
  3. package/dist/core/abstractions/Lensflare/component.vue.d.ts +1 -1
  4. package/dist/core/abstractions/Levioso.vue.d.ts +1 -1
  5. package/dist/core/abstractions/MouseParallax.vue.d.ts +1 -1
  6. package/dist/core/abstractions/Reflector.vue.d.ts +1 -1
  7. package/dist/core/abstractions/Text3D.vue.d.ts +1 -1
  8. package/dist/core/abstractions/useFBO/component.vue.d.ts +1 -1
  9. package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +1 -1
  10. package/dist/core/abstractions/useSurfaceSampler/index.d.ts +6 -0
  11. package/dist/core/controls/CameraControls.vue.d.ts +957 -1032
  12. package/dist/core/controls/KeyboardControls.vue.d.ts +1 -1
  13. package/dist/core/controls/MapControls.vue.d.ts +1 -1
  14. package/dist/core/controls/OrbitControls.vue.d.ts +891 -961
  15. package/dist/core/controls/PointerLockControls.vue.d.ts +1 -1
  16. package/dist/core/controls/ScrollControls.vue.d.ts +1 -1
  17. package/dist/core/controls/TransformControls.vue.d.ts +1 -1
  18. package/dist/core/loaders/SVG/component.vue.d.ts +1 -1
  19. package/dist/core/loaders/useFBX/component.vue.d.ts +44 -3
  20. package/dist/core/loaders/useGLTF/component.vue.d.ts +31 -1
  21. package/dist/core/loaders/useGLTF/index.d.ts +1 -1
  22. package/dist/core/materials/blurPass.d.ts +22 -0
  23. package/dist/core/materials/convolutionMaterial.d.ts +7 -0
  24. package/dist/core/materials/customShaderMaterial/index.vue.d.ts +2 -2
  25. package/dist/core/materials/index.d.ts +2 -1
  26. package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +1 -1
  27. package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +74 -0
  28. package/dist/core/materials/meshReflectionMaterial/material.d.ts +51 -0
  29. package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +1 -1
  30. package/dist/core/misc/BakeShadows.d.ts +1 -0
  31. package/dist/core/misc/Stats.d.ts +1 -1
  32. package/dist/core/misc/StatsGl.d.ts +1 -1
  33. package/dist/core/misc/html/HTML.vue.d.ts +2 -2
  34. package/dist/core/misc/index.d.ts +3 -1
  35. package/dist/core/misc/useGLTFExporter.d.ts +12 -0
  36. package/dist/core/shapes/Box.vue.d.ts +1 -1
  37. package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +1 -1
  38. package/dist/core/shapes/Circle.vue.d.ts +1 -1
  39. package/dist/core/shapes/Cone.vue.d.ts +1 -1
  40. package/dist/core/shapes/Dodecahedron.vue.d.ts +1 -1
  41. package/dist/core/shapes/Icosahedron.vue.d.ts +1 -1
  42. package/dist/core/shapes/Line2.vue.d.ts +1 -1
  43. package/dist/core/shapes/Octahedron.vue.d.ts +1 -1
  44. package/dist/core/shapes/Plane.vue.d.ts +1 -1
  45. package/dist/core/shapes/Ring.vue.d.ts +1 -1
  46. package/dist/core/shapes/Sphere.vue.d.ts +1 -1
  47. package/dist/core/shapes/Superformula.vue.d.ts +1 -1
  48. package/dist/core/shapes/Tetrahedron.vue.d.ts +1 -1
  49. package/dist/core/shapes/Torus.vue.d.ts +1 -1
  50. package/dist/core/shapes/TorusKnot.vue.d.ts +1 -1
  51. package/dist/core/shapes/Tube.vue.d.ts +1 -1
  52. package/dist/core/staging/Backdrop.vue.d.ts +1 -1
  53. package/dist/core/staging/Precipitation.vue.d.ts +1 -1
  54. package/dist/core/staging/Sky.vue.d.ts +1 -1
  55. package/dist/core/staging/Smoke.vue.d.ts +1 -1
  56. package/dist/core/staging/Sparkles/ShaderData.d.ts +1 -1
  57. package/dist/core/staging/Sparkles/component.vue.d.ts +3 -3
  58. package/dist/core/staging/Stars.vue.d.ts +1 -1
  59. package/dist/trescientos.js +7534 -5774
  60. package/dist/trescientos.umd.cjs +259 -115
  61. package/dist/utils/constants.d.ts +1 -0
  62. package/package.json +23 -23
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
37
37
  elevation: number;
38
38
  azimuth: number;
39
39
  distance: number;
40
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SkyProps>, {
40
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SkyProps>, {
41
41
  turbidity: number;
42
42
  rayleigh: number;
43
43
  mieCoefficient: number;
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
76
76
  depthTest: boolean;
77
77
  }>, {
78
78
  value: import("vue").ShallowRef<any>;
79
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SmokeProps>, {
79
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SmokeProps>, {
80
80
  opacity: number;
81
81
  speed: number;
82
82
  width: number;
@@ -7,7 +7,7 @@ export declare class ShaderData {
7
7
  private resolution;
8
8
  constructor(entries: ShaderDataEntry<any>[], resolution: number);
9
9
  useTexture(): {
10
- texture: Ref<DataTexture> | import("vue").ShallowRef<DataTexture>;
10
+ texture: import("vue").ShallowRef<DataTexture>;
11
11
  dispose: () => void;
12
12
  yFor: Record<string, number>;
13
13
  };
@@ -164,7 +164,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
164
164
  blending: 2;
165
165
  transparent: boolean;
166
166
  depthWrite: boolean;
167
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SparkleProps>, {
167
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SparkleProps>, {
168
168
  map: string;
169
169
  geometry: undefined;
170
170
  directionalLight: undefined;
@@ -214,8 +214,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
214
214
  surfaceDistance: number;
215
215
  sequenceColor: Gradient<import("three").ColorRepresentation | [r: number, g: number, b: number]>;
216
216
  sequenceAlpha: Gradient<number>;
217
- sequenceOffset: Gradient<VectorFlexibleParams>;
218
- sequenceNoise: Gradient<VectorFlexibleParams>;
217
+ sequenceOffset: any;
218
+ sequenceNoise: any;
219
219
  sequenceSize: Gradient<number>;
220
220
  sequenceSurfaceDistance: Gradient<number>;
221
221
  mixColor: number;
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
75
75
  radius: number;
76
76
  }>, {
77
77
  value: import("vue").ShallowRef<any>;
78
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<StarsProps>, {
78
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<StarsProps>, {
79
79
  size: number;
80
80
  sizeAttenuation: boolean;
81
81
  transparent: boolean;