@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,60 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { IcosahedronGeometry } from 'three';
3
- export interface IcosahedronProps {
4
- /**
5
- * The radius and detail of the icosahedron.
6
- * @default [1, 0]
7
- * @type {number[]}
8
- * @memberof IcosahedronProps
9
- * @see https://threejs.org/docs/#api/en/geometries/IcosahedronGeometry
10
- */
11
- args?: ConstructorParameters<typeof IcosahedronGeometry>;
12
- /**
13
- * The color of the icosahedron.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof IcosahedronProps
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
- 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').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<IcosahedronProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IcosahedronProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof IcosahedronGeometry>;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
- 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').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,32 +0,0 @@
1
- import { Vector2, Vector3 } from 'three';
2
- import { TresColor } from '@tresjs/core';
3
- type Points = (Vector3 | Vector2 | [number, number, number] | [number, number] | number)[];
4
- type VertexColors = Array<TresColor>;
5
- export interface LineProps {
6
- points: Points;
7
- vertexColors?: VertexColors | null;
8
- color?: TresColor;
9
- lineWidth?: number;
10
- worldUnits?: boolean;
11
- alphaToCoverage?: boolean;
12
- dashed?: boolean;
13
- dashSize?: number;
14
- gapSize?: number;
15
- dashScale?: number;
16
- dashOffset?: number;
17
- }
18
- declare const _default: import('vue').DefineComponent<LineProps, {
19
- instance: import('vue').ShallowRef<any, any>;
20
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LineProps> & Readonly<{}>, {
21
- color: TresColor;
22
- vertexColors: VertexColors | null;
23
- alphaToCoverage: boolean;
24
- dashSize: number;
25
- gapSize: number;
26
- dashOffset: number;
27
- lineWidth: number;
28
- worldUnits: boolean;
29
- dashed: boolean;
30
- dashScale: number;
31
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
- export default _default;
@@ -1,60 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { OctahedronGeometry } from 'three';
3
- export interface OctahedronProps {
4
- /**
5
- * The radius and detail of the octahedron.
6
- * @default [1, 0]
7
- * @type {number[]}
8
- * @memberof OctahedronProps
9
- * @see https://threejs.org/docs/#api/en/geometries/OctahedronGeometry
10
- */
11
- args?: ConstructorParameters<typeof OctahedronGeometry>;
12
- /**
13
- * The color of the octahedron.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof OctahedronProps
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
- 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').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<OctahedronProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OctahedronProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof OctahedronGeometry>;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
- octahedronRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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 { PlaneGeometry } from 'three';
3
- export interface PlaneProps {
4
- /**
5
- * The width, height, widthSegments and heightSegments of the plane.
6
- * @default [1, 1, 1, 1]
7
- * @type {number[]}
8
- * @memberof PlaneProps
9
- * @see https://threejs.org/docs/#api/en/geometries/PlaneGeometry
10
- */
11
- args?: ConstructorParameters<typeof PlaneGeometry>;
12
- /**
13
- * The color of the plane.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof PlaneProps
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
- 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').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<PlaneProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PlaneProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof PlaneGeometry>;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
- planeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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,48 +0,0 @@
1
- import { Vector3 } from 'three';
2
- interface QuadraticBezierLineProps {
3
- start: Vector3 | [number, number, number];
4
- end: Vector3 | [number, number, number];
5
- mid?: Vector3 | [number, number, number];
6
- segments?: number;
7
- }
8
- declare const _default: import('vue').DefineComponent<QuadraticBezierLineProps, {
9
- instance: import('vue').ShallowRef<any, any>;
10
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QuadraticBezierLineProps> & Readonly<{}>, {
11
- segments: number;
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
13
- lineRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Line2.vue').LineProps> & Readonly<{}>, {
14
- instance: import('vue').ShallowRef<any, any>;
15
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
16
- color: import('@tresjs/core').TresColor;
17
- vertexColors: import('@tresjs/core').TresColor[] | null;
18
- alphaToCoverage: boolean;
19
- dashSize: number;
20
- gapSize: number;
21
- dashOffset: number;
22
- lineWidth: number;
23
- worldUnits: boolean;
24
- dashed: boolean;
25
- dashScale: number;
26
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
- P: {};
28
- B: {};
29
- D: {};
30
- C: {};
31
- M: {};
32
- Defaults: {};
33
- }, Readonly<import('./Line2.vue').LineProps> & Readonly<{}>, {
34
- instance: import('vue').ShallowRef<any, any>;
35
- }, {}, {}, {}, {
36
- color: import('@tresjs/core').TresColor;
37
- vertexColors: import('@tresjs/core').TresColor[] | null;
38
- alphaToCoverage: boolean;
39
- dashSize: number;
40
- gapSize: number;
41
- dashOffset: number;
42
- lineWidth: number;
43
- worldUnits: boolean;
44
- dashed: boolean;
45
- dashScale: number;
46
- }> | null;
47
- }, any>;
48
- export default _default;
@@ -1,60 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { RingGeometry } from 'three';
3
- export interface RingProps {
4
- /**
5
- * The innerRadius, outerRadius, thetaSegments, phiSegments, tethaStart, thetaLength of the ring.
6
- * @default [0.5, 1, 32, 1, 0, Math.PI * 2]
7
- * @type {number[]}
8
- * @memberof RingProps
9
- * @see https://threejs.org/docs/#api/en/geometries/RingGeometry
10
- */
11
- args?: ConstructorParameters<typeof RingGeometry>;
12
- /**
13
- * The color of the ring.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof RingProps
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
- 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').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<RingProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RingProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof RingGeometry>;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
- ringRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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,61 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { BoxGeometry } from 'three';
3
- export interface BoxProps {
4
- /**
5
- * The width, height, depth, segments and radius.
6
- * @default [1, 1, 1, 2, 0.1]
7
- * @type {number[]}
8
- * @memberof BoxProps
9
- * @see https://github.com/mrdoob/three.js/blob/master/examples/jsm/geometries/RoundedBoxGeometry.js
10
- *
11
- */
12
- args?: ConstructorParameters<typeof BoxGeometry>;
13
- /**
14
- * The color of the box.
15
- * @default 0xffffff
16
- * @type {TresColor}
17
- * @memberof BoxProps
18
- * @see https://threejs.org/docs/#api/en/materials/MeshBasicMaterial
19
- */
20
- color?: TresColor;
21
- }
22
- declare function __VLS_template(): {
23
- attrs: Partial<{}>;
24
- slots: {
25
- default?(_: {}): any;
26
- };
27
- refs: {
28
- 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').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, {
29
- P: {};
30
- B: {};
31
- D: {};
32
- C: {};
33
- M: {};
34
- Defaults: {};
35
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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;
36
- };
37
- rootEl: any;
38
- };
39
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
40
- declare const __VLS_component: import('vue').DefineComponent<BoxProps, {
41
- instance: import('vue').ShallowRef<any, any>;
42
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BoxProps> & Readonly<{}>, {
43
- color: TresColor;
44
- args: ConstructorParameters<typeof BoxGeometry>;
45
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
46
- roundedBoxRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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, {
47
- P: {};
48
- B: {};
49
- D: {};
50
- C: {};
51
- M: {};
52
- Defaults: {};
53
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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;
54
- }, any>;
55
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
56
- export default _default;
57
- type __VLS_WithTemplateSlots<T, S> = T & {
58
- new (): {
59
- $slots: S;
60
- };
61
- };
@@ -1,38 +0,0 @@
1
- import * as THREE from 'three';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {
8
- meshRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, import('@tresjs/core').WithMathProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, typeof THREE.Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
9
- P: {};
10
- B: {};
11
- D: {};
12
- C: {};
13
- M: {};
14
- Defaults: {};
15
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, import('@tresjs/core').WithMathProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, typeof THREE.Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
16
- };
17
- rootEl: any;
18
- };
19
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- declare const __VLS_component: import('vue').DefineComponent<{}, {
21
- instance: import('vue').ShallowRef<any, any>;
22
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
23
- meshRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, import('@tresjs/core').WithMathProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, typeof THREE.Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
24
- P: {};
25
- B: {};
26
- D: {};
27
- C: {};
28
- M: {};
29
- Defaults: {};
30
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, import('@tresjs/core').WithMathProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>, typeof THREE.Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
31
- }, any>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
- export default _default;
34
- type __VLS_WithTemplateSlots<T, S> = T & {
35
- new (): {
36
- $slots: S;
37
- };
38
- };
@@ -1,61 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { SphereGeometry } from 'three';
3
- export interface SphereProps {
4
- /**
5
- * The radius, widthSegments, heightSegments, phiStart phiLength,
6
- * thetaStart and thetaLength of the sphere.
7
- * @default [2, 32, 16, 0, Math.PI * 2, 0, Math.PI]
8
- * @type {number[]}
9
- * @memberof SphereProps
10
- * @see https://threejs.org/docs/#api/en/geometries/SphereGeometry
11
- */
12
- args?: ConstructorParameters<typeof SphereGeometry>;
13
- /**
14
- * The color of the sphere.
15
- * @default 0xffffff
16
- * @type {TresColor}
17
- * @memberof SphereProps
18
- * @see https://threejs.org/docs/#api/en/materials/MeshBasicMaterial
19
- */
20
- color?: TresColor;
21
- }
22
- declare function __VLS_template(): {
23
- attrs: Partial<{}>;
24
- slots: {
25
- default?(_: {}): any;
26
- };
27
- refs: {
28
- 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').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, {
29
- P: {};
30
- B: {};
31
- D: {};
32
- C: {};
33
- M: {};
34
- Defaults: {};
35
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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;
36
- };
37
- rootEl: any;
38
- };
39
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
40
- declare const __VLS_component: import('vue').DefineComponent<SphereProps, {
41
- instance: import('vue').ShallowRef<any, any>;
42
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SphereProps> & Readonly<{}>, {
43
- color: TresColor;
44
- args: ConstructorParameters<typeof SphereGeometry>;
45
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
46
- sphereRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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, {
47
- P: {};
48
- B: {};
49
- D: {};
50
- C: {};
51
- M: {};
52
- Defaults: {};
53
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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;
54
- }, any>;
55
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
56
- export default _default;
57
- type __VLS_WithTemplateSlots<T, S> = T & {
58
- new (): {
59
- $slots: S;
60
- };
61
- };