@tresjs/cientos 4.0.2 → 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 +16018 -16019
  76. package/dist/trescientos.umd.cjs +357 -357
  77. package/package.json +17 -15
  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
@@ -43,39 +43,16 @@ export interface KeyboardControlsProps {
43
43
  */
44
44
  selector?: string;
45
45
  }
46
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<KeyboardControlsProps>, {
47
- moveSpeed: number;
48
- makeDefault: boolean;
49
- }>, {
50
- instance: import('vue').Ref<import('@tresjs/core').TresControl | null>;
51
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
+ declare const _default: import('vue').DefineComponent<KeyboardControlsProps, {
47
+ instance: import('vue').Ref<import('@tresjs/core').TresControl | null, import('@tresjs/core').TresControl | null>;
48
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
52
49
  change: (...args: any[]) => void;
53
50
  isLock: (...args: any[]) => void;
54
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<KeyboardControlsProps>, {
55
- moveSpeed: number;
56
- makeDefault: boolean;
57
- }>>> & {
51
+ }, string, import('vue').PublicProps, Readonly<KeyboardControlsProps> & Readonly<{
58
52
  onChange?: ((...args: any[]) => any) | undefined;
59
53
  onIsLock?: ((...args: any[]) => any) | undefined;
60
- }, {
54
+ }>, {
61
55
  makeDefault: boolean;
62
56
  moveSpeed: number;
63
- }, {}>;
57
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
64
58
  export default _default;
65
- type __VLS_WithDefaults<P, D> = {
66
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
67
- default: D[K];
68
- }> : P[K];
69
- };
70
- type __VLS_Prettify<T> = {
71
- [K in keyof T]: T[K];
72
- } & {};
73
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
74
- type __VLS_TypePropsToOption<T> = {
75
- [K in keyof T]-?: {} extends Pick<T, K> ? {
76
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
77
- } : {
78
- type: import('vue').PropType<T[K]>;
79
- required: true;
80
- };
81
- };
@@ -1,5 +1,5 @@
1
- import { Camera } from 'three';
2
1
  import { TresControl } from '@tresjs/core';
2
+ import { Camera } from 'three';
3
3
  export interface PointerLockControlsProps {
4
4
  /**
5
5
  * Whether to make this the default controls.
@@ -36,36 +36,15 @@ export interface PointerLockControlsProps {
36
36
  */
37
37
  selector?: string;
38
38
  }
39
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PointerLockControlsProps>, {
40
- makeDefault: boolean;
41
- }>, {
42
- instance: import('vue').Ref<TresControl | null>;
43
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
39
+ declare const _default: import('vue').DefineComponent<PointerLockControlsProps, {
40
+ instance: import('vue').Ref<TresControl | null, TresControl | null>;
41
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
42
  change: (...args: any[]) => void;
45
43
  isLock: (...args: any[]) => void;
46
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PointerLockControlsProps>, {
47
- makeDefault: boolean;
48
- }>>> & {
44
+ }, string, import('vue').PublicProps, Readonly<PointerLockControlsProps> & Readonly<{
49
45
  onChange?: ((...args: any[]) => any) | undefined;
50
46
  onIsLock?: ((...args: any[]) => any) | undefined;
51
- }, {
47
+ }>, {
52
48
  makeDefault: boolean;
53
- }, {}>;
49
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
54
50
  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
- };
@@ -43,64 +43,35 @@ export interface ScrollControlsProps {
43
43
  declare function __VLS_template(): {
44
44
  default?(_: {}): any;
45
45
  };
46
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
46
+ declare const __VLS_component: import('vue').DefineComponent<{
47
47
  pages?: number;
48
48
  distance?: number;
49
49
  smoothScroll?: number;
50
50
  horizontal?: boolean;
51
51
  htmlScroll?: boolean;
52
- }>, {
53
- pages: number;
54
- distance: number;
55
- smoothScroll: number;
56
- horizontal: boolean;
57
- htmlScroll: boolean;
58
- }>, {
52
+ }, {
59
53
  instance: import('vue').ShallowRef<any>;
60
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
54
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
61
55
  "update:modelValue": (...args: any[]) => void;
62
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
56
+ }, string, import('vue').PublicProps, Readonly<{
63
57
  pages?: number;
64
58
  distance?: number;
65
59
  smoothScroll?: number;
66
60
  horizontal?: boolean;
67
61
  htmlScroll?: boolean;
68
- }>, {
69
- pages: number;
70
- distance: number;
71
- smoothScroll: number;
72
- horizontal: boolean;
73
- htmlScroll: boolean;
74
- }>>> & {
62
+ }> & Readonly<{
75
63
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
76
- }, {
64
+ }>, {
77
65
  distance: number;
78
66
  pages: number;
79
67
  smoothScroll: number;
80
68
  horizontal: boolean;
81
69
  htmlScroll: boolean;
82
- }, {}>;
70
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
83
71
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
84
72
  export default _default;
85
- type __VLS_WithDefaults<P, D> = {
86
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
87
- default: D[K];
88
- }> : P[K];
89
- };
90
- type __VLS_Prettify<T> = {
91
- [K in keyof T]: T[K];
92
- } & {};
93
73
  type __VLS_WithTemplateSlots<T, S> = T & {
94
74
  new (): {
95
75
  $slots: S;
96
76
  };
97
77
  };
98
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
99
- type __VLS_TypePropsToOption<T> = {
100
- [K in keyof T]-?: {} extends Pick<T, K> ? {
101
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
102
- } : {
103
- type: import('vue').PropType<T[K]>;
104
- required: true;
105
- };
106
- };
@@ -1,5 +1,5 @@
1
- import { Camera, Object3D } from 'three';
2
1
  import { TransformControls } from 'three-stdlib';
2
+ import { Camera, Object3D } from 'three';
3
3
  export interface TransformControlsProps {
4
4
  object: Object3D;
5
5
  camera?: Camera;
@@ -15,63 +15,28 @@ export interface TransformControlsProps {
15
15
  showY?: boolean;
16
16
  showZ?: boolean;
17
17
  }
18
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TransformControlsProps>, {
19
- mode: string;
20
- enabled: boolean;
21
- axis: string;
22
- space: string;
23
- size: number;
24
- showX: boolean;
25
- showY: boolean;
26
- showZ: boolean;
27
- }>, {
18
+ declare const _default: import('vue').DefineComponent<TransformControlsProps, {
28
19
  instance: import('vue').ShallowRef<TransformControls<Camera> | null>;
29
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
21
  change: (...args: any[]) => void;
31
22
  dragging: (...args: any[]) => void;
32
23
  mouseDown: (...args: any[]) => void;
33
24
  mouseUp: (...args: any[]) => void;
34
25
  objectChange: (...args: any[]) => void;
35
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TransformControlsProps>, {
36
- mode: string;
37
- enabled: boolean;
38
- axis: string;
39
- space: string;
40
- size: number;
41
- showX: boolean;
42
- showY: boolean;
43
- showZ: boolean;
44
- }>>> & {
26
+ }, string, import('vue').PublicProps, Readonly<TransformControlsProps> & Readonly<{
45
27
  onChange?: ((...args: any[]) => any) | undefined;
46
28
  onDragging?: ((...args: any[]) => any) | undefined;
47
29
  onMouseDown?: ((...args: any[]) => any) | undefined;
48
30
  onMouseUp?: ((...args: any[]) => any) | undefined;
49
31
  onObjectChange?: ((...args: any[]) => any) | undefined;
50
- }, {
51
- size: number;
32
+ }>, {
52
33
  enabled: boolean;
34
+ size: number;
53
35
  mode: string;
54
36
  axis: "X" | "Y" | "Z" | "XY" | "YZ" | "XZ" | "XYZ";
55
37
  space: "local" | "world";
56
38
  showX: boolean;
57
39
  showY: boolean;
58
40
  showZ: boolean;
59
- }, {}>;
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
60
42
  export default _default;
61
- type __VLS_WithDefaults<P, D> = {
62
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
63
- default: D[K];
64
- }> : P[K];
65
- };
66
- type __VLS_Prettify<T> = {
67
- [K in keyof T]: T[K];
68
- } & {};
69
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
70
- type __VLS_TypePropsToOption<T> = {
71
- [K in keyof T]-?: {} extends Pick<T, K> ? {
72
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
73
- } : {
74
- type: import('vue').PropType<T[K]>;
75
- required: true;
76
- };
77
- };
@@ -1,8 +1,8 @@
1
- import { default as OrbitControls } from './OrbitControls.vue';
1
+ import { default as CameraControls, BaseCameraControls } from './CameraControls.vue';
2
2
  import { default as KeyboardControls } from './KeyboardControls.vue';
3
- import { default as TransformControls } from './TransformControls.vue';
4
- import { default as PointerLockControls } from './PointerLockControls.vue';
5
3
  import { default as MapControls } from './MapControls.vue';
4
+ import { default as OrbitControls } from './OrbitControls.vue';
5
+ import { default as PointerLockControls } from './PointerLockControls.vue';
6
6
  import { default as ScrollControls } from './ScrollControls.vue';
7
- import { default as CameraControls, BaseCameraControls } from './CameraControls.vue';
8
- export { OrbitControls, TransformControls, PointerLockControls, MapControls, KeyboardControls, ScrollControls, CameraControls, BaseCameraControls, };
7
+ import { default as TransformControls } from './TransformControls.vue';
8
+ export { BaseCameraControls, CameraControls, KeyboardControls, MapControls, OrbitControls, PointerLockControls, ScrollControls, TransformControls, };
@@ -1,7 +1,7 @@
1
1
  export * from './abstractions';
2
- export * from './loaders';
3
2
  export * from './controls';
3
+ export * from './loaders';
4
4
  export * from './materials';
5
+ export * from './misc';
5
6
  export * from './shapes';
6
7
  export * from './staging';
7
- export * from './misc';
@@ -90,36 +90,11 @@ interface SVGProps {
90
90
  */
91
91
  depth?: 'renderOrder' | 'flat' | 'offsetZ' | number;
92
92
  }
93
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SVGProps>, {
94
- skipStrokes: boolean;
95
- skipFills: boolean;
96
- depth: string;
97
- }>, {
93
+ declare const _default: import('vue').DefineComponent<SVGProps, {
98
94
  instance: import('vue').ShallowRef<any>;
99
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SVGProps>, {
100
- skipStrokes: boolean;
101
- skipFills: boolean;
102
- depth: string;
103
- }>>>, {
95
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SVGProps> & Readonly<{}>, {
104
96
  depth: "renderOrder" | "flat" | "offsetZ" | number;
105
97
  skipStrokes: boolean;
106
98
  skipFills: boolean;
107
- }, {}>;
99
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
108
100
  export default _default;
109
- type __VLS_WithDefaults<P, D> = {
110
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
111
- default: D[K];
112
- }> : P[K];
113
- };
114
- type __VLS_Prettify<T> = {
115
- [K in keyof T]: T[K];
116
- } & {};
117
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
118
- type __VLS_TypePropsToOption<T> = {
119
- [K in keyof T]-?: {} extends Pick<T, K> ? {
120
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
121
- } : {
122
- type: import('vue').PropType<T[K]>;
123
- required: true;
124
- };
125
- };
@@ -1,8 +1,8 @@
1
- import { default as GLTFModel } from './useGLTF/component.vue';
2
- import { default as FBXModel } from './useFBX/component.vue';
3
1
  import { default as SVG } from './SVG/component.vue';
2
+ import { default as FBXModel } from './useFBX/component.vue';
3
+ import { default as GLTFModel } from './useGLTF/component.vue';
4
4
  import { useProgress } from './useProgress';
5
5
  import { useVideoTexture } from './useVideoTexture';
6
- export * from './useGLTF';
7
6
  export * from './useFBX';
7
+ export * from './useGLTF';
8
8
  export { FBXModel, GLTFModel, SVG, useProgress, useVideoTexture };
@@ -28,41 +28,18 @@ export interface FBXModelProps {
28
28
  */
29
29
  receiveShadow?: boolean;
30
30
  }
31
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
31
+ declare const _default: import('vue').DefineComponent<{
32
32
  path: string;
33
33
  castShadow?: boolean;
34
34
  receiveShadow?: boolean;
35
- }>, {
36
- castShadow: boolean;
37
- receiveShadow: boolean;
38
- }>, {
39
- instance: import('vue').Ref<any>;
40
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
35
+ }, {
36
+ instance: import('vue').Ref<any, any>;
37
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
41
38
  path: string;
42
39
  castShadow?: boolean;
43
40
  receiveShadow?: boolean;
44
- }>, {
45
- castShadow: boolean;
46
- receiveShadow: boolean;
47
- }>>>, {
41
+ }> & Readonly<{}>, {
48
42
  castShadow: boolean;
49
43
  receiveShadow: boolean;
50
- }, {}>;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
51
45
  export default _default;
52
- type __VLS_WithDefaults<P, D> = {
53
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
- default: D[K];
55
- }> : P[K];
56
- };
57
- type __VLS_Prettify<T> = {
58
- [K in keyof T]: T[K];
59
- } & {};
60
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
61
- type __VLS_TypePropsToOption<T> = {
62
- [K in keyof T]-?: {} extends Pick<T, K> ? {
63
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
64
- } : {
65
- type: import('vue').PropType<T[K]>;
66
- required: true;
67
- };
68
- };
@@ -50,51 +50,24 @@ export interface GLTFModelProps {
50
50
  */
51
51
  decoderPath?: string;
52
52
  }
53
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
53
+ declare const _default: import('vue').DefineComponent<{
54
54
  path: string;
55
55
  draco?: boolean;
56
56
  decoderPath?: string;
57
57
  castShadow?: boolean;
58
58
  receiveShadow?: boolean;
59
- }>, {
60
- draco: boolean;
61
- castShadow: boolean;
62
- receiveShadow: boolean;
63
- decoderPath: string;
64
- }>, {
65
- instance: import('vue').Ref<any>;
66
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
59
+ }, {
60
+ instance: import('vue').Ref<any, any>;
61
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
67
62
  path: string;
68
63
  draco?: boolean;
69
64
  decoderPath?: string;
70
65
  castShadow?: boolean;
71
66
  receiveShadow?: boolean;
72
- }>, {
73
- draco: boolean;
74
- castShadow: boolean;
75
- receiveShadow: boolean;
76
- decoderPath: string;
77
- }>>>, {
67
+ }> & Readonly<{}>, {
78
68
  castShadow: boolean;
79
69
  receiveShadow: boolean;
80
70
  draco: boolean;
81
71
  decoderPath: string;
82
- }, {}>;
72
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
83
73
  export default _default;
84
- type __VLS_WithDefaults<P, D> = {
85
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
86
- default: D[K];
87
- }> : P[K];
88
- };
89
- type __VLS_Prettify<T> = {
90
- [K in keyof T]: T[K];
91
- } & {};
92
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
93
- type __VLS_TypePropsToOption<T> = {
94
- [K in keyof T]-?: {} extends Pick<T, K> ? {
95
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
96
- } : {
97
- type: import('vue').PropType<T[K]>;
98
- required: true;
99
- };
100
- };
@@ -1,6 +1,6 @@
1
1
  import { TresLoader, TresObject3D } from '@tresjs/core';
2
- import { AnimationClip, Material, Scene } from 'three';
3
2
  import { DRACOLoader, GLTF } from 'three-stdlib';
3
+ import { AnimationClip, Material, Scene } from 'three';
4
4
  export interface GLTFLoaderOptions {
5
5
  /**
6
6
  * Whether to use Draco compression.
@@ -8,16 +8,7 @@ interface CustomShaderMaterialProps {
8
8
  [uniform: string]: any;
9
9
  };
10
10
  }
11
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<CustomShaderMaterialProps>, {
11
+ declare const _default: import('vue').DefineComponent<CustomShaderMaterialProps, {
12
12
  instance: import('vue').ShallowRef<null>;
13
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<CustomShaderMaterialProps>>>, {}, {}>;
13
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CustomShaderMaterialProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToOption<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
@@ -1,7 +1,7 @@
1
1
  import { TresColor } from '@tresjs/core';
2
2
  import { Side } from 'three';
3
3
  import { default as HolographicMaterial } from './HolographicMaterialParameters';
4
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
+ declare const _default: import('vue').DefineComponent<{
5
5
  fresnelAmount?: number;
6
6
  fresnelOpacity?: number;
7
7
  blinkFresnelOnly?: boolean;
@@ -13,22 +13,10 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
13
13
  hologramOpacity?: number;
14
14
  hologramColor?: TresColor;
15
15
  side?: Side;
16
- }>, {
17
- fresnelAmount: number;
18
- fresnelOpacity: number;
19
- blinkFresnelOnly: boolean;
20
- enableBlinking: boolean;
21
- enableAdditive: boolean;
22
- hologramBrightness: number;
23
- scanlineSize: number;
24
- signalSpeed: number;
25
- hologramOpacity: number;
26
- hologramColor: string;
27
- side: 0;
28
- }>, {
16
+ }, {
29
17
  root: import('vue').ShallowRef<any>;
30
18
  constructor: typeof HolographicMaterial;
31
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
19
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
32
20
  fresnelAmount?: number;
33
21
  fresnelOpacity?: number;
34
22
  blinkFresnelOnly?: boolean;
@@ -40,19 +28,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
40
28
  hologramOpacity?: number;
41
29
  hologramColor?: TresColor;
42
30
  side?: Side;
43
- }>, {
44
- fresnelAmount: number;
45
- fresnelOpacity: number;
46
- blinkFresnelOnly: boolean;
47
- enableBlinking: boolean;
48
- enableAdditive: boolean;
49
- hologramBrightness: number;
50
- scanlineSize: number;
51
- signalSpeed: number;
52
- hologramOpacity: number;
53
- hologramColor: string;
54
- side: 0;
55
- }>>>, {
31
+ }> & Readonly<{}>, {
56
32
  side: Side;
57
33
  fresnelOpacity: number;
58
34
  fresnelAmount: number;
@@ -64,22 +40,5 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
64
40
  blinkFresnelOnly: boolean;
65
41
  hologramOpacity: number;
66
42
  enableAdditive: boolean;
67
- }, {}>;
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
68
44
  export default _default;
69
- type __VLS_WithDefaults<P, D> = {
70
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
71
- default: D[K];
72
- }> : P[K];
73
- };
74
- type __VLS_Prettify<T> = {
75
- [K in keyof T]: T[K];
76
- } & {};
77
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
78
- type __VLS_TypePropsToOption<T> = {
79
- [K in keyof T]-?: {} extends Pick<T, K> ? {
80
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
81
- } : {
82
- type: import('vue').PropType<T[K]>;
83
- required: true;
84
- };
85
- };
@@ -1,6 +1,6 @@
1
- import { default as MeshWobbleMaterial } from './meshWobbleMaterial/index.vue';
2
- import { default as MeshGlassMaterial } from './meshGlassMaterial/index.vue';
3
1
  import { default as CustomShaderMaterial } from './customShaderMaterial/index.vue';
4
- import { default as MeshReflectionMaterial } from './meshReflectionMaterial/index.vue';
5
2
  import { default as HolographicMaterial } from './holographicMaterial/index.vue';
6
- export { MeshWobbleMaterial, MeshGlassMaterial, CustomShaderMaterial, MeshReflectionMaterial, HolographicMaterial };
3
+ import { default as MeshGlassMaterial } from './meshGlassMaterial/index.vue';
4
+ import { default as MeshReflectionMaterial } from './meshReflectionMaterial/index.vue';
5
+ import { default as MeshWobbleMaterial } from './meshWobbleMaterial/index.vue';
6
+ export { CustomShaderMaterial, HolographicMaterial, MeshGlassMaterial, MeshReflectionMaterial, MeshWobbleMaterial };
@@ -1,4 +1,4 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {
2
2
  instance: import('vue').ShallowRef<any>;
3
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
3
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
4
4
  export default _default;
@@ -1,6 +1,6 @@
1
- import { MeshStandardMaterialParameters, MeshStandardMaterial } from 'three';
2
- import { Vector2 } from 'three/src/math/Vector2.js';
1
+ import { MeshStandardMaterial, MeshStandardMaterialParameters } from 'three';
3
2
  import { Color } from 'three/src/math/Color.js';
3
+ import { Vector2 } from 'three/src/math/Vector2.js';
4
4
  declare class MeshGlassMaterial extends MeshStandardMaterial {
5
5
  isMeshPhysicalMaterial: boolean;
6
6
  clearcoatMap: null;
@@ -1,4 +1,4 @@
1
- import { WebGLRenderer, Camera, Mesh, Scene, WebGLRenderTarget } from 'three';
1
+ import { Camera, Mesh, Scene, WebGLRenderTarget, WebGLRenderer } from 'three';
2
2
  import { ConvolutionMaterial } from './ConvolutionMaterial';
3
3
  export interface BlurPassProps {
4
4
  resolution: number;