@tresjs/cientos 5.1.0 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/trescientos.d.ts +11504 -0
  2. package/dist/trescientos.js +11689 -60017
  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,82 +0,0 @@
1
- import { TresObject3D } from '@tresjs/core';
2
- import { Mutable } from '@vueuse/core';
3
- export interface HTMLProps {
4
- geometry?: any;
5
- material?: any;
6
- as?: string;
7
- transform?: boolean;
8
- portal?: Mutable<HTMLElement>;
9
- wrapperClass?: string;
10
- eps?: number;
11
- distanceFactor?: number;
12
- fullscreen?: boolean;
13
- center?: boolean;
14
- pointerEvents?: PointerEventsProperties;
15
- sprite?: boolean;
16
- zIndexRange?: Array<number>;
17
- occlude?: TresObject3D | null | (TresObject3D | null)[] | boolean | 'raycast' | 'blending';
18
- }
19
- type PointerEventsProperties = 'auto' | 'none' | 'visiblePainted' | 'visibleFill' | 'visibleStroke' | 'visible' | 'painted' | 'fill' | 'stroke' | 'all' | 'inherit';
20
- declare function __VLS_template(): {
21
- attrs: Partial<{}>;
22
- slots: Readonly<Record<string, any>> & Record<string, any>;
23
- refs: {
24
- groupRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Group<import('three').Object3DEventMap>, typeof import('three').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, {
25
- P: {};
26
- B: {};
27
- D: {};
28
- C: {};
29
- M: {};
30
- Defaults: {};
31
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Group<import('three').Object3DEventMap>, typeof import('three').Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
32
- meshRef: 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, {
33
- P: {};
34
- B: {};
35
- D: {};
36
- C: {};
37
- M: {};
38
- Defaults: {};
39
- }, 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;
40
- };
41
- rootEl: any;
42
- };
43
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
44
- declare const __VLS_component: import('vue').DefineComponent<HTMLProps, {
45
- instance: import('vue').Ref<TresObject3D | undefined, TresObject3D | undefined>;
46
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
47
- onOcclude: (...args: any[]) => void;
48
- }, string, import('vue').PublicProps, Readonly<HTMLProps> & Readonly<{
49
- onOnOcclude?: ((...args: any[]) => any) | undefined;
50
- }>, {
51
- sprite: boolean;
52
- pointerEvents: PointerEventsProperties;
53
- geometry: any;
54
- transform: boolean;
55
- as: string;
56
- eps: number;
57
- zIndexRange: Array<number>;
58
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
59
- groupRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Group<import('three').Object3DEventMap>, typeof import('three').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, {
60
- P: {};
61
- B: {};
62
- D: {};
63
- C: {};
64
- M: {};
65
- Defaults: {};
66
- }, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Group<import('three').Object3DEventMap>, typeof import('three').Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
67
- meshRef: 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, {
68
- P: {};
69
- B: {};
70
- D: {};
71
- C: {};
72
- M: {};
73
- Defaults: {};
74
- }, 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;
75
- }, any>;
76
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
77
- export default _default;
78
- type __VLS_WithTemplateSlots<T, S> = T & {
79
- new (): {
80
- $slots: S;
81
- };
82
- };
@@ -1,17 +0,0 @@
1
- import { Vector3, Matrix4, Raycaster } from 'three';
2
- import { TresCamera, TresObject3D } from '@tresjs/core';
3
- export declare const v1: Vector3;
4
- export declare const v2: Vector3;
5
- export declare const v3: Vector3;
6
- export declare function calculatePosition(instance: TresObject3D, camera: TresCamera, size: {
7
- width: number;
8
- height: number;
9
- }): number[];
10
- export declare function isObjectBehindCamera(el: TresObject3D, camera: TresCamera): boolean;
11
- export declare function isObjectVisible(el: TresObject3D, camera: TresCamera, raycaster: Raycaster, occlude: any): boolean;
12
- export declare function objectScale(el: TresObject3D, camera: TresCamera): number;
13
- export declare function objectZIndex(el: TresObject3D, camera: TresCamera, zIndexRange: Array<number>): number | undefined;
14
- export declare const epsilon: (value: number) => number;
15
- export declare function getCSSMatrix(matrix: Matrix4, multipliers: number[], prepend?: string): string;
16
- export declare const getCameraCSSMatrix: (matrix: Matrix4) => string;
17
- export declare const getObjectCSSMatrix: (matrix: Matrix4, factor: number) => string;
@@ -1,8 +0,0 @@
1
- import { BakeShadows } from './BakeShadows';
2
- import { default as LOD } from './LOD.vue';
3
- import { default as Html } from './html/HTML.vue';
4
- import { Stats } from './Stats';
5
- import { StatsGl } from './StatsGl';
6
- import { useGLTFExporter } from './useGLTFExporter';
7
- import { useIntersect } from './useIntersect';
8
- export { BakeShadows, Html, LOD, Stats, StatsGl, useGLTFExporter, useIntersect, };
@@ -1,12 +0,0 @@
1
- import { AnimationClip, Object3D } from 'three';
2
- interface gltfExporterOptions {
3
- fileName?: string;
4
- trs?: boolean;
5
- onlyVisible?: boolean;
6
- binary?: boolean;
7
- maxTextureSize?: number;
8
- animations?: AnimationClip[];
9
- includeCustomExtensions?: boolean;
10
- }
11
- export declare function useGLTFExporter(object3D: Object3D | Object3D[], options?: gltfExporterOptions): Promise<void>;
12
- export {};
@@ -1,9 +0,0 @@
1
- import { Object3D } from 'three';
2
- import { Ref } from 'vue';
3
- type UseIntersectCallback = (isIntersected: boolean) => void;
4
- export declare function useIntersect<T extends Object3D>(onChange?: Ref<UseIntersectCallback> | UseIntersectCallback): {
5
- ref: import('vue').ShallowRef<T | undefined, T | undefined>;
6
- intersect: import('vue').ShallowRef<boolean, boolean>;
7
- off: () => void;
8
- };
9
- export {};
@@ -1,61 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { BoxGeometry } from 'three';
3
- export interface BoxProps {
4
- /**
5
- * The width, height and depth of the box.
6
- * @default [1, 1, 1]
7
- * @type {number[]}
8
- * @memberof BoxProps
9
- * @see https://threejs.org/docs/#api/en/geometries/BoxGeometry
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
- boxRef: 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
- boxRef: 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,30 +0,0 @@
1
- import { Vector3 } from 'three';
2
- import { TresColor } from '@tresjs/core';
3
- type CurveType = 'centripetal' | 'chordal' | 'catmullrom';
4
- type Points = Array<Vector3 | [number, number, number]>;
5
- interface CatmullRomCurve3Props {
6
- segments?: number;
7
- closed?: boolean;
8
- curveType?: CurveType;
9
- tension?: number;
10
- points: Points;
11
- vertexColors?: TresColor[] | undefined;
12
- color?: TresColor;
13
- lineWidth?: number;
14
- alphaToCoverage?: boolean;
15
- dashed?: boolean;
16
- dashSize?: number;
17
- dashScale?: number;
18
- dashOffset?: number;
19
- gapSize?: number;
20
- worldUnits?: boolean;
21
- }
22
- declare const _default: import('vue').DefineComponent<CatmullRomCurve3Props, {
23
- instance: import('vue').ShallowRef<any, any>;
24
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CatmullRomCurve3Props> & Readonly<{}>, {
25
- closed: boolean;
26
- curveType: CurveType;
27
- tension: number;
28
- segments: number;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- export default _default;
@@ -1,60 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { CircleGeometry } from 'three';
3
- export interface CircleProps {
4
- /**
5
- * The radius, segment, thetaStart, thetaLength of the circle.
6
- * @default [1, 32, 0, Math.PI * 2]
7
- * @type {any[]}
8
- * @memberof CircleProps
9
- * @see https://threejs.org/docs/#api/en/geometries/CircleGeometry
10
- */
11
- args?: ConstructorParameters<typeof CircleGeometry>;
12
- /**
13
- * The color of the circle.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof CircleProps
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
- circleRef: 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<CircleProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CircleProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof CircleGeometry>;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
- circleRef: 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 { ConeGeometry } from 'three';
3
- export interface ConeProps {
4
- /**
5
- * The radius, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength of the cone.
6
- * @default [1, 1, 12, 12, false, 0, Math.PI * 2]
7
- * @type {any[]}
8
- * @memberof ConeProps
9
- * @see https://threejs.org/docs/#api/en/geometries/ConeGeometry
10
- */
11
- args?: ConstructorParameters<typeof ConeGeometry>;
12
- /**
13
- * The color of the cone.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof ConeProps
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
- coneRef: 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<ConeProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ConeProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof ConeGeometry>;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
- coneRef: 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,49 +0,0 @@
1
- import { Vector3 } from 'three';
2
- interface CubicBezierLineProps {
3
- start: Vector3 | [number, number, number];
4
- end: Vector3 | [number, number, number];
5
- midA: Vector3 | [number, number, number];
6
- midB: Vector3 | [number, number, number];
7
- segments?: number;
8
- }
9
- declare const _default: import('vue').DefineComponent<CubicBezierLineProps, {
10
- instance: import('vue').ShallowRef<any, any>;
11
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CubicBezierLineProps> & Readonly<{}>, {
12
- segments: number;
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
14
- lineRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Line2.vue').LineProps> & Readonly<{}>, {
15
- instance: import('vue').ShallowRef<any, any>;
16
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
17
- color: import('@tresjs/core').TresColor;
18
- vertexColors: import('@tresjs/core').TresColor[] | null;
19
- alphaToCoverage: boolean;
20
- dashSize: number;
21
- gapSize: number;
22
- dashOffset: number;
23
- lineWidth: number;
24
- worldUnits: boolean;
25
- dashed: boolean;
26
- dashScale: number;
27
- }, false, {}, {}, 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('./Line2.vue').LineProps> & Readonly<{}>, {
35
- instance: import('vue').ShallowRef<any, any>;
36
- }, {}, {}, {}, {
37
- color: import('@tresjs/core').TresColor;
38
- vertexColors: import('@tresjs/core').TresColor[] | null;
39
- alphaToCoverage: boolean;
40
- dashSize: number;
41
- gapSize: number;
42
- dashOffset: number;
43
- lineWidth: number;
44
- worldUnits: boolean;
45
- dashed: boolean;
46
- dashScale: number;
47
- }> | null;
48
- }, any>;
49
- export default _default;
@@ -1,60 +0,0 @@
1
- import { TresColor } from '@tresjs/core';
2
- import { CylinderGeometry } from 'three';
3
- export interface CylinderProps {
4
- /**
5
- * The radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength of the cylinder.
6
- * @default [1, 1, 1, 32, 1, false, 0, Math.PI * 2]
7
- * @type {any[]}
8
- * @memberof CylinderProps
9
- * @see https://threejs.org/docs/#api/en/geometries/CylinderGeometry
10
- */
11
- args?: ConstructorParameters<typeof CylinderGeometry>;
12
- /**
13
- * The color of the cylinder.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof CylinderProps
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
- cylinderRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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<CylinderProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CylinderProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof CylinderGeometry>;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
- cylinderRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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 { DodecahedronGeometry } from 'three';
3
- export interface DodecahedronProps {
4
- /**
5
- * The radius and detail of the dodecahedron.
6
- * @default [1, 0]
7
- * @type {number[]}
8
- * @memberof DodecahedronProps
9
- * @see https://threejs.org/docs/#api/en/geometries/DodecahedronGeometry
10
- */
11
- args?: ConstructorParameters<typeof DodecahedronGeometry>;
12
- /**
13
- * The color of the dodecahedron.
14
- * @default 0xffffff
15
- * @type {TresColor}
16
- * @memberof DodecahedronProps
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
- dodecahedronRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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<DodecahedronProps, {
40
- instance: import('vue').ShallowRef<any, any>;
41
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DodecahedronProps> & Readonly<{}>, {
42
- color: TresColor;
43
- args: ConstructorParameters<typeof DodecahedronGeometry>;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
- dodecahedronRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes, import('three').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
- };