@tresjs/cientos 4.0.1 → 4.0.3

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 (80) hide show
  1. package/dist/core/abstractions/AnimatedSprite/component.vue.d.ts +11 -53
  2. package/dist/core/abstractions/GlobalAudio.d.ts +1 -1
  3. package/dist/core/abstractions/Lensflare/component.vue.d.ts +7 -42
  4. package/dist/core/abstractions/Lensflare/index.d.ts +1 -1
  5. package/dist/core/abstractions/Levioso.vue.d.ts +5 -32
  6. package/dist/core/abstractions/MouseParallax.vue.d.ts +2 -29
  7. package/dist/core/abstractions/PositionalAudio.vue.d.ts +6 -41
  8. package/dist/core/abstractions/Reflector.vue.d.ts +4 -35
  9. package/dist/core/abstractions/Text3D.vue.d.ts +4 -44
  10. package/dist/core/abstractions/index.d.ts +9 -9
  11. package/dist/core/abstractions/useAnimations.d.ts +1 -1
  12. package/dist/core/abstractions/useFBO/component.vue.d.ts +4 -29
  13. package/dist/core/abstractions/useFBO/index.d.ts +2 -2
  14. package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +3 -12
  15. package/dist/core/abstractions/useSurfaceSampler/index.d.ts +606 -0
  16. package/dist/core/controls/KeyboardControls.vue.d.ts +6 -29
  17. package/dist/core/controls/PointerLockControls.vue.d.ts +7 -28
  18. package/dist/core/controls/ScrollControls.vue.d.ts +7 -36
  19. package/dist/core/controls/TransformControls.vue.d.ts +7 -42
  20. package/dist/core/controls/index.d.ts +5 -5
  21. package/dist/core/index.d.ts +2 -2
  22. package/dist/core/loaders/SVG/component.vue.d.ts +3 -28
  23. package/dist/core/loaders/index.d.ts +3 -3
  24. package/dist/core/loaders/useFBX/component.vue.d.ts +6 -29
  25. package/dist/core/loaders/useGLTF/component.vue.d.ts +6 -33
  26. package/dist/core/loaders/useGLTF/index.d.ts +1 -1
  27. package/dist/core/materials/customShaderMaterial/index.vue.d.ts +2 -11
  28. package/dist/core/materials/holographicMaterial/index.vue.d.ts +5 -46
  29. package/dist/core/materials/index.d.ts +4 -4
  30. package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +1 -1
  31. package/dist/core/materials/meshGlassMaterial/material.d.ts +2 -2
  32. package/dist/core/materials/meshReflectionMaterial/BlurPass.d.ts +1 -1
  33. package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +16 -109
  34. package/dist/core/materials/meshReflectionMaterial/material.d.ts +1 -1
  35. package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +5 -28
  36. package/dist/core/materials/meshWobbleMaterial/material.d.ts +1 -1
  37. package/dist/core/misc/BakeShadows.d.ts +1 -1
  38. package/dist/core/misc/Stats.d.ts +4 -4
  39. package/dist/core/misc/StatsGl.d.ts +1 -1
  40. package/dist/core/misc/html/HTML.vue.d.ts +6 -40
  41. package/dist/core/misc/html/utils.d.ts +1 -1
  42. package/dist/core/misc/index.d.ts +3 -3
  43. package/dist/core/shapes/Box.vue.d.ts +3 -26
  44. package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +5 -32
  45. package/dist/core/shapes/Circle.vue.d.ts +3 -26
  46. package/dist/core/shapes/Cone.vue.d.ts +3 -26
  47. package/dist/core/shapes/Cylinder.vue.d.ts +3 -26
  48. package/dist/core/shapes/Dodecahedron.vue.d.ts +3 -26
  49. package/dist/core/shapes/Icosahedron.vue.d.ts +3 -26
  50. package/dist/core/shapes/Line2.vue.d.ts +5 -44
  51. package/dist/core/shapes/Octahedron.vue.d.ts +3 -26
  52. package/dist/core/shapes/Plane.vue.d.ts +3 -26
  53. package/dist/core/shapes/Ring.vue.d.ts +3 -26
  54. package/dist/core/shapes/RoundedBox.vue.d.ts +3 -26
  55. package/dist/core/shapes/Sphere.vue.d.ts +3 -26
  56. package/dist/core/shapes/Superformula.vue.d.ts +3 -36
  57. package/dist/core/shapes/Tetrahedron.vue.d.ts +3 -26
  58. package/dist/core/shapes/Torus.vue.d.ts +3 -26
  59. package/dist/core/shapes/TorusKnot.vue.d.ts +3 -26
  60. package/dist/core/shapes/Tube.vue.d.ts +4 -27
  61. package/dist/core/shapes/index.d.ts +1 -1
  62. package/dist/core/staging/Backdrop.vue.d.ts +4 -29
  63. package/dist/core/staging/ContactShadows.vue.d.ts +6 -49
  64. package/dist/core/staging/Fit.vue.d.ts +4 -27
  65. package/dist/core/staging/Ocean.vue.d.ts +5 -47
  66. package/dist/core/staging/Precipitation.vue.d.ts +7 -48
  67. package/dist/core/staging/Sky.vue.d.ts +3 -36
  68. package/dist/core/staging/Smoke.vue.d.ts +5 -40
  69. package/dist/core/staging/Sparkles/ShaderDataBuilder.d.ts +1 -1
  70. package/dist/core/staging/Sparkles/component.vue.d.ts +9 -86
  71. package/dist/core/staging/Stars.vue.d.ts +5 -40
  72. package/dist/core/staging/index.d.ts +4 -4
  73. package/dist/core/staging/useEnvironment/component.vue.d.ts +5 -42
  74. package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +6 -37
  75. package/dist/trescientos.js +13836 -13914
  76. package/dist/trescientos.umd.cjs +365 -365
  77. package/package.json +19 -17
  78. package/dist/core/controls/CameraControls.vue.d.ts +0 -10381
  79. package/dist/core/controls/MapControls.vue.d.ts +0 -9168
  80. package/dist/core/controls/OrbitControls.vue.d.ts +0 -9182
@@ -15,57 +15,18 @@ export interface LineProps {
15
15
  dashScale?: number;
16
16
  dashOffset?: number;
17
17
  }
18
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<LineProps>, {
19
- vertexColors: null;
20
- color: string;
21
- lineWidth: number;
22
- worldUnits: boolean;
23
- alphaToCoverage: boolean;
24
- dashed: boolean;
25
- dashSize: number;
26
- gapSize: number;
27
- dashScale: number;
28
- dashOffset: number;
29
- }>, {
18
+ declare const _default: import('vue').DefineComponent<LineProps, {
30
19
  instance: import('vue').ShallowRef<any>;
31
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LineProps>, {
32
- vertexColors: null;
33
- color: string;
34
- lineWidth: number;
35
- worldUnits: boolean;
36
- alphaToCoverage: boolean;
37
- dashed: boolean;
38
- dashSize: number;
39
- gapSize: number;
40
- dashScale: number;
41
- dashOffset: number;
42
- }>>>, {
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LineProps> & Readonly<{}>, {
43
21
  color: TresColor;
44
22
  alphaToCoverage: boolean;
45
23
  vertexColors: VertexColors | null;
24
+ dashSize: number;
25
+ gapSize: number;
46
26
  lineWidth: number;
47
27
  worldUnits: boolean;
48
28
  dashed: boolean;
49
- dashSize: number;
50
- gapSize: number;
51
29
  dashScale: number;
52
30
  dashOffset: number;
53
- }, {}>;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
54
32
  export default _default;
55
- type __VLS_WithDefaults<P, D> = {
56
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
57
- default: D[K];
58
- }> : P[K];
59
- };
60
- type __VLS_Prettify<T> = {
61
- [K in keyof T]: T[K];
62
- } & {};
63
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
64
- type __VLS_TypePropsToOption<T> = {
65
- [K in keyof T]-?: {} extends Pick<T, K> ? {
66
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
67
- } : {
68
- type: import('vue').PropType<T[K]>;
69
- required: true;
70
- };
71
- };
@@ -21,39 +21,16 @@ export interface OctahedronProps {
21
21
  declare function __VLS_template(): {
22
22
  default?(_: {}): any;
23
23
  };
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OctahedronProps>, {
25
- args: () => number[];
26
- color: string;
27
- }>, {
24
+ declare const __VLS_component: import('vue').DefineComponent<OctahedronProps, {
28
25
  instance: import('vue').ShallowRef<any>;
29
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<OctahedronProps>, {
30
- args: () => number[];
31
- color: string;
32
- }>>>, {
26
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OctahedronProps> & Readonly<{}>, {
33
27
  color: TresColor;
34
28
  args: ConstructorParameters<typeof OctahedronGeometry>;
35
- }, {}>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
31
  export default _default;
38
- type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
- default: D[K];
41
- }> : P[K];
42
- };
43
- type __VLS_Prettify<T> = {
44
- [K in keyof T]: T[K];
45
- } & {};
46
32
  type __VLS_WithTemplateSlots<T, S> = T & {
47
33
  new (): {
48
34
  $slots: S;
49
35
  };
50
36
  };
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToOption<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: import('vue').PropType<T[K]>;
57
- required: true;
58
- };
59
- };
@@ -21,39 +21,16 @@ export interface PlaneProps {
21
21
  declare function __VLS_template(): {
22
22
  default?(_: {}): any;
23
23
  };
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PlaneProps>, {
25
- args: () => number[];
26
- color: string;
27
- }>, {
24
+ declare const __VLS_component: import('vue').DefineComponent<PlaneProps, {
28
25
  instance: import('vue').ShallowRef<any>;
29
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PlaneProps>, {
30
- args: () => number[];
31
- color: string;
32
- }>>>, {
26
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PlaneProps> & Readonly<{}>, {
33
27
  color: TresColor;
34
28
  args: ConstructorParameters<typeof PlaneGeometry>;
35
- }, {}>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
31
  export default _default;
38
- type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
- default: D[K];
41
- }> : P[K];
42
- };
43
- type __VLS_Prettify<T> = {
44
- [K in keyof T]: T[K];
45
- } & {};
46
32
  type __VLS_WithTemplateSlots<T, S> = T & {
47
33
  new (): {
48
34
  $slots: S;
49
35
  };
50
36
  };
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToOption<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: import('vue').PropType<T[K]>;
57
- required: true;
58
- };
59
- };
@@ -21,39 +21,16 @@ export interface RingProps {
21
21
  declare function __VLS_template(): {
22
22
  default?(_: {}): any;
23
23
  };
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<RingProps>, {
25
- args: () => number[];
26
- color: string;
27
- }>, {
24
+ declare const __VLS_component: import('vue').DefineComponent<RingProps, {
28
25
  instance: import('vue').ShallowRef<any>;
29
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RingProps>, {
30
- args: () => number[];
31
- color: string;
32
- }>>>, {
26
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RingProps> & Readonly<{}>, {
33
27
  color: TresColor;
34
28
  args: ConstructorParameters<typeof RingGeometry>;
35
- }, {}>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
31
  export default _default;
38
- type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
- default: D[K];
41
- }> : P[K];
42
- };
43
- type __VLS_Prettify<T> = {
44
- [K in keyof T]: T[K];
45
- } & {};
46
32
  type __VLS_WithTemplateSlots<T, S> = T & {
47
33
  new (): {
48
34
  $slots: S;
49
35
  };
50
36
  };
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToOption<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: import('vue').PropType<T[K]>;
57
- required: true;
58
- };
59
- };
@@ -22,39 +22,16 @@ export interface BoxProps {
22
22
  declare function __VLS_template(): {
23
23
  default?(_: {}): any;
24
24
  };
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BoxProps>, {
26
- args: () => number[];
27
- color: string;
28
- }>, {
25
+ declare const __VLS_component: import('vue').DefineComponent<BoxProps, {
29
26
  instance: import('vue').ShallowRef<any>;
30
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BoxProps>, {
31
- args: () => number[];
32
- color: string;
33
- }>>>, {
27
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BoxProps> & Readonly<{}>, {
34
28
  color: TresColor;
35
29
  args: ConstructorParameters<typeof BoxGeometry>;
36
- }, {}>;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
32
  export default _default;
39
- type __VLS_WithDefaults<P, D> = {
40
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
41
- default: D[K];
42
- }> : P[K];
43
- };
44
- type __VLS_Prettify<T> = {
45
- [K in keyof T]: T[K];
46
- } & {};
47
33
  type __VLS_WithTemplateSlots<T, S> = T & {
48
34
  new (): {
49
35
  $slots: S;
50
36
  };
51
37
  };
52
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
- type __VLS_TypePropsToOption<T> = {
54
- [K in keyof T]-?: {} extends Pick<T, K> ? {
55
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
56
- } : {
57
- type: import('vue').PropType<T[K]>;
58
- required: true;
59
- };
60
- };
@@ -22,39 +22,16 @@ export interface SphereProps {
22
22
  declare function __VLS_template(): {
23
23
  default?(_: {}): any;
24
24
  };
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SphereProps>, {
26
- args: () => number[];
27
- color: string;
28
- }>, {
25
+ declare const __VLS_component: import('vue').DefineComponent<SphereProps, {
29
26
  instance: import('vue').ShallowRef<any>;
30
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SphereProps>, {
31
- args: () => number[];
32
- color: string;
33
- }>>>, {
27
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SphereProps> & Readonly<{}>, {
34
28
  color: TresColor;
35
29
  args: ConstructorParameters<typeof SphereGeometry>;
36
- }, {}>;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
32
  export default _default;
39
- type __VLS_WithDefaults<P, D> = {
40
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
41
- default: D[K];
42
- }> : P[K];
43
- };
44
- type __VLS_Prettify<T> = {
45
- [K in keyof T]: T[K];
46
- } & {};
47
33
  type __VLS_WithTemplateSlots<T, S> = T & {
48
34
  new (): {
49
35
  $slots: S;
50
36
  };
51
37
  };
52
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
- type __VLS_TypePropsToOption<T> = {
54
- [K in keyof T]-?: {} extends Pick<T, K> ? {
55
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
56
- } : {
57
- type: import('vue').PropType<T[K]>;
58
- required: true;
59
- };
60
- };
@@ -34,25 +34,9 @@ export interface SuperFormulaProps {
34
34
  declare function __VLS_template(): {
35
35
  default?(_: {}): any;
36
36
  };
37
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SuperFormulaProps>, {
38
- widthSegments: number;
39
- heightSegments: number;
40
- numArmsA: number;
41
- expA: () => number[];
42
- numArmsB: number;
43
- expB: () => number[];
44
- color: string;
45
- }>, {
37
+ declare const __VLS_component: import('vue').DefineComponent<SuperFormulaProps, {
46
38
  instance: import('vue').ShallowRef<any>;
47
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SuperFormulaProps>, {
48
- widthSegments: number;
49
- heightSegments: number;
50
- numArmsA: number;
51
- expA: () => number[];
52
- numArmsB: number;
53
- expB: () => number[];
54
- color: string;
55
- }>>>, {
39
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SuperFormulaProps> & Readonly<{}>, {
56
40
  color: TresColor;
57
41
  widthSegments: number;
58
42
  heightSegments: number;
@@ -60,28 +44,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
60
44
  expA: Float3;
61
45
  numArmsB: number;
62
46
  expB: Float3;
63
- }, {}>;
47
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
64
48
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
65
49
  export default _default;
66
- type __VLS_WithDefaults<P, D> = {
67
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
68
- default: D[K];
69
- }> : P[K];
70
- };
71
- type __VLS_Prettify<T> = {
72
- [K in keyof T]: T[K];
73
- } & {};
74
50
  type __VLS_WithTemplateSlots<T, S> = T & {
75
51
  new (): {
76
52
  $slots: S;
77
53
  };
78
54
  };
79
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
80
- type __VLS_TypePropsToOption<T> = {
81
- [K in keyof T]-?: {} extends Pick<T, K> ? {
82
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
83
- } : {
84
- type: import('vue').PropType<T[K]>;
85
- required: true;
86
- };
87
- };
@@ -21,39 +21,16 @@ export interface TetrahedronProps {
21
21
  declare function __VLS_template(): {
22
22
  default?(_: {}): any;
23
23
  };
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TetrahedronProps>, {
25
- args: () => number[];
26
- color: string;
27
- }>, {
24
+ declare const __VLS_component: import('vue').DefineComponent<TetrahedronProps, {
28
25
  instance: import('vue').ShallowRef<any>;
29
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TetrahedronProps>, {
30
- args: () => number[];
31
- color: string;
32
- }>>>, {
26
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TetrahedronProps> & Readonly<{}>, {
33
27
  color: TresColor;
34
28
  args: ConstructorParameters<typeof TetrahedronGeometry>;
35
- }, {}>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
31
  export default _default;
38
- type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
- default: D[K];
41
- }> : P[K];
42
- };
43
- type __VLS_Prettify<T> = {
44
- [K in keyof T]: T[K];
45
- } & {};
46
32
  type __VLS_WithTemplateSlots<T, S> = T & {
47
33
  new (): {
48
34
  $slots: S;
49
35
  };
50
36
  };
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToOption<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: import('vue').PropType<T[K]>;
57
- required: true;
58
- };
59
- };
@@ -21,39 +21,16 @@ export interface TorusProps {
21
21
  declare function __VLS_template(): {
22
22
  default?(_: {}): any;
23
23
  };
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TorusProps>, {
25
- args: () => number[];
26
- color: string;
27
- }>, {
24
+ declare const __VLS_component: import('vue').DefineComponent<TorusProps, {
28
25
  instance: import('vue').ShallowRef<any>;
29
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TorusProps>, {
30
- args: () => number[];
31
- color: string;
32
- }>>>, {
26
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TorusProps> & Readonly<{}>, {
33
27
  color: TresColor;
34
28
  args: ConstructorParameters<typeof TorusGeometry>;
35
- }, {}>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
31
  export default _default;
38
- type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
- default: D[K];
41
- }> : P[K];
42
- };
43
- type __VLS_Prettify<T> = {
44
- [K in keyof T]: T[K];
45
- } & {};
46
32
  type __VLS_WithTemplateSlots<T, S> = T & {
47
33
  new (): {
48
34
  $slots: S;
49
35
  };
50
36
  };
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToOption<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: import('vue').PropType<T[K]>;
57
- required: true;
58
- };
59
- };
@@ -21,39 +21,16 @@ export interface TorusKnotProps {
21
21
  declare function __VLS_template(): {
22
22
  default?(_: {}): any;
23
23
  };
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TorusKnotProps>, {
25
- args: () => number[];
26
- color: string;
27
- }>, {
24
+ declare const __VLS_component: import('vue').DefineComponent<TorusKnotProps, {
28
25
  instance: import('vue').ShallowRef<any>;
29
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TorusKnotProps>, {
30
- args: () => number[];
31
- color: string;
32
- }>>>, {
26
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TorusKnotProps> & Readonly<{}>, {
33
27
  color: TresColor;
34
28
  args: ConstructorParameters<typeof TorusKnotGeometry>;
35
- }, {}>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
31
  export default _default;
38
- type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
- default: D[K];
41
- }> : P[K];
42
- };
43
- type __VLS_Prettify<T> = {
44
- [K in keyof T]: T[K];
45
- } & {};
46
32
  type __VLS_WithTemplateSlots<T, S> = T & {
47
33
  new (): {
48
34
  $slots: S;
49
35
  };
50
36
  };
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToOption<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: import('vue').PropType<T[K]>;
57
- required: true;
58
- };
59
- };
@@ -1,5 +1,5 @@
1
1
  import { TresColor } from '@tresjs/core';
2
- import { TubeGeometry, QuadraticBezierCurve3 } from 'three';
2
+ import { TubeGeometry } from 'three';
3
3
  export interface TubeProps {
4
4
  /**
5
5
  * The curve, segments, radius, radialSegments, closed.
@@ -21,39 +21,16 @@ export interface TubeProps {
21
21
  declare function __VLS_template(): {
22
22
  default?(_: {}): any;
23
23
  };
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TubeProps>, {
25
- args: () => (number | boolean | QuadraticBezierCurve3)[];
26
- color: string;
27
- }>, {
24
+ declare const __VLS_component: import('vue').DefineComponent<TubeProps, {
28
25
  instance: import('vue').ShallowRef<any>;
29
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TubeProps>, {
30
- args: () => (number | boolean | QuadraticBezierCurve3)[];
31
- color: string;
32
- }>>>, {
26
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TubeProps> & Readonly<{}>, {
33
27
  color: TresColor;
34
28
  args: ConstructorParameters<typeof TubeGeometry>;
35
- }, {}>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
31
  export default _default;
38
- type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
- default: D[K];
41
- }> : P[K];
42
- };
43
- type __VLS_Prettify<T> = {
44
- [K in keyof T]: T[K];
45
- } & {};
46
32
  type __VLS_WithTemplateSlots<T, S> = T & {
47
33
  new (): {
48
34
  $slots: S;
49
35
  };
50
36
  };
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToOption<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: import('vue').PropType<T[K]>;
57
- required: true;
58
- };
59
- };
@@ -16,4 +16,4 @@ import { default as Tetrahedron } from './Tetrahedron.vue';
16
16
  import { default as Torus } from './Torus.vue';
17
17
  import { default as TorusKnot } from './TorusKnot.vue';
18
18
  import { default as Tube } from './Tube.vue';
19
- export { Box, CatmullRomCurve3, Circle, Cylinder, Cone, Dodecahedron, Icosahedron, Line2, Octahedron, Plane, Ring, RoundedBox, Sphere, Superformula, Tetrahedron, Torus, TorusKnot, Tube, };
19
+ export { Box, CatmullRomCurve3, Circle, Cone, Cylinder, Dodecahedron, Icosahedron, Line2, Octahedron, Plane, Ring, RoundedBox, Sphere, Superformula, Tetrahedron, Torus, TorusKnot, Tube, };
@@ -6,42 +6,17 @@ export interface BackdropProps {
6
6
  declare function __VLS_template(): {
7
7
  default?(_: {}): any;
8
8
  };
9
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BackdropProps>, {
10
- floor: number;
11
- segments: number;
12
- receiveShadow: boolean;
13
- }>, {
9
+ declare const __VLS_component: import('vue').DefineComponent<BackdropProps, {
14
10
  instance: import('vue').ShallowRef<any>;
15
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BackdropProps>, {
16
- floor: number;
17
- segments: number;
18
- receiveShadow: boolean;
19
- }>>>, {
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BackdropProps> & Readonly<{}>, {
20
12
  receiveShadow: boolean;
21
- floor: number;
22
13
  segments: number;
23
- }, {}>;
14
+ floor: number;
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
25
17
  export default _default;
26
- type __VLS_WithDefaults<P, D> = {
27
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
- default: D[K];
29
- }> : P[K];
30
- };
31
- type __VLS_Prettify<T> = {
32
- [K in keyof T]: T[K];
33
- } & {};
34
18
  type __VLS_WithTemplateSlots<T, S> = T & {
35
19
  new (): {
36
20
  $slots: S;
37
21
  };
38
22
  };
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToOption<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
@@ -1,5 +1,5 @@
1
- import { TresColor } from '@tresjs/core';
2
1
  import { Group } from 'three';
2
+ import { TresColor } from '@tresjs/core';
3
3
  export interface ContactShadowsProps {
4
4
  /**
5
5
  * The opacity of the shadows.
@@ -105,63 +105,20 @@ export interface ContactShadowsProps {
105
105
  */
106
106
  depthWrite?: boolean;
107
107
  }
108
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ContactShadowsProps>, {
109
- opacity: number;
110
- blur: number;
111
- color: string;
112
- tint: undefined;
113
- scale: number;
114
- width: number;
115
- height: number;
116
- far: number;
117
- smooth: boolean;
118
- resolution: number;
119
- frames: number;
120
- depthWrite: boolean;
121
- }>, {
108
+ declare const _default: import('vue').DefineComponent<ContactShadowsProps, {
122
109
  instance: Group<import('three').Object3DEventMap>;
123
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ContactShadowsProps>, {
124
- opacity: number;
110
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ContactShadowsProps> & Readonly<{}>, {
125
111
  blur: number;
126
- color: string;
127
- tint: undefined;
128
- scale: number;
129
- width: number;
130
- height: number;
131
- far: number;
132
- smooth: boolean;
133
- resolution: number;
134
- frames: number;
135
112
  depthWrite: boolean;
136
- }>>>, {
137
- height: number;
138
113
  color: TresColor;
139
114
  scale: number | [x: number, y: number];
115
+ far: number;
140
116
  width: number;
141
- blur: number;
142
- depthWrite: boolean;
117
+ height: number;
143
118
  opacity: number;
144
119
  resolution: number;
145
- far: number;
146
120
  frames: number;
147
121
  tint: TresColor;
148
122
  smooth: boolean;
149
- }, {}>;
123
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
150
124
  export default _default;
151
- type __VLS_WithDefaults<P, D> = {
152
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
153
- default: D[K];
154
- }> : P[K];
155
- };
156
- type __VLS_Prettify<T> = {
157
- [K in keyof T]: T[K];
158
- } & {};
159
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
160
- type __VLS_TypePropsToOption<T> = {
161
- [K in keyof T]-?: {} extends Pick<T, K> ? {
162
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
163
- } : {
164
- type: import('vue').PropType<T[K]>;
165
- required: true;
166
- };
167
- };