@tresjs/cientos 4.3.0 → 5.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/core/abstractions/AnimatedSprite/component.vue.d.ts +12 -2
  2. package/dist/core/abstractions/Billboard.vue.d.ts +20 -2
  3. package/dist/core/abstractions/CubeCamera/component.vue.d.ts +12 -2
  4. package/dist/core/abstractions/Edges.vue.d.ts +12 -2
  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 +11 -2
  10. package/dist/core/abstractions/Levioso.vue.d.ts +20 -14
  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 +12 -2
  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 +10 -1
  19. package/dist/core/abstractions/Reflector.vue.d.ts +5 -2
  20. package/dist/core/abstractions/ScreenSizer.vue.d.ts +20 -2
  21. package/dist/core/abstractions/ScreenSpace.vue.d.ts +12 -2
  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 +12 -2
  26. package/dist/core/controls/CameraControls.vue.d.ts +3 -1
  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 +21 -16
  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 +3 -1
  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 +20 -2
  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 +12 -2
  56. package/dist/core/shapes/Circle.vue.d.ts +13 -3
  57. package/dist/core/shapes/Cone.vue.d.ts +12 -2
  58. package/dist/core/shapes/CubicBezierLine.vue.d.ts +49 -0
  59. package/dist/core/shapes/Cylinder.vue.d.ts +12 -2
  60. package/dist/core/shapes/Dodecahedron.vue.d.ts +12 -2
  61. package/dist/core/shapes/Icosahedron.vue.d.ts +12 -2
  62. package/dist/core/shapes/Octahedron.vue.d.ts +12 -2
  63. package/dist/core/shapes/Plane.vue.d.ts +13 -3
  64. package/dist/core/shapes/QuadraticBezierLine.vue.d.ts +48 -0
  65. package/dist/core/shapes/Ring.vue.d.ts +12 -2
  66. package/dist/core/shapes/RoundedBox.vue.d.ts +12 -2
  67. package/dist/core/shapes/ScreenQuad.vue.d.ts +38 -0
  68. package/dist/core/shapes/Sphere.vue.d.ts +12 -2
  69. package/dist/core/shapes/Superformula.vue.d.ts +12 -2
  70. package/dist/core/shapes/Tetrahedron.vue.d.ts +12 -2
  71. package/dist/core/shapes/Torus.vue.d.ts +12 -2
  72. package/dist/core/shapes/TorusKnot.vue.d.ts +12 -2
  73. package/dist/core/shapes/Tube.vue.d.ts +12 -2
  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 +36 -6
  79. package/dist/core/staging/Backdrop.vue.d.ts +20 -2
  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 +28 -2
  84. package/dist/core/staging/Grid.vue.d.ts +11 -2
  85. package/dist/core/staging/Ocean.vue.d.ts +5 -2
  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 +10 -1
  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 +25 -25
  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
@@ -19,6 +19,7 @@ export interface OctahedronProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
22
23
  slots: {
23
24
  default?(_: {}): any;
24
25
  };
@@ -32,7 +33,7 @@ declare function __VLS_template(): {
32
33
  Defaults: {};
33
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').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
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<OctahedronProps, {
@@ -40,7 +41,16 @@ declare const __VLS_component: import('vue').DefineComponent<OctahedronProps, {
40
41
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OctahedronProps> & Readonly<{}>, {
41
42
  color: TresColor;
42
43
  args: ConstructorParameters<typeof OctahedronGeometry>;
43
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
+ octahedronRef: 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, {
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').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;
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,7 +2,7 @@ import { TresColor } from '@tresjs/core';
2
2
  import { PlaneGeometry } from 'three';
3
3
  export interface PlaneProps {
4
4
  /**
5
- * The width and height, widthSegments, heightSegments of the plane.
5
+ * The width, height, widthSegments and heightSegments of the plane.
6
6
  * @default [1, 1, 1, 1]
7
7
  * @type {number[]}
8
8
  * @memberof PlaneProps
@@ -19,6 +19,7 @@ export interface PlaneProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
22
23
  slots: {
23
24
  default?(_: {}): any;
24
25
  };
@@ -32,7 +33,7 @@ declare function __VLS_template(): {
32
33
  Defaults: {};
33
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').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
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<PlaneProps, {
@@ -40,7 +41,16 @@ declare const __VLS_component: import('vue').DefineComponent<PlaneProps, {
40
41
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PlaneProps> & Readonly<{}>, {
41
42
  color: TresColor;
42
43
  args: ConstructorParameters<typeof PlaneGeometry>;
43
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
+ planeRef: 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, {
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').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;
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 & {
@@ -0,0 +1,48 @@
1
+ import { Vector3 } from 'three';
2
+ interface QuadraticBezierLineProps {
3
+ start: Vector3 | [number, number, number];
4
+ end: Vector3 | [number, number, number];
5
+ mid?: Vector3 | [number, number, number];
6
+ segments?: number;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<QuadraticBezierLineProps, {
9
+ instance: import('vue').ShallowRef<any, any>;
10
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QuadraticBezierLineProps> & Readonly<{}>, {
11
+ segments: number;
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
13
+ lineRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Line2.vue').LineProps> & Readonly<{}>, {
14
+ instance: import('vue').ShallowRef<any, any>;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
16
+ color: import('@tresjs/core').TresColor;
17
+ alphaToCoverage: boolean;
18
+ vertexColors: import('@tresjs/core').TresColor[] | null;
19
+ dashSize: number;
20
+ gapSize: number;
21
+ lineWidth: number;
22
+ worldUnits: boolean;
23
+ dashed: boolean;
24
+ dashScale: number;
25
+ dashOffset: number;
26
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ Defaults: {};
33
+ }, Readonly<import('./Line2.vue').LineProps> & Readonly<{}>, {
34
+ instance: import('vue').ShallowRef<any, any>;
35
+ }, {}, {}, {}, {
36
+ color: import('@tresjs/core').TresColor;
37
+ alphaToCoverage: boolean;
38
+ vertexColors: import('@tresjs/core').TresColor[] | null;
39
+ dashSize: number;
40
+ gapSize: number;
41
+ lineWidth: number;
42
+ worldUnits: boolean;
43
+ dashed: boolean;
44
+ dashScale: number;
45
+ dashOffset: number;
46
+ }> | null;
47
+ }, any>;
48
+ export default _default;
@@ -19,6 +19,7 @@ export interface RingProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
22
23
  slots: {
23
24
  default?(_: {}): any;
24
25
  };
@@ -32,7 +33,7 @@ declare function __VLS_template(): {
32
33
  Defaults: {};
33
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').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
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<RingProps, {
@@ -40,7 +41,16 @@ declare const __VLS_component: import('vue').DefineComponent<RingProps, {
40
41
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RingProps> & Readonly<{}>, {
41
42
  color: TresColor;
42
43
  args: ConstructorParameters<typeof RingGeometry>;
43
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
+ ringRef: 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, {
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').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;
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 & {
@@ -20,6 +20,7 @@ export interface BoxProps {
20
20
  color?: TresColor;
21
21
  }
22
22
  declare function __VLS_template(): {
23
+ attrs: Partial<{}>;
23
24
  slots: {
24
25
  default?(_: {}): any;
25
26
  };
@@ -33,7 +34,7 @@ declare function __VLS_template(): {
33
34
  Defaults: {};
34
35
  }, 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;
35
36
  };
36
- attrs: Partial<{}>;
37
+ rootEl: any;
37
38
  };
38
39
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
40
  declare const __VLS_component: import('vue').DefineComponent<BoxProps, {
@@ -41,7 +42,16 @@ declare const __VLS_component: import('vue').DefineComponent<BoxProps, {
41
42
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BoxProps> & Readonly<{}>, {
42
43
  color: TresColor;
43
44
  args: ConstructorParameters<typeof BoxGeometry>;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
45
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
46
+ roundedBoxRef: 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, {
47
+ P: {};
48
+ B: {};
49
+ D: {};
50
+ C: {};
51
+ M: {};
52
+ Defaults: {};
53
+ }, 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;
54
+ }, any>;
45
55
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
46
56
  export default _default;
47
57
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,38 @@
1
+ import * as THREE from 'three';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {
8
+ meshRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, import('@tresjs/core').WithMathProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, typeof 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, {
9
+ P: {};
10
+ B: {};
11
+ D: {};
12
+ C: {};
13
+ M: {};
14
+ Defaults: {};
15
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, import('@tresjs/core').WithMathProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, typeof THREE.Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
16
+ };
17
+ rootEl: any;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
21
+ instance: import('vue').ShallowRef<any, any>;
22
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
23
+ meshRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, import('@tresjs/core').WithMathProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, typeof 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, {
24
+ P: {};
25
+ B: {};
26
+ D: {};
27
+ C: {};
28
+ M: {};
29
+ Defaults: {};
30
+ }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, import('@tresjs/core').WithMathProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, typeof THREE.Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
31
+ }, any>;
32
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
+ export default _default;
34
+ type __VLS_WithTemplateSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -20,6 +20,7 @@ export interface SphereProps {
20
20
  color?: TresColor;
21
21
  }
22
22
  declare function __VLS_template(): {
23
+ attrs: Partial<{}>;
23
24
  slots: {
24
25
  default?(_: {}): any;
25
26
  };
@@ -33,7 +34,7 @@ declare function __VLS_template(): {
33
34
  Defaults: {};
34
35
  }, 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;
35
36
  };
36
- attrs: Partial<{}>;
37
+ rootEl: any;
37
38
  };
38
39
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
40
  declare const __VLS_component: import('vue').DefineComponent<SphereProps, {
@@ -41,7 +42,16 @@ declare const __VLS_component: import('vue').DefineComponent<SphereProps, {
41
42
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SphereProps> & Readonly<{}>, {
42
43
  color: TresColor;
43
44
  args: ConstructorParameters<typeof SphereGeometry>;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
45
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
46
+ sphereRef: 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, {
47
+ P: {};
48
+ B: {};
49
+ D: {};
50
+ C: {};
51
+ M: {};
52
+ Defaults: {};
53
+ }, 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;
54
+ }, any>;
45
55
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
46
56
  export default _default;
47
57
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -33,6 +33,7 @@ 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
  };
@@ -46,7 +47,7 @@ declare function __VLS_template(): {
46
47
  Defaults: {};
47
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').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
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').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, {
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').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;
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,6 +19,7 @@ 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
  };
@@ -32,7 +33,7 @@ declare function __VLS_template(): {
32
33
  Defaults: {};
33
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').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
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').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, {
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').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;
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,6 +19,7 @@ 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
  };
@@ -32,7 +33,7 @@ declare function __VLS_template(): {
32
33
  Defaults: {};
33
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').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
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').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, {
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').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;
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,6 +19,7 @@ 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
  };
@@ -32,7 +33,7 @@ declare function __VLS_template(): {
32
33
  Defaults: {};
33
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').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
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').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, {
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').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;
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,6 +19,7 @@ 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
  };
@@ -32,7 +33,7 @@ declare function __VLS_template(): {
32
33
  Defaults: {};
33
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').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
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').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, {
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').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;
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
+ };