@tresjs/cientos 4.0.3 → 4.1.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 (82) hide show
  1. package/dist/core/abstractions/AnimatedSprite/component.vue.d.ts +18 -5
  2. package/dist/core/abstractions/Billboard.vue.d.ts +61 -0
  3. package/dist/core/abstractions/CubeCamera/component.vue.d.ts +39 -0
  4. package/dist/core/abstractions/CubeCamera/useCubeCamera.d.ts +23 -0
  5. package/dist/core/abstractions/Edges.vue.d.ts +36 -0
  6. package/dist/core/abstractions/GradientTexture.vue.d.ts +47 -0
  7. package/dist/core/abstractions/Image/ImageMaterial.vue.d.ts +4 -0
  8. package/dist/core/abstractions/Image/ImageMaterialImpl.d.ts +8 -0
  9. package/dist/core/abstractions/Image/component.vue.d.ts +81 -0
  10. package/dist/core/abstractions/Lensflare/component.vue.d.ts +2 -2
  11. package/dist/core/abstractions/Levioso.vue.d.ts +17 -3
  12. package/dist/core/abstractions/Mask/component.vue.d.ts +40 -0
  13. package/dist/core/abstractions/Mask/useMask.d.ts +9 -0
  14. package/dist/core/abstractions/Outline/OutlineMaterialImpl.d.ts +4 -0
  15. package/dist/core/abstractions/Outline/component.vue.d.ts +34 -0
  16. package/dist/core/abstractions/PositionalAudio.vue.d.ts +1 -1
  17. package/dist/core/abstractions/Reflector.vue.d.ts +10 -3
  18. package/dist/core/abstractions/ScreenSizer.vue.d.ts +35 -0
  19. package/dist/core/abstractions/ScreenSpace.vue.d.ts +32 -0
  20. package/dist/core/abstractions/Text3D.vue.d.ts +17 -3
  21. package/dist/core/abstractions/index.d.ts +11 -1
  22. package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +16 -2
  23. package/dist/core/abstractions/useSurfaceSampler/index.d.ts +756 -602
  24. package/dist/core/controls/CameraControls.vue.d.ts +304 -0
  25. package/dist/core/controls/MapControls.vue.d.ts +258 -0
  26. package/dist/core/controls/OrbitControls.vue.d.ts +262 -0
  27. package/dist/core/controls/PointerLockControls.vue.d.ts +1 -2
  28. package/dist/core/controls/ScrollControls.vue.d.ts +18 -4
  29. package/dist/core/controls/TransformControls.vue.d.ts +1 -1
  30. package/dist/core/loaders/SVG/component.vue.d.ts +1 -1
  31. package/dist/core/loaders/useFBX/index.d.ts +3 -3
  32. package/dist/core/loaders/useGLTF/index.d.ts +7 -8
  33. package/dist/core/materials/customShaderMaterial/index.vue.d.ts +1 -1
  34. package/dist/core/materials/holographicMaterial/index.vue.d.ts +1 -1
  35. package/dist/core/materials/index.d.ts +2 -1
  36. package/dist/core/materials/meshDiscardMaterial/index.vue.d.ts +4 -0
  37. package/dist/core/materials/meshDiscardMaterial/material.d.ts +4 -0
  38. package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +1 -1
  39. package/dist/core/materials/meshGlassMaterial/material.d.ts +1 -3
  40. package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +1 -1
  41. package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +1 -1
  42. package/dist/core/misc/html/HTML.vue.d.ts +24 -2
  43. package/dist/core/shapes/Box.vue.d.ts +17 -3
  44. package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +1 -1
  45. package/dist/core/shapes/Circle.vue.d.ts +17 -3
  46. package/dist/core/shapes/Cone.vue.d.ts +17 -3
  47. package/dist/core/shapes/Cylinder.vue.d.ts +17 -3
  48. package/dist/core/shapes/Dodecahedron.vue.d.ts +17 -3
  49. package/dist/core/shapes/Icosahedron.vue.d.ts +17 -3
  50. package/dist/core/shapes/Line2.vue.d.ts +1 -1
  51. package/dist/core/shapes/Octahedron.vue.d.ts +17 -3
  52. package/dist/core/shapes/Plane.vue.d.ts +17 -3
  53. package/dist/core/shapes/Ring.vue.d.ts +17 -3
  54. package/dist/core/shapes/RoundedBox.vue.d.ts +17 -3
  55. package/dist/core/shapes/Sphere.vue.d.ts +17 -3
  56. package/dist/core/shapes/Superformula.vue.d.ts +18 -3
  57. package/dist/core/shapes/Tetrahedron.vue.d.ts +17 -3
  58. package/dist/core/shapes/Torus.vue.d.ts +17 -3
  59. package/dist/core/shapes/TorusKnot.vue.d.ts +17 -3
  60. package/dist/core/shapes/Tube.vue.d.ts +17 -3
  61. package/dist/core/staging/Align.vue.d.ts +87 -0
  62. package/dist/core/staging/Backdrop.vue.d.ts +26 -3
  63. package/dist/core/staging/ContactShadows.vue.d.ts +1 -1
  64. package/dist/core/staging/Fit.vue.d.ts +35 -5
  65. package/dist/core/staging/Grid.vue.d.ts +52 -0
  66. package/dist/core/staging/Ocean.vue.d.ts +10 -3
  67. package/dist/core/staging/Precipitation.vue.d.ts +17 -16
  68. package/dist/core/staging/Sky.vue.d.ts +1 -1
  69. package/dist/core/staging/Smoke.vue.d.ts +1 -1
  70. package/dist/core/staging/SoftShadows.vue.d.ts +14 -0
  71. package/dist/core/staging/Sparkles/ShaderData.d.ts +1 -1
  72. package/dist/core/staging/Stars.vue.d.ts +1 -1
  73. package/dist/core/staging/index.d.ts +4 -1
  74. package/dist/core/staging/useEnvironment/{envSence.d.ts → EnvironmentScene.d.ts} +3 -3
  75. package/dist/core/staging/useEnvironment/component.vue.d.ts +12 -5
  76. package/dist/core/staging/useEnvironment/index.d.ts +14 -0
  77. package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +6 -4
  78. package/dist/trescientos.js +15618 -15159
  79. package/dist/trescientos.umd.cjs +819 -517
  80. package/dist/utils/calculateScaleFactor.d.ts +7 -0
  81. package/dist/utils/shaderMaterial.d.ts +6 -0
  82. package/package.json +22 -22
@@ -19,15 +19,29 @@ export interface CylinderProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
- default?(_: {}): any;
22
+ slots: {
23
+ default?(_: {}): any;
24
+ };
25
+ refs: {
26
+ cylinderRef: 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
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ 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
+ };
35
+ attrs: Partial<{}>;
23
36
  };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
38
  declare const __VLS_component: import('vue').DefineComponent<CylinderProps, {
25
- instance: import('vue').ShallowRef<any>;
39
+ instance: import('vue').ShallowRef<any, any>;
26
40
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CylinderProps> & Readonly<{}>, {
27
41
  color: TresColor;
28
42
  args: ConstructorParameters<typeof CylinderGeometry>;
29
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
45
  export default _default;
32
46
  type __VLS_WithTemplateSlots<T, S> = T & {
33
47
  new (): {
@@ -19,15 +19,29 @@ export interface DodecahedronProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
- default?(_: {}): any;
22
+ slots: {
23
+ default?(_: {}): any;
24
+ };
25
+ refs: {
26
+ dodecahedronRef: 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
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ 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
+ };
35
+ attrs: Partial<{}>;
23
36
  };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
38
  declare const __VLS_component: import('vue').DefineComponent<DodecahedronProps, {
25
- instance: import('vue').ShallowRef<any>;
39
+ instance: import('vue').ShallowRef<any, any>;
26
40
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DodecahedronProps> & Readonly<{}>, {
27
41
  color: TresColor;
28
42
  args: ConstructorParameters<typeof DodecahedronGeometry>;
29
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
45
  export default _default;
32
46
  type __VLS_WithTemplateSlots<T, S> = T & {
33
47
  new (): {
@@ -19,15 +19,29 @@ export interface IcosahedronProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
- default?(_: {}): any;
22
+ slots: {
23
+ default?(_: {}): any;
24
+ };
25
+ refs: {
26
+ icosahedronRef: 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
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ 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
+ };
35
+ attrs: Partial<{}>;
23
36
  };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
38
  declare const __VLS_component: import('vue').DefineComponent<IcosahedronProps, {
25
- instance: import('vue').ShallowRef<any>;
39
+ instance: import('vue').ShallowRef<any, any>;
26
40
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IcosahedronProps> & Readonly<{}>, {
27
41
  color: TresColor;
28
42
  args: ConstructorParameters<typeof IcosahedronGeometry>;
29
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
45
  export default _default;
32
46
  type __VLS_WithTemplateSlots<T, S> = T & {
33
47
  new (): {
@@ -16,7 +16,7 @@ export interface LineProps {
16
16
  dashOffset?: number;
17
17
  }
18
18
  declare const _default: import('vue').DefineComponent<LineProps, {
19
- instance: import('vue').ShallowRef<any>;
19
+ instance: import('vue').ShallowRef<any, any>;
20
20
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LineProps> & Readonly<{}>, {
21
21
  color: TresColor;
22
22
  alphaToCoverage: boolean;
@@ -19,15 +19,29 @@ export interface OctahedronProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
- default?(_: {}): any;
22
+ slots: {
23
+ default?(_: {}): any;
24
+ };
25
+ refs: {
26
+ 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, {
27
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ 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
+ };
35
+ attrs: Partial<{}>;
23
36
  };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
38
  declare const __VLS_component: import('vue').DefineComponent<OctahedronProps, {
25
- instance: import('vue').ShallowRef<any>;
39
+ instance: import('vue').ShallowRef<any, any>;
26
40
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OctahedronProps> & Readonly<{}>, {
27
41
  color: TresColor;
28
42
  args: ConstructorParameters<typeof OctahedronGeometry>;
29
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
45
  export default _default;
32
46
  type __VLS_WithTemplateSlots<T, S> = T & {
33
47
  new (): {
@@ -19,15 +19,29 @@ export interface PlaneProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
- default?(_: {}): any;
22
+ slots: {
23
+ default?(_: {}): any;
24
+ };
25
+ refs: {
26
+ 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, {
27
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ 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
+ };
35
+ attrs: Partial<{}>;
23
36
  };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
38
  declare const __VLS_component: import('vue').DefineComponent<PlaneProps, {
25
- instance: import('vue').ShallowRef<any>;
39
+ instance: import('vue').ShallowRef<any, any>;
26
40
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PlaneProps> & Readonly<{}>, {
27
41
  color: TresColor;
28
42
  args: ConstructorParameters<typeof PlaneGeometry>;
29
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
45
  export default _default;
32
46
  type __VLS_WithTemplateSlots<T, S> = T & {
33
47
  new (): {
@@ -19,15 +19,29 @@ export interface RingProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
- default?(_: {}): any;
22
+ slots: {
23
+ default?(_: {}): any;
24
+ };
25
+ refs: {
26
+ 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, {
27
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ 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
+ };
35
+ attrs: Partial<{}>;
23
36
  };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
38
  declare const __VLS_component: import('vue').DefineComponent<RingProps, {
25
- instance: import('vue').ShallowRef<any>;
39
+ instance: import('vue').ShallowRef<any, any>;
26
40
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RingProps> & Readonly<{}>, {
27
41
  color: TresColor;
28
42
  args: ConstructorParameters<typeof RingGeometry>;
29
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
45
  export default _default;
32
46
  type __VLS_WithTemplateSlots<T, S> = T & {
33
47
  new (): {
@@ -20,15 +20,29 @@ export interface BoxProps {
20
20
  color?: TresColor;
21
21
  }
22
22
  declare function __VLS_template(): {
23
- default?(_: {}): any;
23
+ slots: {
24
+ default?(_: {}): any;
25
+ };
26
+ refs: {
27
+ 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, {
28
+ P: {};
29
+ B: {};
30
+ D: {};
31
+ C: {};
32
+ M: {};
33
+ Defaults: {};
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;
35
+ };
36
+ attrs: Partial<{}>;
24
37
  };
38
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
39
  declare const __VLS_component: import('vue').DefineComponent<BoxProps, {
26
- instance: import('vue').ShallowRef<any>;
40
+ instance: import('vue').ShallowRef<any, any>;
27
41
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BoxProps> & Readonly<{}>, {
28
42
  color: TresColor;
29
43
  args: ConstructorParameters<typeof BoxGeometry>;
30
44
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
45
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
46
  export default _default;
33
47
  type __VLS_WithTemplateSlots<T, S> = T & {
34
48
  new (): {
@@ -20,15 +20,29 @@ export interface SphereProps {
20
20
  color?: TresColor;
21
21
  }
22
22
  declare function __VLS_template(): {
23
- default?(_: {}): any;
23
+ slots: {
24
+ default?(_: {}): any;
25
+ };
26
+ refs: {
27
+ 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, {
28
+ P: {};
29
+ B: {};
30
+ D: {};
31
+ C: {};
32
+ M: {};
33
+ Defaults: {};
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;
35
+ };
36
+ attrs: Partial<{}>;
24
37
  };
38
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
39
  declare const __VLS_component: import('vue').DefineComponent<SphereProps, {
26
- instance: import('vue').ShallowRef<any>;
40
+ instance: import('vue').ShallowRef<any, any>;
27
41
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SphereProps> & Readonly<{}>, {
28
42
  color: TresColor;
29
43
  args: ConstructorParameters<typeof SphereGeometry>;
30
44
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
45
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
46
  export default _default;
33
47
  type __VLS_WithTemplateSlots<T, S> = T & {
34
48
  new (): {
@@ -1,4 +1,5 @@
1
1
  import { TresColor } from '@tresjs/core';
2
+ import { BufferGeometry } from 'three';
2
3
  export type Float3 = [number, number, number];
3
4
  export interface SuperFormulaProps {
4
5
  /**
@@ -32,10 +33,24 @@ export interface SuperFormulaProps {
32
33
  color?: TresColor;
33
34
  }
34
35
  declare function __VLS_template(): {
35
- default?(_: {}): any;
36
+ slots: {
37
+ default?(_: {}): any;
38
+ };
39
+ 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
+ P: {};
42
+ B: {};
43
+ D: {};
44
+ C: {};
45
+ M: {};
46
+ 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
+ };
49
+ attrs: Partial<{}>;
36
50
  };
51
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
37
52
  declare const __VLS_component: import('vue').DefineComponent<SuperFormulaProps, {
38
- instance: import('vue').ShallowRef<any>;
53
+ instance: import('vue').ShallowRef<any, any>;
39
54
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SuperFormulaProps> & Readonly<{}>, {
40
55
  color: TresColor;
41
56
  widthSegments: number;
@@ -45,7 +60,7 @@ declare const __VLS_component: import('vue').DefineComponent<SuperFormulaProps,
45
60
  numArmsB: number;
46
61
  expB: Float3;
47
62
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
48
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
63
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
49
64
  export default _default;
50
65
  type __VLS_WithTemplateSlots<T, S> = T & {
51
66
  new (): {
@@ -19,15 +19,29 @@ export interface TetrahedronProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
- default?(_: {}): any;
22
+ slots: {
23
+ default?(_: {}): any;
24
+ };
25
+ 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
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ 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
+ };
35
+ attrs: Partial<{}>;
23
36
  };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
38
  declare const __VLS_component: import('vue').DefineComponent<TetrahedronProps, {
25
- instance: import('vue').ShallowRef<any>;
39
+ instance: import('vue').ShallowRef<any, any>;
26
40
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TetrahedronProps> & Readonly<{}>, {
27
41
  color: TresColor;
28
42
  args: ConstructorParameters<typeof TetrahedronGeometry>;
29
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
45
  export default _default;
32
46
  type __VLS_WithTemplateSlots<T, S> = T & {
33
47
  new (): {
@@ -19,15 +19,29 @@ export interface TorusProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
- default?(_: {}): any;
22
+ slots: {
23
+ default?(_: {}): any;
24
+ };
25
+ 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
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ 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
+ };
35
+ attrs: Partial<{}>;
23
36
  };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
38
  declare const __VLS_component: import('vue').DefineComponent<TorusProps, {
25
- instance: import('vue').ShallowRef<any>;
39
+ instance: import('vue').ShallowRef<any, any>;
26
40
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TorusProps> & Readonly<{}>, {
27
41
  color: TresColor;
28
42
  args: ConstructorParameters<typeof TorusGeometry>;
29
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
45
  export default _default;
32
46
  type __VLS_WithTemplateSlots<T, S> = T & {
33
47
  new (): {
@@ -19,15 +19,29 @@ export interface TorusKnotProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
- default?(_: {}): any;
22
+ slots: {
23
+ default?(_: {}): any;
24
+ };
25
+ 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
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ 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
+ };
35
+ attrs: Partial<{}>;
23
36
  };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
38
  declare const __VLS_component: import('vue').DefineComponent<TorusKnotProps, {
25
- instance: import('vue').ShallowRef<any>;
39
+ instance: import('vue').ShallowRef<any, any>;
26
40
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TorusKnotProps> & Readonly<{}>, {
27
41
  color: TresColor;
28
42
  args: ConstructorParameters<typeof TorusKnotGeometry>;
29
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
45
  export default _default;
32
46
  type __VLS_WithTemplateSlots<T, S> = T & {
33
47
  new (): {
@@ -19,15 +19,29 @@ export interface TubeProps {
19
19
  color?: TresColor;
20
20
  }
21
21
  declare function __VLS_template(): {
22
- default?(_: {}): any;
22
+ slots: {
23
+ default?(_: {}): any;
24
+ };
25
+ 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
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ 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
+ };
35
+ attrs: Partial<{}>;
23
36
  };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
38
  declare const __VLS_component: import('vue').DefineComponent<TubeProps, {
25
- instance: import('vue').ShallowRef<any>;
39
+ instance: import('vue').ShallowRef<any, any>;
26
40
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TubeProps> & Readonly<{}>, {
27
41
  color: TresColor;
28
42
  args: ConstructorParameters<typeof TubeGeometry>;
29
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
45
  export default _default;
32
46
  type __VLS_WithTemplateSlots<T, S> = T & {
33
47
  new (): {
@@ -0,0 +1,87 @@
1
+ import { Group, Object3D, Box3, Sphere, Vector3 } from 'three';
2
+ import { MaybeRefOrGetter } from 'vue';
3
+ export interface OnAlignCallbackProps {
4
+ /** The next parent above <Align /> */
5
+ parent: Object3D;
6
+ /** The outmost container group of the <Align/> component */
7
+ container: Object3D;
8
+ width: number;
9
+ height: number;
10
+ depth: number;
11
+ boundingBox: Box3;
12
+ boundingSphere: Sphere;
13
+ center: Vector3;
14
+ verticalAlignment: number;
15
+ horizontalAlignment: number;
16
+ depthAlignment: number;
17
+ }
18
+ export interface AlignProps {
19
+ top?: boolean;
20
+ right?: boolean;
21
+ bottom?: boolean;
22
+ left?: boolean;
23
+ front?: boolean;
24
+ back?: boolean;
25
+ /** Disable all axes */
26
+ disable?: boolean;
27
+ /** Disable x-axis alignment */
28
+ disableX?: boolean;
29
+ /** Disable y-axis alignment */
30
+ disableY?: boolean;
31
+ /** Disable z-axis alignment */
32
+ disableZ?: boolean;
33
+ /** See https://threejs.org/docs/index.html?q=box3#api/en/math/Box3.setFromObject */
34
+ precise?: boolean;
35
+ /** Callback, fires when updating, after measurement */
36
+ onAlign?: (props: OnAlignCallbackProps) => void;
37
+ /** Optional cacheKey to keep the component from recalculating on every render */
38
+ cacheKey?: MaybeRefOrGetter<any>;
39
+ }
40
+ declare function update(): void;
41
+ declare function __VLS_template(): {
42
+ slots: {
43
+ default?(_: {}): any;
44
+ };
45
+ refs: {
46
+ ref: 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').EventHandlers>>>, 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, {
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<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
54
+ outer: 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').EventHandlers>>>, 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, {
55
+ P: {};
56
+ B: {};
57
+ D: {};
58
+ C: {};
59
+ M: {};
60
+ Defaults: {};
61
+ }, 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').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
62
+ inner: 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').EventHandlers>>>, 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, {
63
+ P: {};
64
+ B: {};
65
+ D: {};
66
+ C: {};
67
+ M: {};
68
+ Defaults: {};
69
+ }, 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').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
70
+ };
71
+ attrs: Partial<{}>;
72
+ };
73
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
74
+ declare const __VLS_component: import('vue').DefineComponent<AlignProps, {
75
+ instance: import('vue').ShallowRef<Group<import('three').Object3DEventMap> | undefined, Group<import('three').Object3DEventMap> | undefined>;
76
+ update: typeof update;
77
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AlignProps> & Readonly<{}>, {
78
+ precise: boolean;
79
+ cacheKey: MaybeRefOrGetter<any>;
80
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
81
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
82
+ export default _default;
83
+ type __VLS_WithTemplateSlots<T, S> = T & {
84
+ new (): {
85
+ $slots: S;
86
+ };
87
+ };