@tresjs/cientos 4.3.1 → 5.0.0-next.1

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 (101) hide show
  1. package/dist/core/abstractions/AnimatedSprite/component.vue.d.ts +14 -4
  2. package/dist/core/abstractions/Billboard.vue.d.ts +24 -6
  3. package/dist/core/abstractions/CubeCamera/component.vue.d.ts +14 -4
  4. package/dist/core/abstractions/Edges.vue.d.ts +14 -4
  5. package/dist/core/abstractions/GradientTexture.vue.d.ts +14 -1
  6. package/dist/core/abstractions/Image/ImageMaterial.vue.d.ts +3 -1
  7. package/dist/core/abstractions/Image/component.vue.d.ts +3 -9
  8. package/dist/core/abstractions/Lensflare/LensflareImpl.d.ts +23 -0
  9. package/dist/core/abstractions/Lensflare/component.vue.d.ts +12 -3
  10. package/dist/core/abstractions/Levioso.vue.d.ts +22 -16
  11. package/dist/core/abstractions/MarchingCubes/MarchingCube.vue.d.ts +22 -0
  12. package/dist/core/abstractions/MarchingCubes/MarchingCubes.vue.d.ts +35 -0
  13. package/dist/core/abstractions/MarchingCubes/MarchingPlane.vue.d.ts +20 -0
  14. package/dist/core/abstractions/MarchingCubes/const.d.ts +2 -0
  15. package/dist/core/abstractions/Mask/component.vue.d.ts +14 -4
  16. package/dist/core/abstractions/MouseParallax.vue.d.ts +11 -1
  17. package/dist/core/abstractions/Outline/component.vue.d.ts +11 -1
  18. package/dist/core/abstractions/PositionalAudio.vue.d.ts +11 -2
  19. package/dist/core/abstractions/Reflector.vue.d.ts +5 -2
  20. package/dist/core/abstractions/ScreenSizer.vue.d.ts +24 -6
  21. package/dist/core/abstractions/ScreenSpace.vue.d.ts +14 -4
  22. package/dist/core/abstractions/Text3D.vue.d.ts +2 -17
  23. package/dist/core/abstractions/index.d.ts +4 -1
  24. package/dist/core/abstractions/useAnimations.d.ts +4 -4
  25. package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +14 -4
  26. package/dist/core/controls/CameraControls.vue.d.ts +4 -2
  27. package/dist/core/controls/Helper/component.vue.d.ts +17 -0
  28. package/dist/core/controls/Helper/useHelper.d.ts +9 -0
  29. package/dist/core/controls/MapControls.vue.d.ts +3 -1
  30. package/dist/core/controls/OrbitControls.vue.d.ts +3 -1
  31. package/dist/core/controls/PointerLockControls.vue.d.ts +3 -1
  32. package/dist/core/controls/ScrollControls.vue.d.ts +23 -18
  33. package/dist/core/controls/TransformControls.vue.d.ts +3 -1
  34. package/dist/core/controls/index.d.ts +2 -1
  35. package/dist/core/loaders/SVG/component.vue.d.ts +10 -1
  36. package/dist/core/loaders/index.d.ts +4 -1
  37. package/dist/core/loaders/useGLTF/component.vue.d.ts +3 -10
  38. package/dist/core/loaders/useGLTF/index.d.ts +38 -27
  39. package/dist/core/loaders/useTexture/component.vue.d.ts +5077 -0
  40. package/dist/core/loaders/useTexture/index.d.ts +3 -0
  41. package/dist/core/loaders/useTextures/index.d.ts +13 -0
  42. package/dist/core/materials/customShaderMaterial/index.vue.d.ts +3 -1
  43. package/dist/core/materials/holographicMaterial/index.vue.d.ts +7 -16
  44. package/dist/core/materials/index.d.ts +2 -1
  45. package/dist/core/materials/meshDiscardMaterial/index.vue.d.ts +3 -1
  46. package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +3 -1
  47. package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +4 -2
  48. package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +7 -7
  49. package/dist/core/materials/pointMaterial/component.vue.d.ts +8 -0
  50. package/dist/core/materials/pointMaterial/material.d.ts +4 -0
  51. package/dist/core/misc/LOD.vue.d.ts +52 -0
  52. package/dist/core/misc/html/HTML.vue.d.ts +25 -7
  53. package/dist/core/misc/index.d.ts +3 -1
  54. package/dist/core/misc/useIntersect.d.ts +9 -0
  55. package/dist/core/shapes/Box.vue.d.ts +14 -4
  56. package/dist/core/shapes/Circle.vue.d.ts +15 -5
  57. package/dist/core/shapes/Cone.vue.d.ts +14 -4
  58. package/dist/core/shapes/CubicBezierLine.vue.d.ts +49 -0
  59. package/dist/core/shapes/Cylinder.vue.d.ts +14 -4
  60. package/dist/core/shapes/Dodecahedron.vue.d.ts +14 -4
  61. package/dist/core/shapes/Icosahedron.vue.d.ts +14 -4
  62. package/dist/core/shapes/Octahedron.vue.d.ts +14 -4
  63. package/dist/core/shapes/Plane.vue.d.ts +15 -5
  64. package/dist/core/shapes/QuadraticBezierLine.vue.d.ts +48 -0
  65. package/dist/core/shapes/Ring.vue.d.ts +14 -4
  66. package/dist/core/shapes/RoundedBox.vue.d.ts +14 -4
  67. package/dist/core/shapes/ScreenQuad.vue.d.ts +38 -0
  68. package/dist/core/shapes/Sphere.vue.d.ts +14 -4
  69. package/dist/core/shapes/Superformula.vue.d.ts +14 -4
  70. package/dist/core/shapes/Tetrahedron.vue.d.ts +14 -4
  71. package/dist/core/shapes/Torus.vue.d.ts +14 -4
  72. package/dist/core/shapes/TorusKnot.vue.d.ts +14 -4
  73. package/dist/core/shapes/Tube.vue.d.ts +14 -4
  74. package/dist/core/shapes/index.d.ts +4 -1
  75. package/dist/core/staging/AccumulativeShadows/ProgressiveLightMap.d.ts +35 -0
  76. package/dist/core/staging/AccumulativeShadows/SoftShadowMaterial.d.ts +10 -0
  77. package/dist/core/staging/AccumulativeShadows/component.vue.d.ts +115 -0
  78. package/dist/core/staging/Align.vue.d.ts +42 -12
  79. package/dist/core/staging/Backdrop.vue.d.ts +23 -5
  80. package/dist/core/staging/Bounds/Bounds.d.ts +73 -0
  81. package/dist/core/staging/Bounds/component.vue.d.ts +60 -0
  82. package/dist/core/staging/CircleShadow.vue.d.ts +27 -0
  83. package/dist/core/staging/Fit.vue.d.ts +35 -9
  84. package/dist/core/staging/Grid.vue.d.ts +11 -2
  85. package/dist/core/staging/Ocean.vue.d.ts +6 -3
  86. package/dist/core/staging/Precipitation.vue.d.ts +18 -1
  87. package/dist/core/staging/RandomizedLights/RandomizedLights.d.ts +29 -0
  88. package/dist/core/staging/RandomizedLights/component.vue.d.ts +43 -0
  89. package/dist/core/staging/Smoke.vue.d.ts +18 -1
  90. package/dist/core/staging/Stage.vue.d.ts +677 -0
  91. package/dist/core/staging/Stars.vue.d.ts +11 -2
  92. package/dist/core/staging/index.d.ts +6 -1
  93. package/dist/core/staging/useEnvironment/component.vue.d.ts +7 -4
  94. package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +24 -13
  95. package/dist/trescientos.js +15333 -9636
  96. package/package.json +24 -24
  97. package/dist/composables/useLogger.d.ts +0 -8
  98. package/dist/core/loaders/useFBX/component.vue.d.ts +0 -45
  99. package/dist/core/staging/Sky.vue.d.ts +0 -46
  100. package/dist/core/staging/Sparkles/component.vue.d.ts +0 -168
  101. package/dist/trescientos.umd.cjs +0 -1721
@@ -33,20 +33,21 @@ export interface SuperFormulaProps {
33
33
  color?: TresColor;
34
34
  }
35
35
  declare function __VLS_template(): {
36
+ attrs: Partial<{}>;
36
37
  slots: {
37
38
  default?(_: {}): any;
38
39
  };
39
40
  refs: {
40
- superformulaRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
41
+ superformulaRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
41
42
  P: {};
42
43
  B: {};
43
44
  D: {};
44
45
  C: {};
45
46
  M: {};
46
47
  Defaults: {};
47
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
48
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
48
49
  };
49
- attrs: Partial<{}>;
50
+ rootEl: any;
50
51
  };
51
52
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
52
53
  declare const __VLS_component: import('vue').DefineComponent<SuperFormulaProps, {
@@ -59,7 +60,16 @@ declare const __VLS_component: import('vue').DefineComponent<SuperFormulaProps,
59
60
  expA: Float3;
60
61
  numArmsB: number;
61
62
  expB: Float3;
62
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
63
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
64
+ superformulaRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
65
+ P: {};
66
+ B: {};
67
+ D: {};
68
+ C: {};
69
+ M: {};
70
+ Defaults: {};
71
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
72
+ }, any>;
63
73
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
64
74
  export default _default;
65
75
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -19,20 +19,21 @@ export interface TetrahedronProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
22
23
  slots: {
23
24
  default?(_: {}): any;
24
25
  };
25
26
  refs: {
26
- tetrahedronRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
+ tetrahedronRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
28
  P: {};
28
29
  B: {};
29
30
  D: {};
30
31
  C: {};
31
32
  M: {};
32
33
  Defaults: {};
33
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
34
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
34
35
  };
35
- attrs: Partial<{}>;
36
+ rootEl: any;
36
37
  };
37
38
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
38
39
  declare const __VLS_component: import('vue').DefineComponent<TetrahedronProps, {
@@ -40,7 +41,16 @@ declare const __VLS_component: import('vue').DefineComponent<TetrahedronProps, {
40
41
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TetrahedronProps> & Readonly<{}>, {
41
42
  color: TresColor;
42
43
  args: ConstructorParameters<typeof TetrahedronGeometry>;
43
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
+ tetrahedronRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
46
+ P: {};
47
+ B: {};
48
+ D: {};
49
+ C: {};
50
+ M: {};
51
+ Defaults: {};
52
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
53
+ }, any>;
44
54
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
55
  export default _default;
46
56
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -19,20 +19,21 @@ export interface TorusProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
22
23
  slots: {
23
24
  default?(_: {}): any;
24
25
  };
25
26
  refs: {
26
- torusRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
+ torusRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
28
  P: {};
28
29
  B: {};
29
30
  D: {};
30
31
  C: {};
31
32
  M: {};
32
33
  Defaults: {};
33
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
34
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
34
35
  };
35
- attrs: Partial<{}>;
36
+ rootEl: any;
36
37
  };
37
38
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
38
39
  declare const __VLS_component: import('vue').DefineComponent<TorusProps, {
@@ -40,7 +41,16 @@ declare const __VLS_component: import('vue').DefineComponent<TorusProps, {
40
41
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TorusProps> & Readonly<{}>, {
41
42
  color: TresColor;
42
43
  args: ConstructorParameters<typeof TorusGeometry>;
43
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
+ torusRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
46
+ P: {};
47
+ B: {};
48
+ D: {};
49
+ C: {};
50
+ M: {};
51
+ Defaults: {};
52
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
53
+ }, any>;
44
54
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
55
  export default _default;
46
56
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -19,20 +19,21 @@ export interface TorusKnotProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
22
23
  slots: {
23
24
  default?(_: {}): any;
24
25
  };
25
26
  refs: {
26
- torusKnotRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
+ torusKnotRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
28
  P: {};
28
29
  B: {};
29
30
  D: {};
30
31
  C: {};
31
32
  M: {};
32
33
  Defaults: {};
33
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
34
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
34
35
  };
35
- attrs: Partial<{}>;
36
+ rootEl: any;
36
37
  };
37
38
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
38
39
  declare const __VLS_component: import('vue').DefineComponent<TorusKnotProps, {
@@ -40,7 +41,16 @@ declare const __VLS_component: import('vue').DefineComponent<TorusKnotProps, {
40
41
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TorusKnotProps> & Readonly<{}>, {
41
42
  color: TresColor;
42
43
  args: ConstructorParameters<typeof TorusKnotGeometry>;
43
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
+ torusKnotRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
46
+ P: {};
47
+ B: {};
48
+ D: {};
49
+ C: {};
50
+ M: {};
51
+ Defaults: {};
52
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
53
+ }, any>;
44
54
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
55
  export default _default;
46
56
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -19,20 +19,21 @@ export interface TubeProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
22
23
  slots: {
23
24
  default?(_: {}): any;
24
25
  };
25
26
  refs: {
26
- tubeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
+ tubeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
28
  P: {};
28
29
  B: {};
29
30
  D: {};
30
31
  C: {};
31
32
  M: {};
32
33
  Defaults: {};
33
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
34
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
34
35
  };
35
- attrs: Partial<{}>;
36
+ rootEl: any;
36
37
  };
37
38
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
38
39
  declare const __VLS_component: import('vue').DefineComponent<TubeProps, {
@@ -40,7 +41,16 @@ declare const __VLS_component: import('vue').DefineComponent<TubeProps, {
40
41
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TubeProps> & Readonly<{}>, {
41
42
  color: TresColor;
42
43
  args: ConstructorParameters<typeof TubeGeometry>;
43
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
+ tubeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
46
+ P: {};
47
+ B: {};
48
+ D: {};
49
+ C: {};
50
+ M: {};
51
+ Defaults: {};
52
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
53
+ }, any>;
44
54
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
55
  export default _default;
46
56
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -2,6 +2,8 @@ import { default as Box } from './Box.vue';
2
2
  import { default as CatmullRomCurve3 } from './CatmullRomCurve3.vue';
3
3
  import { default as Circle } from './Circle.vue';
4
4
  import { default as Cone } from './Cone.vue';
5
+ import { default as QuadraticBezierLine } from './QuadraticBezierLine.vue';
6
+ import { default as CubicBezierLine } from './CubicBezierLine.vue';
5
7
  import { default as Cylinder } from './Cylinder.vue';
6
8
  import { default as Dodecahedron } from './Dodecahedron.vue';
7
9
  import { default as Icosahedron } from './Icosahedron.vue';
@@ -10,10 +12,11 @@ import { default as Octahedron } from './Octahedron.vue';
10
12
  import { default as Plane } from './Plane.vue';
11
13
  import { default as Ring } from './Ring.vue';
12
14
  import { default as RoundedBox } from './RoundedBox.vue';
15
+ import { default as ScreenQuad } from './ScreenQuad.vue';
13
16
  import { default as Sphere } from './Sphere.vue';
14
17
  import { default as Superformula } from './Superformula.vue';
15
18
  import { default as Tetrahedron } from './Tetrahedron.vue';
16
19
  import { default as Torus } from './Torus.vue';
17
20
  import { default as TorusKnot } from './TorusKnot.vue';
18
21
  import { default as Tube } from './Tube.vue';
19
- export { Box, CatmullRomCurve3, Circle, Cone, Cylinder, Dodecahedron, Icosahedron, Line2, Octahedron, Plane, Ring, RoundedBox, Sphere, Superformula, Tetrahedron, Torus, TorusKnot, Tube, };
22
+ export { Box, CatmullRomCurve3, Circle, Cone, CubicBezierLine, Cylinder, Dodecahedron, Icosahedron, Line2, Octahedron, Plane, QuadraticBezierLine, Ring, RoundedBox, ScreenQuad, Sphere, Superformula, Tetrahedron, Torus, TorusKnot, Tube, };
@@ -0,0 +1,35 @@
1
+ import { Camera, Group, Light, Material, Mesh, Scene, ShaderMaterial, Texture, WebGLRenderer, Color, MeshLambertMaterial, WebGLRenderTarget } from 'three';
2
+ export declare class ProgressiveLightMap {
3
+ renderer: WebGLRenderer;
4
+ res: number;
5
+ scene: Scene;
6
+ object: Mesh | null;
7
+ lightsGroup: Group | null;
8
+ buffer1Active: boolean;
9
+ progressiveLightMap1: WebGLRenderTarget;
10
+ progressiveLightMap2: WebGLRenderTarget;
11
+ discardMat: ShaderMaterial;
12
+ targetMat: MeshLambertMaterial;
13
+ previousShadowMap: {
14
+ value: Texture;
15
+ };
16
+ averagingWindow: {
17
+ value: number;
18
+ };
19
+ clearColor: Color;
20
+ clearAlpha: number;
21
+ lights: {
22
+ object: Light;
23
+ intensity: number;
24
+ }[];
25
+ meshes: {
26
+ object: Mesh;
27
+ material: Material | Material[];
28
+ }[];
29
+ constructor(renderer: WebGLRenderer, scene: Scene, res?: number);
30
+ clear(): void;
31
+ prepare(): void;
32
+ finish(): void;
33
+ configure(object: Mesh, lightsGroup: Group): void;
34
+ update(camera: Camera, blendWindow?: number): void;
35
+ }
@@ -0,0 +1,10 @@
1
+ import { ColorRepresentation, Texture } from 'three';
2
+ export interface SoftShadowMaterialProps {
3
+ map: Texture;
4
+ color?: ColorRepresentation;
5
+ alphaTest?: number;
6
+ blend?: number;
7
+ }
8
+ export declare const SoftShadowMaterial: typeof import('three').ShaderMaterial & {
9
+ key: string;
10
+ };
@@ -0,0 +1,115 @@
1
+ import { ColorRepresentation, Mesh, Group } from 'three';
2
+ export interface AccumulativeShadowsProps {
3
+ /** Whether shadow creation only happens once (resets after props change), false */
4
+ once?: boolean;
5
+ /** Whether shadows accumulate progressively over several frames, true */
6
+ accumulate?: boolean;
7
+ /**
8
+ * Number of frames to render. More yields cleaner results but takes more time.
9
+ * If `accumulate && once`, 1 frame will be consumed every update for `frames` updates.
10
+ * Otherwise, `frames` frames are consumed for every update.
11
+ * 40
12
+ */
13
+ frames?: number;
14
+ /** If `accumulate`, controls the refresh ratio, 100 */
15
+ blend?: number;
16
+ /** If less than `Infinity`, limits the amount of frames rendered. Use this to increase performance once a movable scene has settled, Infinity */
17
+ limit?: number;
18
+ /** Scale of the plane, 10 */
19
+ scale?: number;
20
+ /** Opacity of the plane, 1 */
21
+ opacity?: number;
22
+ /** Discards alpha pixels, 0.65 */
23
+ alphaTest?: number;
24
+ /** Shadow color, black */
25
+ color?: ColorRepresentation;
26
+ /** Colorblend, amount of `color` in shadow, 0 is black, 2 */
27
+ colorBlend?: number;
28
+ /** Buffer resolution, 1024 */
29
+ resolution?: number;
30
+ /** Texture tonemapping, true */
31
+ toneMapped?: boolean;
32
+ }
33
+ declare function __VLS_template(): {
34
+ attrs: Partial<{}>;
35
+ slots: {
36
+ default?(_: {}): any;
37
+ };
38
+ refs: {
39
+ gOuter: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
40
+ P: {};
41
+ B: {};
42
+ D: {};
43
+ C: {};
44
+ M: {};
45
+ Defaults: {};
46
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
47
+ gLights: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
48
+ P: {};
49
+ B: {};
50
+ D: {};
51
+ C: {};
52
+ M: {};
53
+ Defaults: {};
54
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
55
+ gPlane: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
56
+ P: {};
57
+ B: {};
58
+ D: {};
59
+ C: {};
60
+ M: {};
61
+ Defaults: {};
62
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
63
+ };
64
+ rootEl: any;
65
+ };
66
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
67
+ declare const __VLS_component: import('vue').DefineComponent<AccumulativeShadowsProps, {
68
+ instance: import('vue').ShallowRef<Group<import('three').Object3DEventMap> | undefined, Group<import('three').Object3DEventMap> | undefined>;
69
+ update: () => void;
70
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AccumulativeShadowsProps> & Readonly<{}>, {
71
+ alphaTest: number;
72
+ color: ColorRepresentation;
73
+ scale: number;
74
+ accumulate: boolean;
75
+ opacity: number;
76
+ toneMapped: boolean;
77
+ resolution: number;
78
+ frames: number;
79
+ blend: number;
80
+ once: boolean;
81
+ limit: number;
82
+ colorBlend: number;
83
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
84
+ gOuter: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
85
+ P: {};
86
+ B: {};
87
+ D: {};
88
+ C: {};
89
+ M: {};
90
+ Defaults: {};
91
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
92
+ gLights: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
93
+ P: {};
94
+ B: {};
95
+ D: {};
96
+ C: {};
97
+ M: {};
98
+ Defaults: {};
99
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
100
+ gPlane: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
101
+ P: {};
102
+ B: {};
103
+ D: {};
104
+ C: {};
105
+ M: {};
106
+ Defaults: {};
107
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
108
+ }, any>;
109
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
110
+ export default _default;
111
+ type __VLS_WithTemplateSlots<T, S> = T & {
112
+ new (): {
113
+ $slots: S;
114
+ };
115
+ };