@tresjs/cientos 5.1.0 → 5.1.2

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 (151) hide show
  1. package/dist/trescientos.d.ts +11587 -0
  2. package/dist/trescientos.js +11796 -60020
  3. package/package.json +11 -17
  4. package/dist/core/abstractions/AnimatedSprite/Atlas.d.ts +0 -37
  5. package/dist/core/abstractions/AnimatedSprite/AtlasAnimationDefinitionParser.d.ts +0 -10
  6. package/dist/core/abstractions/AnimatedSprite/StringOps.d.ts +0 -2
  7. package/dist/core/abstractions/AnimatedSprite/component.vue.d.ts +0 -107
  8. package/dist/core/abstractions/Billboard.vue.d.ts +0 -79
  9. package/dist/core/abstractions/CubeCamera/component.vue.d.ts +0 -49
  10. package/dist/core/abstractions/CubeCamera/useCubeCamera.d.ts +0 -24
  11. package/dist/core/abstractions/Edges.vue.d.ts +0 -46
  12. package/dist/core/abstractions/GlobalAudio.d.ts +0 -50
  13. package/dist/core/abstractions/GradientTexture.vue.d.ts +0 -60
  14. package/dist/core/abstractions/Image/ImageMaterial.vue.d.ts +0 -6
  15. package/dist/core/abstractions/Image/ImageMaterialImpl.d.ts +0 -8
  16. package/dist/core/abstractions/Image/component.vue.d.ts +0 -75
  17. package/dist/core/abstractions/Lensflare/LensflareImpl.d.ts +0 -23
  18. package/dist/core/abstractions/Lensflare/RandUtils.d.ts +0 -68
  19. package/dist/core/abstractions/Lensflare/component.vue.d.ts +0 -60
  20. package/dist/core/abstractions/Lensflare/constants.d.ts +0 -20
  21. package/dist/core/abstractions/Lensflare/index.d.ts +0 -36
  22. package/dist/core/abstractions/Levioso.vue.d.ts +0 -48
  23. package/dist/core/abstractions/MarchingCubes/MarchingCube.vue.d.ts +0 -22
  24. package/dist/core/abstractions/MarchingCubes/MarchingCubes.vue.d.ts +0 -35
  25. package/dist/core/abstractions/MarchingCubes/MarchingPlane.vue.d.ts +0 -20
  26. package/dist/core/abstractions/MarchingCubes/const.d.ts +0 -2
  27. package/dist/core/abstractions/Mask/component.vue.d.ts +0 -50
  28. package/dist/core/abstractions/Mask/useMask.d.ts +0 -9
  29. package/dist/core/abstractions/MouseParallax.vue.d.ts +0 -51
  30. package/dist/core/abstractions/Outline/OutlineMaterialImpl.d.ts +0 -4
  31. package/dist/core/abstractions/Outline/component.vue.d.ts +0 -44
  32. package/dist/core/abstractions/PositionalAudio.vue.d.ts +0 -42
  33. package/dist/core/abstractions/Reflector.vue.d.ts +0 -88
  34. package/dist/core/abstractions/ScreenSizer.vue.d.ts +0 -53
  35. package/dist/core/abstractions/ScreenSpace.vue.d.ts +0 -42
  36. package/dist/core/abstractions/Text3D.vue.d.ts +0 -164
  37. package/dist/core/abstractions/index.d.ts +0 -28
  38. package/dist/core/abstractions/useAnimations.d.ts +0 -19
  39. package/dist/core/abstractions/useFBO/component.vue.d.ts +0 -9
  40. package/dist/core/abstractions/useFBO/index.d.ts +0 -17
  41. package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +0 -38
  42. package/dist/core/abstractions/useSurfaceSampler/index.d.ts +0 -1412
  43. package/dist/core/controls/CameraControls.vue.d.ts +0 -306
  44. package/dist/core/controls/Helper/component.vue.d.ts +0 -16
  45. package/dist/core/controls/Helper/useHelper.d.ts +0 -10
  46. package/dist/core/controls/KeyboardControls.vue.d.ts +0 -58
  47. package/dist/core/controls/MapControls.vue.d.ts +0 -260
  48. package/dist/core/controls/OrbitControls.vue.d.ts +0 -285
  49. package/dist/core/controls/PointerLockControls.vue.d.ts +0 -51
  50. package/dist/core/controls/ScrollControls.vue.d.ts +0 -96
  51. package/dist/core/controls/TransformControls.vue.d.ts +0 -44
  52. package/dist/core/controls/index.d.ts +0 -9
  53. package/dist/core/index.d.ts +0 -7
  54. package/dist/core/loaders/index.d.ts +0 -12
  55. package/dist/core/loaders/useFBX/component.vue.d.ts +0 -38
  56. package/dist/core/loaders/useFBX/index.d.ts +0 -32
  57. package/dist/core/loaders/useGLTF/component.vue.d.ts +0 -61
  58. package/dist/core/loaders/useGLTF/index.d.ts +0 -43
  59. package/dist/core/loaders/useProgress.d.ts +0 -6
  60. package/dist/core/loaders/useSVG/component.vue.d.ts +0 -101
  61. package/dist/core/loaders/useSVG/index.d.ts +0 -65
  62. package/dist/core/loaders/useTexture/component.vue.d.ts +0 -5134
  63. package/dist/core/loaders/useTexture/index.d.ts +0 -3
  64. package/dist/core/loaders/useTextures/index.d.ts +0 -13
  65. package/dist/core/loaders/useVideoTexture.d.ts +0 -28
  66. package/dist/core/materials/customShaderMaterial/index.vue.d.ts +0 -16
  67. package/dist/core/materials/holographicMaterial/HolographicMaterialParameters.d.ts +0 -41
  68. package/dist/core/materials/holographicMaterial/index.vue.d.ts +0 -35
  69. package/dist/core/materials/holographicMaterial/material.d.ts +0 -27
  70. package/dist/core/materials/index.d.ts +0 -8
  71. package/dist/core/materials/meshDiscardMaterial/index.vue.d.ts +0 -6
  72. package/dist/core/materials/meshDiscardMaterial/material.d.ts +0 -4
  73. package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +0 -6
  74. package/dist/core/materials/meshGlassMaterial/material.d.ts +0 -37
  75. package/dist/core/materials/meshReflectionMaterial/BlurPass.d.ts +0 -23
  76. package/dist/core/materials/meshReflectionMaterial/ConvolutionMaterial.d.ts +0 -7
  77. package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +0 -113
  78. package/dist/core/materials/meshReflectionMaterial/material.d.ts +0 -47
  79. package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +0 -13
  80. package/dist/core/materials/meshWobbleMaterial/material.d.ts +0 -21
  81. package/dist/core/materials/pointMaterial/component.vue.d.ts +0 -8
  82. package/dist/core/materials/pointMaterial/material.d.ts +0 -4
  83. package/dist/core/misc/BakeShadows.d.ts +0 -1
  84. package/dist/core/misc/LOD.vue.d.ts +0 -52
  85. package/dist/core/misc/Stats.d.ts +0 -13
  86. package/dist/core/misc/StatsGl.d.ts +0 -10
  87. package/dist/core/misc/html/HTML.vue.d.ts +0 -82
  88. package/dist/core/misc/html/utils.d.ts +0 -17
  89. package/dist/core/misc/index.d.ts +0 -8
  90. package/dist/core/misc/useGLTFExporter.d.ts +0 -12
  91. package/dist/core/misc/useIntersect.d.ts +0 -9
  92. package/dist/core/shapes/Box.vue.d.ts +0 -61
  93. package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +0 -30
  94. package/dist/core/shapes/Circle.vue.d.ts +0 -60
  95. package/dist/core/shapes/Cone.vue.d.ts +0 -60
  96. package/dist/core/shapes/CubicBezierLine.vue.d.ts +0 -49
  97. package/dist/core/shapes/Cylinder.vue.d.ts +0 -60
  98. package/dist/core/shapes/Dodecahedron.vue.d.ts +0 -60
  99. package/dist/core/shapes/Icosahedron.vue.d.ts +0 -60
  100. package/dist/core/shapes/Line2.vue.d.ts +0 -32
  101. package/dist/core/shapes/Octahedron.vue.d.ts +0 -60
  102. package/dist/core/shapes/Plane.vue.d.ts +0 -60
  103. package/dist/core/shapes/QuadraticBezierLine.vue.d.ts +0 -48
  104. package/dist/core/shapes/Ring.vue.d.ts +0 -60
  105. package/dist/core/shapes/RoundedBox.vue.d.ts +0 -61
  106. package/dist/core/shapes/ScreenQuad.vue.d.ts +0 -38
  107. package/dist/core/shapes/Sphere.vue.d.ts +0 -61
  108. package/dist/core/shapes/Superformula.vue.d.ts +0 -79
  109. package/dist/core/shapes/Tetrahedron.vue.d.ts +0 -60
  110. package/dist/core/shapes/Torus.vue.d.ts +0 -60
  111. package/dist/core/shapes/TorusKnot.vue.d.ts +0 -60
  112. package/dist/core/shapes/Tube.vue.d.ts +0 -60
  113. package/dist/core/shapes/index.d.ts +0 -22
  114. package/dist/core/staging/AccumulativeShadows/ProgressiveLightMap.d.ts +0 -35
  115. package/dist/core/staging/AccumulativeShadows/SoftShadowMaterial.d.ts +0 -10
  116. package/dist/core/staging/AccumulativeShadows/component.vue.d.ts +0 -115
  117. package/dist/core/staging/Align.vue.d.ts +0 -117
  118. package/dist/core/staging/Backdrop.vue.d.ts +0 -63
  119. package/dist/core/staging/Bounds/Bounds.d.ts +0 -73
  120. package/dist/core/staging/Bounds/component.vue.d.ts +0 -60
  121. package/dist/core/staging/CircleShadow.vue.d.ts +0 -27
  122. package/dist/core/staging/ContactShadows.vue.d.ts +0 -124
  123. package/dist/core/staging/Fit.vue.d.ts +0 -96
  124. package/dist/core/staging/Grid.vue.d.ts +0 -61
  125. package/dist/core/staging/Ocean.vue.d.ts +0 -133
  126. package/dist/core/staging/Precipitation.vue.d.ts +0 -144
  127. package/dist/core/staging/RandomizedLights/RandomizedLights.d.ts +0 -29
  128. package/dist/core/staging/RandomizedLights/component.vue.d.ts +0 -43
  129. package/dist/core/staging/Sky.vue.d.ts +0 -46
  130. package/dist/core/staging/Smoke.vue.d.ts +0 -97
  131. package/dist/core/staging/SoftShadows.vue.d.ts +0 -14
  132. package/dist/core/staging/Sparkles/ShaderData.d.ts +0 -37
  133. package/dist/core/staging/Sparkles/ShaderDataBuilder.d.ts +0 -42
  134. package/dist/core/staging/Sparkles/component.vue.d.ts +0 -168
  135. package/dist/core/staging/Sparkles/useEmptyDataTexture.d.ts +0 -2
  136. package/dist/core/staging/Stage.vue.d.ts +0 -677
  137. package/dist/core/staging/Stars.vue.d.ts +0 -88
  138. package/dist/core/staging/index.d.ts +0 -20
  139. package/dist/core/staging/useEnvironment/EnvironmentScene.d.ts +0 -8
  140. package/dist/core/staging/useEnvironment/component.vue.d.ts +0 -38
  141. package/dist/core/staging/useEnvironment/const.d.ts +0 -116
  142. package/dist/core/staging/useEnvironment/index.d.ts +0 -23
  143. package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +0 -37
  144. package/dist/index.d.ts +0 -2
  145. package/dist/utils/Gradient.d.ts +0 -10
  146. package/dist/utils/calculateScaleFactor.d.ts +0 -7
  147. package/dist/utils/constants.d.ts +0 -1
  148. package/dist/utils/easing.d.ts +0 -5
  149. package/dist/utils/index.d.ts +0 -22
  150. package/dist/utils/shaderMaterial.d.ts +0 -6
  151. package/dist/utils/types.d.ts +0 -3
@@ -1,79 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { BufferGeometry } from 'three';
3
- export type Float3 = [number, number, number];
4
- export interface SuperFormulaProps {
5
- /**
6
- * Number of horizontal mesh segments
7
- */
8
- widthSegments?: number;
9
- /**
10
- * Number of vertical mesh segments
11
- */
12
- heightSegments?: number;
13
- /**
14
- * The 3D Superformula is the spherical product of 2 2D superformula curves: here called curves "A" and "B".
15
- * Number of radial arms/ripples of A, corresponding to "m" [in this article.](https://en.wikipedia.org/wiki/Superformula)
16
- */
17
- numArmsA?: number;
18
- /**
19
- * A's 3 exponents
20
- */
21
- expA?: Float3;
22
- /**
23
- * For B, number of radial arms/ripples
24
- */
25
- numArmsB?: number;
26
- /**
27
- * B's 3 exponents
28
- */
29
- expB?: Float3;
30
- /**
31
- * If no material is provided, a color for the default material
32
- */
33
- color?: TresColor;
34
- }
35
- declare function __VLS_template(): {
36
- attrs: Partial<{}>;
37
- slots: {
38
- default?(_: {}): any;
39
- };
40
- refs: {
41
- superformulaRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, 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, {
42
- P: {};
43
- B: {};
44
- D: {};
45
- C: {};
46
- M: {};
47
- Defaults: {};
48
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
49
- };
50
- rootEl: any;
51
- };
52
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
53
- declare const __VLS_component: import('vue').DefineComponent<SuperFormulaProps, {
54
- instance: import('vue').ShallowRef<any, any>;
55
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SuperFormulaProps> & Readonly<{}>, {
56
- color: TresColor;
57
- widthSegments: number;
58
- heightSegments: number;
59
- numArmsA: number;
60
- expA: Float3;
61
- numArmsB: number;
62
- expB: Float3;
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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, 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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
72
- }, any>;
73
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
74
- export default _default;
75
- type __VLS_WithTemplateSlots<T, S> = T & {
76
- new (): {
77
- $slots: S;
78
- };
79
- };
@@ -1,60 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { TetrahedronGeometry } from 'three';
3
- export interface TetrahedronProps {
4
- /**
5
- * The radius and detail of the tetrahedron.
6
- * @default [1, 0]
7
- * @type {number[]}
8
- * @memberof TetrahedronProps
9
- * @see https://threejs.org/docs/#api/en/geometries/TetrahedronGeometry
10
- */
11
- args?: ConstructorParameters<typeof TetrahedronGeometry>;
12
- /**
13
- * The color of the tetrahedron.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof TetrahedronProps
17
- * @see https://threejs.org/docs/#api/en/materials/MeshBasicMaterial
18
- */
19
- color?: TresColor;
20
- }
21
- declare function __VLS_template(): {
22
- attrs: Partial<{}>;
23
- slots: {
24
- default?(_: {}): any;
25
- };
26
- refs: {
27
- tetrahedronRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, 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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
35
- };
36
- rootEl: any;
37
- };
38
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
- declare const __VLS_component: import('vue').DefineComponent<TetrahedronProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TetrahedronProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof TetrahedronGeometry>;
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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, 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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
53
- }, any>;
54
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
55
- export default _default;
56
- type __VLS_WithTemplateSlots<T, S> = T & {
57
- new (): {
58
- $slots: S;
59
- };
60
- };
@@ -1,60 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { TorusGeometry } from 'three';
3
- export interface TorusProps {
4
- /**
5
- * The radius, tube, radialSegments, tubularSegments, arc of the torus.
6
- * @default [1, 1, 16, 80, Math.PI * 2]
7
- * @type {number[]}
8
- * @memberof TorusProps
9
- * @see https://threejs.org/docs/#api/en/geometries/TorusGeometry
10
- */
11
- args?: ConstructorParameters<typeof TorusGeometry>;
12
- /**
13
- * The color of the torus.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof TorusProps
17
- * @see https://threejs.org/docs/#api/en/materials/MeshBasicMaterial
18
- */
19
- color?: TresColor;
20
- }
21
- declare function __VLS_template(): {
22
- attrs: Partial<{}>;
23
- slots: {
24
- default?(_: {}): any;
25
- };
26
- refs: {
27
- torusRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, 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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
35
- };
36
- rootEl: any;
37
- };
38
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
- declare const __VLS_component: import('vue').DefineComponent<TorusProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TorusProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof TorusGeometry>;
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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, 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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
53
- }, any>;
54
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
55
- export default _default;
56
- type __VLS_WithTemplateSlots<T, S> = T & {
57
- new (): {
58
- $slots: S;
59
- };
60
- };
@@ -1,60 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { TorusKnotGeometry } from 'three';
3
- export interface TorusKnotProps {
4
- /**
5
- * The radius, tube, radialSegments, tubularSegments and p, q of the torus knot.
6
- * @default [1, 0.4, 64, 8, 2, 3]
7
- * @type {number[]}
8
- * @memberof TorusKnotProps
9
- * @see https://threejs.org/docs/#api/en/geometries/TorusKnotGeometry
10
- */
11
- args?: ConstructorParameters<typeof TorusKnotGeometry>;
12
- /**
13
- * The color of the torus knot.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof TorusKnotProps
17
- * @see https://threejs.org/docs/#api/en/materials/MeshBasicMaterial
18
- */
19
- color?: TresColor;
20
- }
21
- declare function __VLS_template(): {
22
- attrs: Partial<{}>;
23
- slots: {
24
- default?(_: {}): any;
25
- };
26
- refs: {
27
- torusKnotRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, 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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
35
- };
36
- rootEl: any;
37
- };
38
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
- declare const __VLS_component: import('vue').DefineComponent<TorusKnotProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TorusKnotProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof TorusKnotGeometry>;
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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, 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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
53
- }, any>;
54
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
55
- export default _default;
56
- type __VLS_WithTemplateSlots<T, S> = T & {
57
- new (): {
58
- $slots: S;
59
- };
60
- };
@@ -1,60 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { TubeGeometry } from 'three';
3
- export interface TubeProps {
4
- /**
5
- * The curve, segments, radius, radialSegments, closed.
6
- * @default [new QuadraticBezierCurve3(new Vector3(-1, 0, 0), new Vector3(0, 1, 0), new Vector3(1, 0, 0)), 20, 0.2, 8, false]
7
- * @type {TubeGeometryParams}
8
- * @memberof TubeProps
9
- * @see https://threejs.org/docs/#api/en/geometries/TubeGeometry
10
- */
11
- args?: ConstructorParameters<typeof TubeGeometry>;
12
- /**
13
- * The color of the tube.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof TubeProps
17
- * @see https://threejs.org/docs/#api/en/materials/MeshBasicMaterial
18
- */
19
- color?: TresColor;
20
- }
21
- declare function __VLS_template(): {
22
- attrs: Partial<{}>;
23
- slots: {
24
- default?(_: {}): any;
25
- };
26
- refs: {
27
- tubeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, 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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
35
- };
36
- rootEl: any;
37
- };
38
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
- declare const __VLS_component: import('vue').DefineComponent<TubeProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TubeProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof TubeGeometry>;
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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, 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').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
53
- }, any>;
54
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
55
- export default _default;
56
- type __VLS_WithTemplateSlots<T, S> = T & {
57
- new (): {
58
- $slots: S;
59
- };
60
- };
@@ -1,22 +0,0 @@
1
- import { default as Box } from './Box.vue';
2
- import { default as CatmullRomCurve3 } from './CatmullRomCurve3.vue';
3
- import { default as Circle } from './Circle.vue';
4
- import { default as Cone } from './Cone.vue';
5
- import { default as QuadraticBezierLine } from './QuadraticBezierLine.vue';
6
- import { default as CubicBezierLine } from './CubicBezierLine.vue';
7
- import { default as Cylinder } from './Cylinder.vue';
8
- import { default as Dodecahedron } from './Dodecahedron.vue';
9
- import { default as Icosahedron } from './Icosahedron.vue';
10
- import { default as Line2 } from './Line2.vue';
11
- import { default as Octahedron } from './Octahedron.vue';
12
- import { default as Plane } from './Plane.vue';
13
- import { default as Ring } from './Ring.vue';
14
- import { default as RoundedBox } from './RoundedBox.vue';
15
- import { default as ScreenQuad } from './ScreenQuad.vue';
16
- import { default as Sphere } from './Sphere.vue';
17
- import { default as Superformula } from './Superformula.vue';
18
- import { default as Tetrahedron } from './Tetrahedron.vue';
19
- import { default as Torus } from './Torus.vue';
20
- import { default as TorusKnot } from './TorusKnot.vue';
21
- import { default as Tube } from './Tube.vue';
22
- export { Box, CatmullRomCurve3, Circle, Cone, CubicBezierLine, Cylinder, Dodecahedron, Icosahedron, Line2, Octahedron, Plane, QuadraticBezierLine, Ring, RoundedBox, ScreenQuad, Sphere, Superformula, Tetrahedron, Torus, TorusKnot, Tube, };
@@ -1,35 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
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
- };
@@ -1,115 +0,0 @@
1
- import { ColorRepresentation, Mesh, Group } from 'three';
2
- export interface AccumulativeShadowsProps {
3
- /** Whether shadow creation only happens once (resets after props change), false */
4
- once?: boolean;
5
- /** Whether shadows accumulate progressively over several frames, true */
6
- accumulate?: boolean;
7
- /**
8
- * Number of frames to render. More yields cleaner results but takes more time.
9
- * If `accumulate && once`, 1 frame will be consumed every update for `frames` updates.
10
- * Otherwise, `frames` frames are consumed for every update.
11
- * 40
12
- */
13
- frames?: number;
14
- /** If `accumulate`, controls the refresh ratio, 100 */
15
- blend?: number;
16
- /** If less than `Infinity`, limits the amount of frames rendered. Use this to increase performance once a movable scene has settled, Infinity */
17
- limit?: number;
18
- /** Scale of the plane, 10 */
19
- scale?: number;
20
- /** Opacity of the plane, 1 */
21
- opacity?: number;
22
- /** Discards alpha pixels, 0.65 */
23
- alphaTest?: number;
24
- /** Shadow color, black */
25
- color?: ColorRepresentation;
26
- /** Colorblend, amount of `color` in shadow, 0 is black, 2 */
27
- colorBlend?: number;
28
- /** Buffer resolution, 1024 */
29
- resolution?: number;
30
- /** Texture tonemapping, true */
31
- toneMapped?: boolean;
32
- }
33
- declare function __VLS_template(): {
34
- attrs: Partial<{}>;
35
- slots: {
36
- default?(_: {}): any;
37
- };
38
- refs: {
39
- gOuter: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
40
- P: {};
41
- B: {};
42
- D: {};
43
- C: {};
44
- M: {};
45
- Defaults: {};
46
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
47
- gLights: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
48
- P: {};
49
- B: {};
50
- D: {};
51
- C: {};
52
- M: {};
53
- Defaults: {};
54
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
55
- gPlane: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
56
- P: {};
57
- B: {};
58
- D: {};
59
- C: {};
60
- M: {};
61
- Defaults: {};
62
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
63
- };
64
- rootEl: any;
65
- };
66
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
67
- declare const __VLS_component: import('vue').DefineComponent<AccumulativeShadowsProps, {
68
- instance: import('vue').ShallowRef<Group<import('three').Object3DEventMap> | undefined, Group<import('three').Object3DEventMap> | undefined>;
69
- update: () => void;
70
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AccumulativeShadowsProps> & Readonly<{}>, {
71
- alphaTest: number;
72
- color: ColorRepresentation;
73
- scale: number;
74
- accumulate: boolean;
75
- opacity: number;
76
- toneMapped: boolean;
77
- resolution: number;
78
- frames: number;
79
- blend: number;
80
- once: boolean;
81
- limit: number;
82
- colorBlend: number;
83
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
84
- gOuter: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
85
- P: {};
86
- B: {};
87
- D: {};
88
- C: {};
89
- M: {};
90
- Defaults: {};
91
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
92
- gLights: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
93
- P: {};
94
- B: {};
95
- D: {};
96
- C: {};
97
- M: {};
98
- Defaults: {};
99
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
100
- gPlane: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
101
- P: {};
102
- B: {};
103
- D: {};
104
- C: {};
105
- M: {};
106
- Defaults: {};
107
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').BufferGeometryEventMap>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
108
- }, any>;
109
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
110
- export default _default;
111
- type __VLS_WithTemplateSlots<T, S> = T & {
112
- new (): {
113
- $slots: S;
114
- };
115
- };