@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.
- package/dist/trescientos.d.ts +11504 -0
- package/dist/trescientos.js +11689 -60017
- package/package.json +11 -17
- package/dist/core/abstractions/AnimatedSprite/Atlas.d.ts +0 -37
- package/dist/core/abstractions/AnimatedSprite/AtlasAnimationDefinitionParser.d.ts +0 -10
- package/dist/core/abstractions/AnimatedSprite/StringOps.d.ts +0 -2
- package/dist/core/abstractions/AnimatedSprite/component.vue.d.ts +0 -107
- package/dist/core/abstractions/Billboard.vue.d.ts +0 -79
- package/dist/core/abstractions/CubeCamera/component.vue.d.ts +0 -49
- package/dist/core/abstractions/CubeCamera/useCubeCamera.d.ts +0 -24
- package/dist/core/abstractions/Edges.vue.d.ts +0 -46
- package/dist/core/abstractions/GlobalAudio.d.ts +0 -50
- package/dist/core/abstractions/GradientTexture.vue.d.ts +0 -60
- package/dist/core/abstractions/Image/ImageMaterial.vue.d.ts +0 -6
- package/dist/core/abstractions/Image/ImageMaterialImpl.d.ts +0 -8
- package/dist/core/abstractions/Image/component.vue.d.ts +0 -75
- package/dist/core/abstractions/Lensflare/LensflareImpl.d.ts +0 -23
- package/dist/core/abstractions/Lensflare/RandUtils.d.ts +0 -68
- package/dist/core/abstractions/Lensflare/component.vue.d.ts +0 -60
- package/dist/core/abstractions/Lensflare/constants.d.ts +0 -20
- package/dist/core/abstractions/Lensflare/index.d.ts +0 -36
- package/dist/core/abstractions/Levioso.vue.d.ts +0 -48
- package/dist/core/abstractions/MarchingCubes/MarchingCube.vue.d.ts +0 -22
- package/dist/core/abstractions/MarchingCubes/MarchingCubes.vue.d.ts +0 -35
- package/dist/core/abstractions/MarchingCubes/MarchingPlane.vue.d.ts +0 -20
- package/dist/core/abstractions/MarchingCubes/const.d.ts +0 -2
- package/dist/core/abstractions/Mask/component.vue.d.ts +0 -50
- package/dist/core/abstractions/Mask/useMask.d.ts +0 -9
- package/dist/core/abstractions/MouseParallax.vue.d.ts +0 -51
- package/dist/core/abstractions/Outline/OutlineMaterialImpl.d.ts +0 -4
- package/dist/core/abstractions/Outline/component.vue.d.ts +0 -44
- package/dist/core/abstractions/PositionalAudio.vue.d.ts +0 -42
- package/dist/core/abstractions/Reflector.vue.d.ts +0 -88
- package/dist/core/abstractions/ScreenSizer.vue.d.ts +0 -53
- package/dist/core/abstractions/ScreenSpace.vue.d.ts +0 -42
- package/dist/core/abstractions/Text3D.vue.d.ts +0 -164
- package/dist/core/abstractions/index.d.ts +0 -28
- package/dist/core/abstractions/useAnimations.d.ts +0 -19
- package/dist/core/abstractions/useFBO/component.vue.d.ts +0 -9
- package/dist/core/abstractions/useFBO/index.d.ts +0 -17
- package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +0 -38
- package/dist/core/abstractions/useSurfaceSampler/index.d.ts +0 -1412
- package/dist/core/controls/CameraControls.vue.d.ts +0 -306
- package/dist/core/controls/Helper/component.vue.d.ts +0 -16
- package/dist/core/controls/Helper/useHelper.d.ts +0 -10
- package/dist/core/controls/KeyboardControls.vue.d.ts +0 -58
- package/dist/core/controls/MapControls.vue.d.ts +0 -260
- package/dist/core/controls/OrbitControls.vue.d.ts +0 -285
- package/dist/core/controls/PointerLockControls.vue.d.ts +0 -51
- package/dist/core/controls/ScrollControls.vue.d.ts +0 -96
- package/dist/core/controls/TransformControls.vue.d.ts +0 -44
- package/dist/core/controls/index.d.ts +0 -9
- package/dist/core/index.d.ts +0 -7
- package/dist/core/loaders/index.d.ts +0 -12
- package/dist/core/loaders/useFBX/component.vue.d.ts +0 -38
- package/dist/core/loaders/useFBX/index.d.ts +0 -32
- package/dist/core/loaders/useGLTF/component.vue.d.ts +0 -61
- package/dist/core/loaders/useGLTF/index.d.ts +0 -43
- package/dist/core/loaders/useProgress.d.ts +0 -6
- package/dist/core/loaders/useSVG/component.vue.d.ts +0 -101
- package/dist/core/loaders/useSVG/index.d.ts +0 -65
- package/dist/core/loaders/useTexture/component.vue.d.ts +0 -5134
- package/dist/core/loaders/useTexture/index.d.ts +0 -3
- package/dist/core/loaders/useTextures/index.d.ts +0 -13
- package/dist/core/loaders/useVideoTexture.d.ts +0 -28
- package/dist/core/materials/customShaderMaterial/index.vue.d.ts +0 -16
- package/dist/core/materials/holographicMaterial/HolographicMaterialParameters.d.ts +0 -41
- package/dist/core/materials/holographicMaterial/index.vue.d.ts +0 -35
- package/dist/core/materials/holographicMaterial/material.d.ts +0 -27
- package/dist/core/materials/index.d.ts +0 -8
- package/dist/core/materials/meshDiscardMaterial/index.vue.d.ts +0 -6
- package/dist/core/materials/meshDiscardMaterial/material.d.ts +0 -4
- package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +0 -6
- package/dist/core/materials/meshGlassMaterial/material.d.ts +0 -37
- package/dist/core/materials/meshReflectionMaterial/BlurPass.d.ts +0 -23
- package/dist/core/materials/meshReflectionMaterial/ConvolutionMaterial.d.ts +0 -7
- package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +0 -113
- package/dist/core/materials/meshReflectionMaterial/material.d.ts +0 -47
- package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +0 -13
- package/dist/core/materials/meshWobbleMaterial/material.d.ts +0 -21
- package/dist/core/materials/pointMaterial/component.vue.d.ts +0 -8
- package/dist/core/materials/pointMaterial/material.d.ts +0 -4
- package/dist/core/misc/BakeShadows.d.ts +0 -1
- package/dist/core/misc/LOD.vue.d.ts +0 -52
- package/dist/core/misc/Stats.d.ts +0 -13
- package/dist/core/misc/StatsGl.d.ts +0 -10
- package/dist/core/misc/html/HTML.vue.d.ts +0 -82
- package/dist/core/misc/html/utils.d.ts +0 -17
- package/dist/core/misc/index.d.ts +0 -8
- package/dist/core/misc/useGLTFExporter.d.ts +0 -12
- package/dist/core/misc/useIntersect.d.ts +0 -9
- package/dist/core/shapes/Box.vue.d.ts +0 -61
- package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +0 -30
- package/dist/core/shapes/Circle.vue.d.ts +0 -60
- package/dist/core/shapes/Cone.vue.d.ts +0 -60
- package/dist/core/shapes/CubicBezierLine.vue.d.ts +0 -49
- package/dist/core/shapes/Cylinder.vue.d.ts +0 -60
- package/dist/core/shapes/Dodecahedron.vue.d.ts +0 -60
- package/dist/core/shapes/Icosahedron.vue.d.ts +0 -60
- package/dist/core/shapes/Line2.vue.d.ts +0 -32
- package/dist/core/shapes/Octahedron.vue.d.ts +0 -60
- package/dist/core/shapes/Plane.vue.d.ts +0 -60
- package/dist/core/shapes/QuadraticBezierLine.vue.d.ts +0 -48
- package/dist/core/shapes/Ring.vue.d.ts +0 -60
- package/dist/core/shapes/RoundedBox.vue.d.ts +0 -61
- package/dist/core/shapes/ScreenQuad.vue.d.ts +0 -38
- package/dist/core/shapes/Sphere.vue.d.ts +0 -61
- package/dist/core/shapes/Superformula.vue.d.ts +0 -79
- package/dist/core/shapes/Tetrahedron.vue.d.ts +0 -60
- package/dist/core/shapes/Torus.vue.d.ts +0 -60
- package/dist/core/shapes/TorusKnot.vue.d.ts +0 -60
- package/dist/core/shapes/Tube.vue.d.ts +0 -60
- package/dist/core/shapes/index.d.ts +0 -22
- package/dist/core/staging/AccumulativeShadows/ProgressiveLightMap.d.ts +0 -35
- package/dist/core/staging/AccumulativeShadows/SoftShadowMaterial.d.ts +0 -10
- package/dist/core/staging/AccumulativeShadows/component.vue.d.ts +0 -115
- package/dist/core/staging/Align.vue.d.ts +0 -117
- package/dist/core/staging/Backdrop.vue.d.ts +0 -63
- package/dist/core/staging/Bounds/Bounds.d.ts +0 -73
- package/dist/core/staging/Bounds/component.vue.d.ts +0 -60
- package/dist/core/staging/CircleShadow.vue.d.ts +0 -27
- package/dist/core/staging/ContactShadows.vue.d.ts +0 -124
- package/dist/core/staging/Fit.vue.d.ts +0 -96
- package/dist/core/staging/Grid.vue.d.ts +0 -61
- package/dist/core/staging/Ocean.vue.d.ts +0 -133
- package/dist/core/staging/Precipitation.vue.d.ts +0 -144
- package/dist/core/staging/RandomizedLights/RandomizedLights.d.ts +0 -29
- package/dist/core/staging/RandomizedLights/component.vue.d.ts +0 -43
- package/dist/core/staging/Sky.vue.d.ts +0 -46
- package/dist/core/staging/Smoke.vue.d.ts +0 -97
- package/dist/core/staging/SoftShadows.vue.d.ts +0 -14
- package/dist/core/staging/Sparkles/ShaderData.d.ts +0 -37
- package/dist/core/staging/Sparkles/ShaderDataBuilder.d.ts +0 -42
- package/dist/core/staging/Sparkles/component.vue.d.ts +0 -168
- package/dist/core/staging/Sparkles/useEmptyDataTexture.d.ts +0 -2
- package/dist/core/staging/Stage.vue.d.ts +0 -677
- package/dist/core/staging/Stars.vue.d.ts +0 -88
- package/dist/core/staging/index.d.ts +0 -20
- package/dist/core/staging/useEnvironment/EnvironmentScene.d.ts +0 -8
- package/dist/core/staging/useEnvironment/component.vue.d.ts +0 -38
- package/dist/core/staging/useEnvironment/const.d.ts +0 -116
- package/dist/core/staging/useEnvironment/index.d.ts +0 -23
- package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +0 -37
- package/dist/index.d.ts +0 -2
- package/dist/utils/Gradient.d.ts +0 -10
- package/dist/utils/calculateScaleFactor.d.ts +0 -7
- package/dist/utils/constants.d.ts +0 -1
- package/dist/utils/easing.d.ts +0 -5
- package/dist/utils/index.d.ts +0 -22
- package/dist/utils/shaderMaterial.d.ts +0 -6
- package/dist/utils/types.d.ts +0 -3
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
import { default as CameraControls } from 'camera-controls';
|
|
2
|
-
import { Object3D, OrthographicCamera, PerspectiveCamera } from 'three';
|
|
3
|
-
export interface CameraControlsProps {
|
|
4
|
-
/**
|
|
5
|
-
* Whether to make this the default controls.
|
|
6
|
-
*
|
|
7
|
-
* @default false
|
|
8
|
-
* @type {boolean}
|
|
9
|
-
* @memberof CameraControlsProps
|
|
10
|
-
*/
|
|
11
|
-
makeDefault?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* The camera to control.
|
|
14
|
-
*
|
|
15
|
-
* @type {PerspectiveCamera | OrthographicCamera}
|
|
16
|
-
* @memberof CameraControlsProps
|
|
17
|
-
*/
|
|
18
|
-
camera?: PerspectiveCamera | OrthographicCamera;
|
|
19
|
-
/**
|
|
20
|
-
* The dom element to listen to.
|
|
21
|
-
*
|
|
22
|
-
* @type {HTMLElement}
|
|
23
|
-
* @memberof CameraControlsProps
|
|
24
|
-
*/
|
|
25
|
-
domElement?: HTMLElement;
|
|
26
|
-
/**
|
|
27
|
-
* Minimum vertical angle in radians.
|
|
28
|
-
* The angle has to be between `0` and `.maxPolarAngle` inclusive.
|
|
29
|
-
*
|
|
30
|
-
* @default 0
|
|
31
|
-
* @type {number}
|
|
32
|
-
* @memberof CameraControlsProps
|
|
33
|
-
*/
|
|
34
|
-
minPolarAngle?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Maximum vertical angle in radians.
|
|
37
|
-
* The angle has to be between `.maxPolarAngle` and `Math.PI` inclusive.
|
|
38
|
-
*
|
|
39
|
-
* @default Math.PI
|
|
40
|
-
* @type {number}
|
|
41
|
-
* @memberof CameraControlsProps
|
|
42
|
-
*/
|
|
43
|
-
maxPolarAngle?: number;
|
|
44
|
-
/**
|
|
45
|
-
* Minimum horizontal angle in radians.
|
|
46
|
-
* The angle has to be less than `.maxAzimuthAngle`.
|
|
47
|
-
*
|
|
48
|
-
* @default -Infinity
|
|
49
|
-
* @type {number}
|
|
50
|
-
* @memberof CameraControlsProps
|
|
51
|
-
*/
|
|
52
|
-
minAzimuthAngle?: number;
|
|
53
|
-
/**
|
|
54
|
-
* Maximum horizontal angle in radians.
|
|
55
|
-
* The angle has to be greater than `.minAzimuthAngle`.
|
|
56
|
-
*
|
|
57
|
-
* @default Infinity
|
|
58
|
-
* @type {number}
|
|
59
|
-
* @memberof CameraControlsProps
|
|
60
|
-
*/
|
|
61
|
-
maxAzimuthAngle?: number;
|
|
62
|
-
/**
|
|
63
|
-
* Current disatnce.
|
|
64
|
-
*
|
|
65
|
-
* @type {number}
|
|
66
|
-
* @memberof CameraControlsProps
|
|
67
|
-
*/
|
|
68
|
-
distance?: number;
|
|
69
|
-
/**
|
|
70
|
-
* Minimum distance for dolly. The value must be higher than `0`.
|
|
71
|
-
* PerspectiveCamera only.
|
|
72
|
-
*
|
|
73
|
-
* @default Number.EPSILON
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof CameraControlsProps
|
|
76
|
-
*/
|
|
77
|
-
minDistance?: number;
|
|
78
|
-
/**
|
|
79
|
-
* Maximum distance for dolly. The value must be higher than `minDistance`.
|
|
80
|
-
* PerspectiveCamera only.
|
|
81
|
-
*
|
|
82
|
-
* @default Infinity
|
|
83
|
-
* @type {number}
|
|
84
|
-
* @memberof CameraControlsProps
|
|
85
|
-
*/
|
|
86
|
-
maxDistance?: number;
|
|
87
|
-
/**
|
|
88
|
-
* `true` to enable Infinity Dolly for wheel and pinch. Use this with `minDistance` and `maxDistance`.
|
|
89
|
-
* If the Dolly distance is less (or over) than the `minDistance` (or `maxDistance`),
|
|
90
|
-
* `infinityDolly` will keep the distance and pushes the target position instead.
|
|
91
|
-
*
|
|
92
|
-
* @default false
|
|
93
|
-
* @type {boolean}
|
|
94
|
-
* @memberof CameraControlsProps
|
|
95
|
-
*/
|
|
96
|
-
infinityDolly?: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Minimum camera zoom.
|
|
99
|
-
*
|
|
100
|
-
* @default 0.01
|
|
101
|
-
* @type {number}
|
|
102
|
-
* @memberof CameraControlsProps
|
|
103
|
-
*/
|
|
104
|
-
minZoom?: number;
|
|
105
|
-
/**
|
|
106
|
-
* Maximum camera zoom.
|
|
107
|
-
*
|
|
108
|
-
* @default Infinity
|
|
109
|
-
* @type {number}
|
|
110
|
-
* @memberof CameraControlsProps
|
|
111
|
-
*/
|
|
112
|
-
maxZoom?: number;
|
|
113
|
-
/**
|
|
114
|
-
* Approximate time in seconds to reach the target. A smaller value will reach the target faster.
|
|
115
|
-
*
|
|
116
|
-
* @default 0.25
|
|
117
|
-
* @type {number}
|
|
118
|
-
* @memberof CameraControlsProps
|
|
119
|
-
*/
|
|
120
|
-
smoothTime?: number;
|
|
121
|
-
/**
|
|
122
|
-
* The smoothTime while dragging.
|
|
123
|
-
*
|
|
124
|
-
* @default 0.125
|
|
125
|
-
* @type {number}
|
|
126
|
-
* @memberof CameraControlsProps
|
|
127
|
-
*/
|
|
128
|
-
draggingSmoothTime?: number;
|
|
129
|
-
/**
|
|
130
|
-
* Max transition speed in unit-per-seconds.
|
|
131
|
-
*
|
|
132
|
-
* @default Infinity
|
|
133
|
-
* @type {number}
|
|
134
|
-
* @memberof CameraControlsProps
|
|
135
|
-
*/
|
|
136
|
-
maxSpeed?: number;
|
|
137
|
-
/**
|
|
138
|
-
* Speed of azimuth (horizontal) rotation.
|
|
139
|
-
*
|
|
140
|
-
* @default 1.0
|
|
141
|
-
* @type {number}
|
|
142
|
-
* @memberof CameraControlsProps
|
|
143
|
-
*/
|
|
144
|
-
azimuthRotateSpeed?: number;
|
|
145
|
-
/**
|
|
146
|
-
* Speed of polar (vertical) rotation.
|
|
147
|
-
*
|
|
148
|
-
* @default 1.0
|
|
149
|
-
* @type {number}
|
|
150
|
-
* @memberof CameraControlsProps
|
|
151
|
-
*/
|
|
152
|
-
polarRotateSpeed?: number;
|
|
153
|
-
/**
|
|
154
|
-
* Speed of mouse-wheel dollying.
|
|
155
|
-
*
|
|
156
|
-
* @default 1.0
|
|
157
|
-
* @type {number}
|
|
158
|
-
* @memberof CameraControlsProps
|
|
159
|
-
*/
|
|
160
|
-
dollySpeed?: number;
|
|
161
|
-
/**
|
|
162
|
-
* `true` to invert direction when dollying or zooming via drag.
|
|
163
|
-
*
|
|
164
|
-
* @default false
|
|
165
|
-
* @type {boolean}
|
|
166
|
-
* @memberof CameraControlsProps
|
|
167
|
-
*/
|
|
168
|
-
dollyDragInverted?: boolean;
|
|
169
|
-
/**
|
|
170
|
-
* Speed of drag for truck and pedestal.
|
|
171
|
-
*
|
|
172
|
-
* @default 2.0
|
|
173
|
-
* @type {number}
|
|
174
|
-
* @memberof CameraControlsProps
|
|
175
|
-
*/
|
|
176
|
-
truckSpeed?: number;
|
|
177
|
-
/**
|
|
178
|
-
* `true` to enable Dolly-in to the mouse cursor coords.
|
|
179
|
-
*
|
|
180
|
-
* @default false
|
|
181
|
-
* @type {boolean}
|
|
182
|
-
* @memberof CameraControlsProps
|
|
183
|
-
*/
|
|
184
|
-
dollyToCursor?: boolean;
|
|
185
|
-
/**
|
|
186
|
-
* @default false
|
|
187
|
-
* @type {boolean}
|
|
188
|
-
* @memberof CameraControlsProps
|
|
189
|
-
*/
|
|
190
|
-
dragToOffset?: boolean;
|
|
191
|
-
/**
|
|
192
|
-
* The same as `.screenSpacePanning` in three.js's OrbitControls.
|
|
193
|
-
*
|
|
194
|
-
* @default false
|
|
195
|
-
* @type {boolean}
|
|
196
|
-
* @memberof CameraControlsProps
|
|
197
|
-
*/
|
|
198
|
-
verticalDragToForward?: boolean;
|
|
199
|
-
/**
|
|
200
|
-
* Friction ratio of the boundary.
|
|
201
|
-
*
|
|
202
|
-
* @default 0.0
|
|
203
|
-
* @type {number}
|
|
204
|
-
* @memberof CameraControlsProps
|
|
205
|
-
*/
|
|
206
|
-
boundaryFriction?: number;
|
|
207
|
-
/**
|
|
208
|
-
* Controls how soon the `rest` event fires as the camera slows.
|
|
209
|
-
*
|
|
210
|
-
* @default 0.01
|
|
211
|
-
* @type {number}
|
|
212
|
-
* @memberof CameraControlsProps
|
|
213
|
-
*/
|
|
214
|
-
restThreshold?: number;
|
|
215
|
-
/**
|
|
216
|
-
* An array of Meshes to collide with the camera.
|
|
217
|
-
* Be aware colliderMeshes may decrease performance.
|
|
218
|
-
* The collision test uses 4 raycasters from the camera since the near plane has 4 corners.
|
|
219
|
-
*
|
|
220
|
-
* @default []
|
|
221
|
-
* @type {Object3D[]}
|
|
222
|
-
* @memberof CameraControlsProps
|
|
223
|
-
*/
|
|
224
|
-
colliderMeshes?: Object3D[];
|
|
225
|
-
/**
|
|
226
|
-
* User's mouse input config.
|
|
227
|
-
*
|
|
228
|
-
* | Button to assign | Options | Default |
|
|
229
|
-
* | ----------------------- | -------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
230
|
-
* | `mouseButtons.left` | `ROTATE` \| `TRUCK` \| `OFFSET` \| `DOLLY` \| `ZOOM` \| `NONE` | `ROTATE` |
|
|
231
|
-
* | `mouseButtons.right` | `ROTATE` \| `TRUCK` \| `OFFSET` \| `DOLLY` \| `ZOOM` \| `NONE` | `TRUCK` |
|
|
232
|
-
* | `mouseButtons.wheel` ¹ | `ROTATE` \| `TRUCK` \| `OFFSET` \| `DOLLY` \| `ZOOM` \| `NONE` | `DOLLY` for Perspective camera, `ZOOM` for Orthographic camera. |
|
|
233
|
-
* | `mouseButtons.middle` ² | `ROTATE` \| `TRUCK` \| `OFFSET` \| `DOLLY` \| `ZOOM` \| `NONE` | `DOLLY` |
|
|
234
|
-
*
|
|
235
|
-
* 1. Mouse wheel event for scroll "up/down", on mac "up/down/left/right".
|
|
236
|
-
* 2. Mouse wheel "button" click event.
|
|
237
|
-
*
|
|
238
|
-
* > **_NOTE:_** `DOLLY` can't be set when camera is Orthographic.
|
|
239
|
-
*
|
|
240
|
-
* @default See description
|
|
241
|
-
* @memberof CameraControlsProps
|
|
242
|
-
*/
|
|
243
|
-
mouseButtons?: Partial<CameraControls['mouseButtons']>;
|
|
244
|
-
/**
|
|
245
|
-
* User's touch input config.
|
|
246
|
-
*
|
|
247
|
-
* | Fingers to assign | Options | Default |
|
|
248
|
-
* | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
|
249
|
-
* | `touches.one` | `TOUCH_ROTATE` \| `TOUCH_TRUCK` \| `TOUCH_OFFSET` \| `DOLLY` \| `ZOOM` \| `NONE` | `TOUCH_ROTATE` |
|
|
250
|
-
* | `touches.two` | `TOUCH_DOLLY_TRUCK` \| `TOUCH_DOLLY_OFFSET` \| `TOUCH_DOLLY_ROTATE` \| `TOUCH_ZOOM_TRUCK` \| `TOUCH_ZOOM_OFFSET` \| `TOUCH_ZOOM_ROTATE` \| `TOUCH_DOLLY` \| `TOUCH_ZOOM` \| `TOUCH_ROTATE` \| `TOUCH_TRUCK` \| `TOUCH_OFFSET` \| `NONE` | `TOUCH_DOLLY_TRUCK` for Perspective camera, `TOUCH_ZOOM_TRUCK` for Othographic camera. |
|
|
251
|
-
* | `touches.three` | `TOUCH_DOLLY_TRUCK` \| `TOUCH_DOLLY_OFFSET` \| `TOUCH_DOLLY_ROTATE` \| `TOUCH_ZOOM_TRUCK` \| `TOUCH_ZOOM_OFFSET` \| `TOUCH_ZOOM_ROTATE` \| `TOUCH_ROTATE` \| `TOUCH_TRUCK` \| `TOUCH_OFFSET` \| `NONE` | `TOUCH_TRUCK` |
|
|
252
|
-
*
|
|
253
|
-
* > **_NOTE:_** `TOUCH_DOLLY_TRUCK` and `TOUCH_DOLLY` can't be set when camera is Orthographic.
|
|
254
|
-
*
|
|
255
|
-
* @default See description
|
|
256
|
-
* @memberof CameraControlsProps
|
|
257
|
-
*/
|
|
258
|
-
touches?: Partial<CameraControls['touches']>;
|
|
259
|
-
}
|
|
260
|
-
export { default as BaseCameraControls } from 'camera-controls';
|
|
261
|
-
declare const _default: import('vue').DefineComponent<CameraControlsProps, {
|
|
262
|
-
instance: import('vue').ShallowRef<(import('three').EventDispatcher<{}> & {
|
|
263
|
-
enabled: boolean;
|
|
264
|
-
} & CameraControls) | null, (import('three').EventDispatcher<{}> & {
|
|
265
|
-
enabled: boolean;
|
|
266
|
-
} & CameraControls) | null>;
|
|
267
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
268
|
-
end: (...args: any[]) => void;
|
|
269
|
-
start: (...args: any[]) => void;
|
|
270
|
-
change: (...args: any[]) => void;
|
|
271
|
-
}, string, import('vue').PublicProps, Readonly<CameraControlsProps> & Readonly<{
|
|
272
|
-
onEnd?: ((...args: any[]) => any) | undefined;
|
|
273
|
-
onStart?: ((...args: any[]) => any) | undefined;
|
|
274
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
275
|
-
}>, {
|
|
276
|
-
distance: number;
|
|
277
|
-
maxDistance: number;
|
|
278
|
-
mouseButtons: Partial<CameraControls["mouseButtons"]>;
|
|
279
|
-
touches: Partial<CameraControls["touches"]>;
|
|
280
|
-
makeDefault: boolean;
|
|
281
|
-
minPolarAngle: number;
|
|
282
|
-
maxPolarAngle: number;
|
|
283
|
-
minAzimuthAngle: number;
|
|
284
|
-
maxAzimuthAngle: number;
|
|
285
|
-
minDistance: number;
|
|
286
|
-
infinityDolly: boolean;
|
|
287
|
-
minZoom: number;
|
|
288
|
-
maxZoom: number;
|
|
289
|
-
smoothTime: number;
|
|
290
|
-
draggingSmoothTime: number;
|
|
291
|
-
maxSpeed: number;
|
|
292
|
-
azimuthRotateSpeed: number;
|
|
293
|
-
polarRotateSpeed: number;
|
|
294
|
-
dollySpeed: number;
|
|
295
|
-
dollyDragInverted: boolean;
|
|
296
|
-
truckSpeed: number;
|
|
297
|
-
dollyToCursor: boolean;
|
|
298
|
-
dragToOffset: boolean;
|
|
299
|
-
verticalDragToForward: boolean;
|
|
300
|
-
boundaryFriction: number;
|
|
301
|
-
restThreshold: number;
|
|
302
|
-
colliderMeshes: Object3D[];
|
|
303
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
304
|
-
controlsRef: unknown;
|
|
305
|
-
}, any>;
|
|
306
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type HelperConstructor = new (...args: any[]) => any;
|
|
2
|
-
export interface HelperProps {
|
|
3
|
-
type: HelperConstructor;
|
|
4
|
-
args?: any[];
|
|
5
|
-
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<HelperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<HelperProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
7
|
-
objRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "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, {
|
|
8
|
-
P: {};
|
|
9
|
-
B: {};
|
|
10
|
-
D: {};
|
|
11
|
-
C: {};
|
|
12
|
-
M: {};
|
|
13
|
-
Defaults: {};
|
|
14
|
-
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core/dist/src/utils/pointerEvents.js').PointerEventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
15
|
-
}, any>;
|
|
16
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Object3D } from 'three';
|
|
2
|
-
import { MaybeRefOrGetter } from 'vue';
|
|
3
|
-
import { TresObject } from '@tresjs/core';
|
|
4
|
-
type HelperType = Object3D & {
|
|
5
|
-
update: () => void;
|
|
6
|
-
dispose: () => void;
|
|
7
|
-
};
|
|
8
|
-
type HelperConstructor = new (...args: any[]) => any;
|
|
9
|
-
export declare function useHelper<T extends HelperConstructor>(object3D: MaybeRefOrGetter<TresObject | null | undefined | false>, helperConstructor: T, ...args: any[]): import('vue').ShallowRef<HelperType | undefined, HelperType | undefined>;
|
|
10
|
-
export {};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Camera } from 'three';
|
|
2
|
-
export interface KeyboardControlsProps {
|
|
3
|
-
/**
|
|
4
|
-
* Whether to make this the default controls.
|
|
5
|
-
*
|
|
6
|
-
* @default true
|
|
7
|
-
* @type {boolean}
|
|
8
|
-
* @memberof KeyboardControlsProps
|
|
9
|
-
* @see https://threejs.org/docs/index.html?q=pointe#examples/en/controls/PointerLockControls
|
|
10
|
-
*/
|
|
11
|
-
makeDefault?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* The camera to control.
|
|
14
|
-
*
|
|
15
|
-
* @default false
|
|
16
|
-
* @type {boolean}
|
|
17
|
-
* @memberof KeyboardControlsProps
|
|
18
|
-
* @see https://threejs.org/docs/index.html?q=pointe#examples/en/controls/PointerLockControls
|
|
19
|
-
*/
|
|
20
|
-
camera?: Camera;
|
|
21
|
-
/**
|
|
22
|
-
* The dom element to listen to.
|
|
23
|
-
*
|
|
24
|
-
* @type {HTMLElement}
|
|
25
|
-
* @memberof KeyboardControlsProps
|
|
26
|
-
* @see https://threejs.org/docs/index.html?q=pointe#examples/en/controls/PointerLockControls
|
|
27
|
-
*/
|
|
28
|
-
domElement?: HTMLElement;
|
|
29
|
-
/**
|
|
30
|
-
* Indicates the movement speed.
|
|
31
|
-
* @type {number}
|
|
32
|
-
* @default 0.2
|
|
33
|
-
* @memberof KeyboardControlsProps
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
moveSpeed?: number;
|
|
37
|
-
/**
|
|
38
|
-
* The trigger id.
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof KeyboardControlsProps
|
|
42
|
-
* @see https://threejs.org/docs/index.html?q=pointe#examples/en/controls/PointerLockControls
|
|
43
|
-
*/
|
|
44
|
-
selector?: string;
|
|
45
|
-
}
|
|
46
|
-
declare const _default: import('vue').DefineComponent<KeyboardControlsProps, {
|
|
47
|
-
instance: import('vue').Ref<import('@tresjs/core').TresControl | null, import('@tresjs/core').TresControl | null>;
|
|
48
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
49
|
-
change: (...args: any[]) => void;
|
|
50
|
-
isLock: (...args: any[]) => void;
|
|
51
|
-
}, string, import('vue').PublicProps, Readonly<KeyboardControlsProps> & Readonly<{
|
|
52
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
onIsLock?: ((...args: any[]) => any) | undefined;
|
|
54
|
-
}>, {
|
|
55
|
-
makeDefault: boolean;
|
|
56
|
-
moveSpeed: number;
|
|
57
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
58
|
-
export default _default;
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
import { MapControls } from 'three-stdlib';
|
|
2
|
-
import { TresVector3 } from '@tresjs/core';
|
|
3
|
-
import { Camera } from 'three';
|
|
4
|
-
export interface MapControlsProps {
|
|
5
|
-
/**
|
|
6
|
-
* Whether to make this the default controls.
|
|
7
|
-
*
|
|
8
|
-
* @default false
|
|
9
|
-
* @type {boolean}
|
|
10
|
-
* @memberof MapControlsProps
|
|
11
|
-
* @see https://threejs.org/docs/#examples/en/controls/MapControls
|
|
12
|
-
*/
|
|
13
|
-
makeDefault?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* The camera to control.
|
|
16
|
-
*
|
|
17
|
-
* @type {Camera}
|
|
18
|
-
* @memberof MapControlsProps
|
|
19
|
-
* @see https://threejs.org/docs/#examples/en/controls/MapControls
|
|
20
|
-
*/
|
|
21
|
-
camera?: Camera;
|
|
22
|
-
/**
|
|
23
|
-
* The dom element to listen to.
|
|
24
|
-
*
|
|
25
|
-
* @type {HTMLElement}
|
|
26
|
-
* @memberof MapControlsProps
|
|
27
|
-
* @see https://threejs.org/docs/#examples/en/controls/MapControls
|
|
28
|
-
*/
|
|
29
|
-
domElement?: HTMLElement;
|
|
30
|
-
/**
|
|
31
|
-
* The target to orbit around.
|
|
32
|
-
*
|
|
33
|
-
* @type {TresVector3}
|
|
34
|
-
* @memberof OrbitControlsProps
|
|
35
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.target
|
|
36
|
-
*/
|
|
37
|
-
target?: TresVector3;
|
|
38
|
-
/**
|
|
39
|
-
* Whether to enable damping (inertia)
|
|
40
|
-
*
|
|
41
|
-
* @default false
|
|
42
|
-
* @type {boolean}
|
|
43
|
-
* @memberof OrbitControlsProps
|
|
44
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.enableDamping
|
|
45
|
-
*/
|
|
46
|
-
enableDamping?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* The damping inertia used if `.enableDamping` is set to true
|
|
49
|
-
*
|
|
50
|
-
* @default 0.05
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof OrbitControlsProps
|
|
53
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.dampingFactor
|
|
54
|
-
*/
|
|
55
|
-
dampingFactor?: number;
|
|
56
|
-
/**
|
|
57
|
-
* Set to true to automatically rotate around the target.
|
|
58
|
-
*
|
|
59
|
-
* @default false
|
|
60
|
-
* @type {boolean}
|
|
61
|
-
* @memberof OrbitControlsProps
|
|
62
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.autoRotate
|
|
63
|
-
*/
|
|
64
|
-
autoRotate?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* How fast to rotate around the target if `.autoRotate` is true.
|
|
67
|
-
*
|
|
68
|
-
* @default 2
|
|
69
|
-
* @type {number}
|
|
70
|
-
* @memberof OrbitControlsProps
|
|
71
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.autoRotateSpeed
|
|
72
|
-
*/
|
|
73
|
-
autoRotateSpeed?: number;
|
|
74
|
-
/**
|
|
75
|
-
* Whether to enable panning.
|
|
76
|
-
*
|
|
77
|
-
* @default true
|
|
78
|
-
* @type {boolean}
|
|
79
|
-
* @memberof OrbitControlsProps
|
|
80
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.enablePan
|
|
81
|
-
*/
|
|
82
|
-
enablePan?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* How fast to pan the camera when the keyboard is used. Default is 7.0 pixels per keypress.
|
|
85
|
-
*
|
|
86
|
-
* @default 7.0
|
|
87
|
-
* @type {number}
|
|
88
|
-
* @memberof OrbitControlsProps
|
|
89
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.keyPanSpeed
|
|
90
|
-
*/
|
|
91
|
-
keyPanSpeed?: number;
|
|
92
|
-
/**
|
|
93
|
-
* This object contains references to the keycodes for controlling camera panning.
|
|
94
|
-
* Default is the 4 arrow keys.
|
|
95
|
-
*
|
|
96
|
-
* @default `{ LEFT: 'ArrowLeft', UP: 'ArrowUp', RIGHT: 'ArrowRight', BOTTOM: 'ArrowDown' }`
|
|
97
|
-
* @type Record<string, string>
|
|
98
|
-
* @memberof OrbitControlsProps
|
|
99
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.keys
|
|
100
|
-
*/
|
|
101
|
-
keys?: Record<string, string>;
|
|
102
|
-
/**
|
|
103
|
-
* How far you can orbit horizontally, upper limit.
|
|
104
|
-
* If set, the interval [ min, max ] must be a sub-interval of [ - 2 PI, 2 PI ],
|
|
105
|
-
* with ( max - min < 2 PI ). Default is Infinity.
|
|
106
|
-
*
|
|
107
|
-
* @default Infinity
|
|
108
|
-
* @type {number}
|
|
109
|
-
* @memberof OrbitControlsProps
|
|
110
|
-
* @see https://threejs.org/docs/index.html?q=orbi#examples/en/controls/OrbitControls.maxAzimuthAngle
|
|
111
|
-
*/
|
|
112
|
-
maxAzimuthAngle?: number;
|
|
113
|
-
/**
|
|
114
|
-
* How far you can orbit horizontally, lower limit.
|
|
115
|
-
* If set, the interval [ min, max ] must be a sub-interval of [ - 2 PI, 2 PI ],
|
|
116
|
-
* with ( max - min < 2 PI ).
|
|
117
|
-
* Default is - Infinity.
|
|
118
|
-
*
|
|
119
|
-
* @default -Infinity
|
|
120
|
-
* @type {number}
|
|
121
|
-
* @memberof OrbitControlsProps
|
|
122
|
-
* @see https://threejs.org/docs/index.html?q=orbi#examples/en/controls/OrbitControls.minAzimuthAngle
|
|
123
|
-
*/
|
|
124
|
-
minAzimuthAngle?: number;
|
|
125
|
-
/**
|
|
126
|
-
* How far you can orbit vertically, upper limit.
|
|
127
|
-
* Range is 0 to Math.PI radians, and default is Math.PI.
|
|
128
|
-
*
|
|
129
|
-
* @default Math.PI
|
|
130
|
-
* @type {number}
|
|
131
|
-
* @memberof OrbitControlsProps
|
|
132
|
-
* @see https://threejs.org/docs/index.html?q=orbi#examples/en/controls/OrbitControls.maxPolarAngle
|
|
133
|
-
*/
|
|
134
|
-
maxPolarAngle?: number;
|
|
135
|
-
/**
|
|
136
|
-
* How far you can orbit vertically, lower limit.
|
|
137
|
-
* Range is 0 to Math.PI radians, and default is 0.
|
|
138
|
-
*
|
|
139
|
-
* @default 0
|
|
140
|
-
* @type {number}
|
|
141
|
-
* @memberof OrbitControlsProps
|
|
142
|
-
* @see https://threejs.org/docs/index.html?q=orbi#examples/en/controls/OrbitControls.minPolarAngle
|
|
143
|
-
*/
|
|
144
|
-
minPolarAngle?: number;
|
|
145
|
-
/**
|
|
146
|
-
* The minimum distance of the camera to the target.
|
|
147
|
-
* Default is 0.
|
|
148
|
-
*
|
|
149
|
-
* @default 0
|
|
150
|
-
* @type {number}
|
|
151
|
-
* @memberof OrbitControlsProps
|
|
152
|
-
* @see https://threejs.org/docs/index.html?q=orbi#examples/en/controls/OrbitControls.minDistance
|
|
153
|
-
*/
|
|
154
|
-
minDistance?: number;
|
|
155
|
-
/**
|
|
156
|
-
* The maximum distance of the camera to the target.
|
|
157
|
-
* Default is Infinity.
|
|
158
|
-
*
|
|
159
|
-
* @default Infinity
|
|
160
|
-
* @type {number}
|
|
161
|
-
* @memberof OrbitControlsProps
|
|
162
|
-
* @see https://threejs.org/docs/index.html?q=orbi#examples/en/controls/OrbitControls.maxDistance
|
|
163
|
-
*/
|
|
164
|
-
maxDistance?: number;
|
|
165
|
-
/**
|
|
166
|
-
* The minimum field of view angle, in radians.
|
|
167
|
-
* Default is 0.
|
|
168
|
-
*
|
|
169
|
-
* @default 0
|
|
170
|
-
* @type {number}
|
|
171
|
-
* @memberof OrbitControlsProps
|
|
172
|
-
* @see https://threejs.org/docs/index.html?q=orbi#examples/en/controls/OrbitControls.minZoom
|
|
173
|
-
*/
|
|
174
|
-
minZoom?: number;
|
|
175
|
-
/**
|
|
176
|
-
* The maximum field of view angle, in radians.
|
|
177
|
-
* ( OrthographicCamera only ).
|
|
178
|
-
* Default is Infinity.
|
|
179
|
-
*
|
|
180
|
-
* @default Infinity
|
|
181
|
-
* @type {number}
|
|
182
|
-
* @memberof OrbitControlsProps
|
|
183
|
-
* @see https://threejs.org/docs/index.html?q=orbi#examples/en/controls/OrbitControls.maxZoom
|
|
184
|
-
*/
|
|
185
|
-
maxZoom?: number;
|
|
186
|
-
touches?: {
|
|
187
|
-
ONE?: number | undefined;
|
|
188
|
-
TWO?: number | undefined;
|
|
189
|
-
};
|
|
190
|
-
/**
|
|
191
|
-
* Whether to enable zooming.
|
|
192
|
-
*
|
|
193
|
-
* @default true
|
|
194
|
-
* @type {boolean}
|
|
195
|
-
* @memberof OrbitControlsProps
|
|
196
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.enableZoom
|
|
197
|
-
*/
|
|
198
|
-
enableZoom?: boolean;
|
|
199
|
-
/**
|
|
200
|
-
* How fast to zoom in and out. Default is 1.
|
|
201
|
-
*
|
|
202
|
-
* @default 1
|
|
203
|
-
* @type {number}
|
|
204
|
-
* @memberof OrbitControlsProps
|
|
205
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.zoomSpeed
|
|
206
|
-
*/
|
|
207
|
-
zoomSpeed?: number;
|
|
208
|
-
/**
|
|
209
|
-
* Whether to enable rotating.
|
|
210
|
-
*
|
|
211
|
-
* @default true
|
|
212
|
-
* @type {boolean}
|
|
213
|
-
* @memberof OrbitControlsProps
|
|
214
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.enableRotate
|
|
215
|
-
*/
|
|
216
|
-
enableRotate?: boolean;
|
|
217
|
-
/**
|
|
218
|
-
* How fast to rotate around the target. Default is 1.
|
|
219
|
-
*
|
|
220
|
-
* @default 1
|
|
221
|
-
* @type {number}
|
|
222
|
-
* @memberof OrbitControlsProps
|
|
223
|
-
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.rotateSpeed
|
|
224
|
-
*/
|
|
225
|
-
rotateSpeed?: number;
|
|
226
|
-
}
|
|
227
|
-
declare const _default: import('vue').DefineComponent<MapControlsProps, {
|
|
228
|
-
instance: import('vue').ShallowRef<MapControls | null, MapControls | null>;
|
|
229
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
230
|
-
end: (...args: any[]) => void;
|
|
231
|
-
start: (...args: any[]) => void;
|
|
232
|
-
change: (...args: any[]) => void;
|
|
233
|
-
}, string, import('vue').PublicProps, Readonly<MapControlsProps> & Readonly<{
|
|
234
|
-
onEnd?: ((...args: any[]) => any) | undefined;
|
|
235
|
-
onStart?: ((...args: any[]) => any) | undefined;
|
|
236
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
237
|
-
}>, {
|
|
238
|
-
maxDistance: number;
|
|
239
|
-
makeDefault: boolean;
|
|
240
|
-
minPolarAngle: number;
|
|
241
|
-
maxPolarAngle: number;
|
|
242
|
-
minAzimuthAngle: number;
|
|
243
|
-
maxAzimuthAngle: number;
|
|
244
|
-
minDistance: number;
|
|
245
|
-
minZoom: number;
|
|
246
|
-
maxZoom: number;
|
|
247
|
-
enableDamping: boolean;
|
|
248
|
-
dampingFactor: number;
|
|
249
|
-
autoRotate: boolean;
|
|
250
|
-
autoRotateSpeed: number;
|
|
251
|
-
enablePan: boolean;
|
|
252
|
-
keyPanSpeed: number;
|
|
253
|
-
enableZoom: boolean;
|
|
254
|
-
zoomSpeed: number;
|
|
255
|
-
enableRotate: boolean;
|
|
256
|
-
rotateSpeed: number;
|
|
257
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
258
|
-
controlsRef: unknown;
|
|
259
|
-
}, any>;
|
|
260
|
-
export default _default;
|