@tomorrowevening/theatre-r3f 1.0.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/LICENSE +203 -0
- package/README.md +104 -0
- package/dist/drei/OrthographicCamera.d.ts +17 -0
- package/dist/drei/OrthographicCamera.d.ts.map +1 -0
- package/dist/drei/PerspectiveCamera.d.ts +17 -0
- package/dist/drei/PerspectiveCamera.d.ts.map +1 -0
- package/dist/drei/index.d.ts +3 -0
- package/dist/drei/index.d.ts.map +1 -0
- package/dist/extension/InfiniteGridHelper/index.d.ts +12 -0
- package/dist/extension/InfiniteGridHelper/index.d.ts.map +1 -0
- package/dist/extension/components/DragDetector.d.ts +8 -0
- package/dist/extension/components/DragDetector.d.ts.map +1 -0
- package/dist/extension/components/EditableProxy.d.ts +9 -0
- package/dist/extension/components/EditableProxy.d.ts.map +1 -0
- package/dist/extension/components/OrbitControls/OrbitControlsImpl.d.ts +65 -0
- package/dist/extension/components/OrbitControls/OrbitControlsImpl.d.ts.map +1 -0
- package/dist/extension/components/OrbitControls/index.d.ts +24 -0
- package/dist/extension/components/OrbitControls/index.d.ts.map +1 -0
- package/dist/extension/components/ProxyManager.d.ts +9 -0
- package/dist/extension/components/ProxyManager.d.ts.map +1 -0
- package/dist/extension/components/ReferenceWindow/ReferenceWindow.d.ts +10 -0
- package/dist/extension/components/ReferenceWindow/ReferenceWindow.d.ts.map +1 -0
- package/dist/extension/components/ReferenceWindow/noiseImage.d.ts +3 -0
- package/dist/extension/components/ReferenceWindow/noiseImage.d.ts.map +1 -0
- package/dist/extension/components/SnapshotEditor.d.ts +6 -0
- package/dist/extension/components/SnapshotEditor.d.ts.map +1 -0
- package/dist/extension/components/TransformControls.d.ts +19 -0
- package/dist/extension/components/TransformControls.d.ts.map +1 -0
- package/dist/extension/components/useRefAndState.d.ts +18 -0
- package/dist/extension/components/useRefAndState.d.ts.map +1 -0
- package/dist/extension/components/useSelected.d.ts +3 -0
- package/dist/extension/components/useSelected.d.ts.map +1 -0
- package/dist/extension/components/useSnapshotEditorCamera.d.ts +9 -0
- package/dist/extension/components/useSnapshotEditorCamera.d.ts.map +1 -0
- package/dist/extension/editorStuff.d.ts +19 -0
- package/dist/extension/editorStuff.d.ts.map +1 -0
- package/dist/extension/icons.d.ts +13 -0
- package/dist/extension/icons.d.ts.map +1 -0
- package/dist/extension/index.d.ts +4 -0
- package/dist/extension/index.d.ts.map +1 -0
- package/dist/extension/index.esm.js +22176 -0
- package/dist/extension/index.esm.js.map +7 -0
- package/dist/extension/index.js +22142 -0
- package/dist/extension/index.js.map +7 -0
- package/dist/extension/useExtensionStore.d.ts +3 -0
- package/dist/extension/useExtensionStore.d.ts.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +780 -0
- package/dist/index.esm.js.map +7 -0
- package/dist/index.js +778 -0
- package/dist/index.js.map +7 -0
- package/dist/main/RafDriverProvider.d.ts +10 -0
- package/dist/main/RafDriverProvider.d.ts.map +1 -0
- package/dist/main/RefreshSnapshot.d.ts +19 -0
- package/dist/main/RefreshSnapshot.d.ts.map +1 -0
- package/dist/main/SheetProvider.d.ts +10 -0
- package/dist/main/SheetProvider.d.ts.map +1 -0
- package/dist/main/defaultEditableFactoryConfig.d.ts +579 -0
- package/dist/main/defaultEditableFactoryConfig.d.ts.map +1 -0
- package/dist/main/editable.d.ts +124 -0
- package/dist/main/editable.d.ts.map +1 -0
- package/dist/main/editableFactoryConfigUtils.d.ts +58 -0
- package/dist/main/editableFactoryConfigUtils.d.ts.map +1 -0
- package/dist/main/store.d.ts +46 -0
- package/dist/main/store.d.ts.map +1 -0
- package/dist/main/useInvalidate.d.ts +2 -0
- package/dist/main/useInvalidate.d.ts.map +1 -0
- package/dist/main/utils.d.ts +4 -0
- package/dist/main/utils.d.ts.map +1 -0
- package/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +87 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
203
|
+
|
package/README.md
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# @theatre/r3f
|
|
2
|
+
|
|
3
|
+
A [Theatre.js](https://github.com/AriaMinaei/theatre) extension for [THREE.js](https://threejs.org/) with [React Three Fiber](https://github.com/pmndrs/react-three-fiber).
|
|
4
|
+
|
|
5
|
+
**Here be dragons! 🐉** `@theatre/r3f` is pre-release software, the API, the internal logic, and even the package name can and will drastically change at any time, without warning.
|
|
6
|
+
|
|
7
|
+
## Quickstart
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# r3f and its deps
|
|
11
|
+
yarn add react
|
|
12
|
+
yarn add three
|
|
13
|
+
yarn add @react-three/fiber
|
|
14
|
+
|
|
15
|
+
# Theatre.js
|
|
16
|
+
yarn add @theatre/core
|
|
17
|
+
yarn add @theatre/studio
|
|
18
|
+
|
|
19
|
+
yarn add @theatre/r3f
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
```tsx
|
|
23
|
+
import React from 'react';
|
|
24
|
+
import { Canvas } from 'react-three-fiber';
|
|
25
|
+
import {editable as e, SheetProvider, extension} from '@theatre/r3f';
|
|
26
|
+
import studio from '@theatre/studio';
|
|
27
|
+
|
|
28
|
+
studio.extend(extension)
|
|
29
|
+
studio.initialize()
|
|
30
|
+
|
|
31
|
+
export default function App() {
|
|
32
|
+
return (
|
|
33
|
+
<Canvas>
|
|
34
|
+
<SheetProvider
|
|
35
|
+
sheet={getProject('Playground - R3F').sheet('R3F-Canvas')}
|
|
36
|
+
>
|
|
37
|
+
<ambientLight intensity={0.5} />
|
|
38
|
+
{/* Mark objects as editable. */}
|
|
39
|
+
{/* Properties in the code are used as initial values and reset points in the editor. */}
|
|
40
|
+
<e.spotLight
|
|
41
|
+
position={[10, 10, 10]}
|
|
42
|
+
angle={0.15}
|
|
43
|
+
penumbra={1}
|
|
44
|
+
theatreKey="Spotlight"
|
|
45
|
+
/>
|
|
46
|
+
<e.pointLight theatreKey="PointLight" />
|
|
47
|
+
<e.mesh theatreKey="Box">
|
|
48
|
+
<boxBufferGeometry />
|
|
49
|
+
<meshStandardMaterial color="orange" />
|
|
50
|
+
</e.mesh>
|
|
51
|
+
</SheetProvider>
|
|
52
|
+
</Canvas>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Why
|
|
58
|
+
|
|
59
|
+
When creating a 3D scene for react-three-fiber, you can choose two routes: you can either code it in r3f, which gives you reactivity, and the flexibility that comes with it, or you can use a 3D software like Blender and export it, but then if you want to dynamically modify that scene at runtime, you'll have to fall back to imperative code.
|
|
60
|
+
|
|
61
|
+
The best middle ground so far has been *gltfjsx*, which generates JSX from your exported scene, however it still involves a lot of manual work if you want to split your scene into components, and any modifications you make will have to be reapplied if you make changes to the scene.
|
|
62
|
+
|
|
63
|
+
`@theatre/r3f` aims to fill this gap by allowing you to set up your scene in JSX, giving you reactivity, while allowing you to tweak the properties of these objects in a visual editor, including their transforms, which you can then bake into a json file to be used by the runtime in production. An explicit goal of the project is to mirror regular react-three-fiber code as much as possible. This lets you add it to an existing project with ease, take it out when you don't need it, and generally use it as little or as much as you want, without feeling locked in.
|
|
64
|
+
|
|
65
|
+
## API
|
|
66
|
+
|
|
67
|
+
### `editable`
|
|
68
|
+
|
|
69
|
+
Use it to make objects editable. The properties on `editable` mirror the intrinsic elements of react-three-fiber, however there's no full parity yet. E.g. if you want to create an editable `<mesh>`, you do it by using `<editable.mesh>` instead. These elements have the same interface as the normal ones, with the addition of the below props. Any editable property you set in the code (like `position`) will be used as an initial value/reset point in the editor.
|
|
70
|
+
|
|
71
|
+
`editable` is also a function, which allows you to make your custom components editable. Your component does have to be compatible with the interface of the editable object type it is meant to represent. You need to pass it the component you want to wrap, and the object type it represents (see object types).
|
|
72
|
+
|
|
73
|
+
```ts
|
|
74
|
+
import { editable } from '@theatre/r3f';
|
|
75
|
+
import { PerspectiveCamera } from '@react-three/drei';
|
|
76
|
+
|
|
77
|
+
const EditableCamera = editable(PerspectiveCamera, 'perspectiveCamera');
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
#### Props
|
|
81
|
+
|
|
82
|
+
`theatreKey: string`: a unique name used to identify the object in the editor.
|
|
83
|
+
|
|
84
|
+
### `<SheetProvider sheet={...} />`
|
|
85
|
+
|
|
86
|
+
Provider component you need to wrap any scene with that you use editable components in.
|
|
87
|
+
|
|
88
|
+
#### Props
|
|
89
|
+
|
|
90
|
+
`sheet: TheatreSheetObject`: A function that returns the Theatre.js sheet associated with the scene.
|
|
91
|
+
|
|
92
|
+
## Object types
|
|
93
|
+
|
|
94
|
+
React Three Editable currently supports the following object types:
|
|
95
|
+
|
|
96
|
+
- group
|
|
97
|
+
- mesh
|
|
98
|
+
- spotLight
|
|
99
|
+
- directionalLight
|
|
100
|
+
- pointLight
|
|
101
|
+
- perspectiveCamera
|
|
102
|
+
- orthographicCamera
|
|
103
|
+
|
|
104
|
+
These are available as properties of `editable`, and you need to pass them as the second parameter when wrapping custom components.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Object3D } from 'three';
|
|
3
|
+
import { Vector3 } from 'three';
|
|
4
|
+
import type { MutableRefObject } from 'react';
|
|
5
|
+
export type OrthographicCameraProps = Omit<JSX.IntrinsicElements['orthographicCamera'], 'lookAt'> & {
|
|
6
|
+
lookAt?: [number, number, number] | Vector3 | MutableRefObject<Object3D | null | undefined>;
|
|
7
|
+
makeDefault?: boolean;
|
|
8
|
+
manual?: boolean;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export declare const OrthographicCamera: React.ForwardRefExoticComponent<Omit<Omit<Omit<OrthographicCameraProps, "ref"> & React.RefAttributes<unknown>, "visible"> & {
|
|
12
|
+
theatreKey: string;
|
|
13
|
+
visible?: boolean | "editor" | undefined;
|
|
14
|
+
additionalProps?: any;
|
|
15
|
+
objRef?: any;
|
|
16
|
+
} & React.RefAttributes<import("@react-three/fiber").OrthographicCameraProps>, "ref"> & React.RefAttributes<unknown>>;
|
|
17
|
+
//# sourceMappingURL=OrthographicCamera.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrthographicCamera.d.ts","sourceRoot":"","sources":["../../src/drei/OrthographicCamera.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAEV,QAAQ,EACT,MAAM,OAAO,CAAA;AAId,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAA;AAC7B,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,OAAO,CAAA;AAG3C,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,GAAG,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,EAC3C,QAAQ,CACT,GAAG;IACF,MAAM,CAAC,EACH,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GACxB,OAAO,GACP,gBAAgB,CAAC,QAAQ,GAAG,IAAI,GAAG,SAAS,CAAC,CAAA;IACjD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;qHA6D9B,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Object3D } from 'three';
|
|
3
|
+
import { Vector3 } from 'three';
|
|
4
|
+
import type { MutableRefObject } from 'react';
|
|
5
|
+
export type PerspectiveCameraProps = Omit<JSX.IntrinsicElements['perspectiveCamera'], 'lookAt'> & {
|
|
6
|
+
lookAt?: [number, number, number] | Vector3 | MutableRefObject<Object3D | null | undefined>;
|
|
7
|
+
makeDefault?: boolean;
|
|
8
|
+
manual?: boolean;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export declare const PerspectiveCamera: React.ForwardRefExoticComponent<Omit<Omit<Omit<PerspectiveCameraProps, "ref"> & React.RefAttributes<unknown>, "visible"> & {
|
|
12
|
+
theatreKey: string;
|
|
13
|
+
visible?: boolean | "editor" | undefined;
|
|
14
|
+
additionalProps?: any;
|
|
15
|
+
objRef?: any;
|
|
16
|
+
} & React.RefAttributes<import("@react-three/fiber").PerspectiveCameraProps>, "ref"> & React.RefAttributes<unknown>>;
|
|
17
|
+
//# sourceMappingURL=PerspectiveCamera.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PerspectiveCamera.d.ts","sourceRoot":"","sources":["../../src/drei/PerspectiveCamera.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAA6C,QAAQ,EAAC,MAAM,OAAO,CAAA;AAI/E,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAA;AAE7B,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,OAAO,CAAA;AAE3C,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,GAAG,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,EAC1C,QAAQ,CACT,GAAG;IACF,MAAM,CAAC,EACH,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GACxB,OAAO,GACP,gBAAgB,CAAC,QAAQ,GAAG,IAAI,GAAG,SAAS,CAAC,CAAA;IACjD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,iBAAiB;;;;;oHAoD7B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/drei/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Color, Mesh } from 'three';
|
|
2
|
+
export declare class InfiniteGridHelper extends Mesh {
|
|
3
|
+
constructor({ divisions, scale, color, distance, subgridOpacity, gridOpacity, }?: {
|
|
4
|
+
divisions?: number | undefined;
|
|
5
|
+
scale?: number | undefined;
|
|
6
|
+
color?: Color | undefined;
|
|
7
|
+
distance?: number | undefined;
|
|
8
|
+
subgridOpacity?: number | undefined;
|
|
9
|
+
gridOpacity?: number | undefined;
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/extension/InfiniteGridHelper/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EAGL,IAAI,EAGL,MAAM,OAAO,CAAA;AAEd,qBAAa,kBAAmB,SAAQ,IAAI;gBAC9B,EACV,SAAc,EACd,KAAW,EACX,KAA0B,EAC1B,QAAe,EACf,cAAqB,EACrB,WAAkB,GACnB;;;;;;;KAAK;CA0HP"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { FC, ReactNode } from 'react';
|
|
2
|
+
interface DragDetectorProviderProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare const DragDetectorProvider: FC<DragDetectorProviderProps>;
|
|
6
|
+
export declare const useDragDetector: () => boolean;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=DragDetector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DragDetector.d.ts","sourceRoot":"","sources":["../../../src/extension/components/DragDetector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,EAAE,EAAE,SAAS,EAAC,MAAM,OAAO,CAAA;AAWxC,UAAU,yBAAyB;IACjC,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAwB9D,CAAA;AAED,eAAO,MAAM,eAAe,eAAwC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Object3D } from 'three';
|
|
2
|
+
import type { VFC } from 'react';
|
|
3
|
+
export interface EditableProxyProps {
|
|
4
|
+
storeKey: string;
|
|
5
|
+
object: Object3D;
|
|
6
|
+
}
|
|
7
|
+
declare const EditableProxy: VFC<EditableProxyProps>;
|
|
8
|
+
export default EditableProxy;
|
|
9
|
+
//# sourceMappingURL=EditableProxy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditableProxy.d.ts","sourceRoot":"","sources":["../../../src/extension/components/EditableProxy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAA;AACnC,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,OAAO,CAAA;AAe9B,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,QAAQ,CAAA;CACjB;AAED,QAAA,MAAM,aAAa,EAAE,GAAG,CAAC,kBAAkB,CA2K1C,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { EventDispatcher, MOUSE, OrthographicCamera, PerspectiveCamera, TOUCH, Vector3 } from 'three';
|
|
2
|
+
declare class OrbitControls extends EventDispatcher {
|
|
3
|
+
object: PerspectiveCamera | OrthographicCamera;
|
|
4
|
+
domElement: HTMLElement | undefined;
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
target: Vector3;
|
|
7
|
+
minDistance: number;
|
|
8
|
+
maxDistance: number;
|
|
9
|
+
minZoom: number;
|
|
10
|
+
maxZoom: number;
|
|
11
|
+
minPolarAngle: number;
|
|
12
|
+
maxPolarAngle: number;
|
|
13
|
+
minAzimuthAngle: number;
|
|
14
|
+
maxAzimuthAngle: number;
|
|
15
|
+
enableDamping: boolean;
|
|
16
|
+
dampingFactor: number;
|
|
17
|
+
enableZoom: boolean;
|
|
18
|
+
zoomSpeed: number;
|
|
19
|
+
enableRotate: boolean;
|
|
20
|
+
rotateSpeed: number;
|
|
21
|
+
enablePan: boolean;
|
|
22
|
+
panSpeed: number;
|
|
23
|
+
screenSpacePanning: boolean;
|
|
24
|
+
keyPanSpeed: number;
|
|
25
|
+
autoRotate: boolean;
|
|
26
|
+
autoRotateSpeed: number;
|
|
27
|
+
reverseOrbit: boolean;
|
|
28
|
+
keys: {
|
|
29
|
+
LEFT: string;
|
|
30
|
+
UP: string;
|
|
31
|
+
RIGHT: string;
|
|
32
|
+
BOTTOM: string;
|
|
33
|
+
};
|
|
34
|
+
mouseButtons: Partial<{
|
|
35
|
+
LEFT: MOUSE;
|
|
36
|
+
MIDDLE: MOUSE;
|
|
37
|
+
RIGHT: MOUSE;
|
|
38
|
+
}>;
|
|
39
|
+
touches: Partial<{
|
|
40
|
+
ONE: TOUCH;
|
|
41
|
+
TWO: TOUCH;
|
|
42
|
+
}>;
|
|
43
|
+
target0: Vector3;
|
|
44
|
+
position0: Vector3;
|
|
45
|
+
zoom0: number;
|
|
46
|
+
_domElementKeyEvents: any;
|
|
47
|
+
getPolarAngle: () => number;
|
|
48
|
+
getAzimuthalAngle: () => number;
|
|
49
|
+
setPolarAngle: (x: number) => void;
|
|
50
|
+
setAzimuthalAngle: (x: number) => void;
|
|
51
|
+
getDistance: () => number;
|
|
52
|
+
listenToKeyEvents: (domElement: HTMLElement) => void;
|
|
53
|
+
stopListenToKeyEvents: () => void;
|
|
54
|
+
saveState: () => void;
|
|
55
|
+
reset: () => void;
|
|
56
|
+
update: () => void;
|
|
57
|
+
connect: (domElement: HTMLElement) => void;
|
|
58
|
+
dispose: () => void;
|
|
59
|
+
constructor(object: PerspectiveCamera | OrthographicCamera, domElement?: HTMLElement);
|
|
60
|
+
}
|
|
61
|
+
declare class MapControls extends OrbitControls {
|
|
62
|
+
constructor(object: PerspectiveCamera | OrthographicCamera, domElement?: HTMLElement);
|
|
63
|
+
}
|
|
64
|
+
export { OrbitControls as OrbitControlsImpl, MapControls };
|
|
65
|
+
//# sourceMappingURL=OrbitControlsImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrbitControlsImpl.d.ts","sourceRoot":"","sources":["../../../../src/extension/components/OrbitControls/OrbitControlsImpl.ts"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EACf,KAAK,EACL,kBAAkB,EAClB,iBAAiB,EAGjB,KAAK,EAEL,OAAO,EACR,MAAM,OAAO,CAAA;AAed,cAAM,aAAc,SAAQ,eAAe;IACzC,MAAM,EAAE,iBAAiB,GAAG,kBAAkB,CAAA;IAC9C,UAAU,EAAE,WAAW,GAAG,SAAS,CAAA;IAEnC,OAAO,UAAO;IAEd,MAAM,UAAgB;IAEtB,WAAW,SAAI;IACf,WAAW,SAAW;IAEtB,OAAO,SAAI;IACX,OAAO,SAAW;IAGlB,aAAa,SAAI;IACjB,aAAa,SAAU;IAGvB,eAAe,SAAY;IAC3B,eAAe,SAAW;IAG1B,aAAa,UAAQ;IACrB,aAAa,SAAO;IAGpB,UAAU,UAAO;IACjB,SAAS,SAAM;IAEf,YAAY,UAAO;IACnB,WAAW,SAAM;IAEjB,SAAS,UAAO;IAChB,QAAQ,SAAM;IACd,kBAAkB,UAAO;IACzB,WAAW,SAAM;IAGjB,UAAU,UAAQ;IAClB,eAAe,SAAM;IACrB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
|
1
|
+
import type { ReactThreeFiber } from '@react-three/fiber';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import type { Camera, Event } from 'three';
|
|
4
|
+
import { OrbitControlsImpl } from './OrbitControlsImpl';
|
|
5
|
+
export type OrbitControlsChangeEvent = Event & {
|
|
6
|
+
target: EventTarget & {
|
|
7
|
+
object: Camera;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type OrbitControlsProps = Omit<ReactThreeFiber.Overwrite<ReactThreeFiber.Object3DNode<OrbitControlsImpl, typeof OrbitControlsImpl>, {
|
|
11
|
+
camera?: Camera;
|
|
12
|
+
domElement?: HTMLElement;
|
|
13
|
+
enableDamping?: boolean;
|
|
14
|
+
makeDefault?: boolean;
|
|
15
|
+
onChange?: (e?: OrbitControlsChangeEvent) => void;
|
|
16
|
+
onEnd?: (e?: Event) => void;
|
|
17
|
+
onStart?: (e?: Event) => void;
|
|
18
|
+
regress?: boolean;
|
|
19
|
+
target?: ReactThreeFiber.Vector3;
|
|
20
|
+
keyEvents?: boolean | HTMLElement;
|
|
21
|
+
}>, 'ref'>;
|
|
22
|
+
export declare const OrbitControls: React.ForwardRefExoticComponent<OrbitControlsProps & React.RefAttributes<OrbitControlsImpl>>;
|
|
23
|
+
export { OrbitControlsImpl };
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/extension/components/OrbitControls/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,eAAe,EAAC,MAAM,oBAAoB,CAAA;AAErE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAC,MAAM,EAAE,KAAK,EAAC,MAAM,OAAO,CAAA;AACxC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,GAAG;IAC7C,MAAM,EAAE,WAAW,GAAG;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,CAAA;CACvC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,eAAe,CAAC,SAAS,CACvB,eAAe,CAAC,YAAY,CAAC,iBAAiB,EAAE,OAAO,iBAAiB,CAAC,EACzE;IACE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,WAAW,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,wBAAwB,KAAK,IAAI,CAAA;IACjD,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAA;IAC3B,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAA;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,eAAe,CAAC,OAAO,CAAA;IAChC,SAAS,CAAC,EAAE,OAAO,GAAG,WAAW,CAAA;CAClC,CACF,EACD,KAAK,CACN,CAAA;AAED,eAAO,MAAM,aAAa,8FAgGzB,CAAA;AACD,OAAO,EAAC,iBAAiB,EAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { OrbitControls } from 'three-stdlib';
|
|
4
|
+
export interface ProxyManagerProps {
|
|
5
|
+
orbitControlsRef: React.MutableRefObject<OrbitControls | null>;
|
|
6
|
+
}
|
|
7
|
+
declare const ProxyManager: FC<ProxyManagerProps>;
|
|
8
|
+
export default ProxyManager;
|
|
9
|
+
//# sourceMappingURL=ProxyManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProxyManager.d.ts","sourceRoot":"","sources":["../../../src/extension/components/ProxyManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,EAAE,EAAC,MAAM,OAAO,CAAA;AAC7B,OAAO,KAAmD,MAAM,OAAO,CAAA;AAIvE,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,cAAc,CAAA;AAY/C,MAAM,WAAW,iBAAiB;IAChC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC,aAAa,GAAG,IAAI,CAAC,CAAA;CAC/D;AAQD,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAqOvC,CAAA;AAMD,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { VFC } from 'react';
|
|
2
|
+
interface ReferenceWindowProps {
|
|
3
|
+
maxHeight: number;
|
|
4
|
+
maxWidth: number;
|
|
5
|
+
minimized: boolean;
|
|
6
|
+
onToggleMinified: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const ReferenceWindow: VFC<ReferenceWindowProps>;
|
|
9
|
+
export default ReferenceWindow;
|
|
10
|
+
//# sourceMappingURL=ReferenceWindow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReferenceWindow.d.ts","sourceRoot":"","sources":["../../../../src/extension/components/ReferenceWindow/ReferenceWindow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,OAAO,CAAA;AAwE9B,UAAU,oBAAoB;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,gBAAgB,EAAE,MAAM,IAAI,CAAA;CAC7B;AAED,QAAA,MAAM,eAAe,EAAE,GAAG,CAAC,oBAAoB,CAqF9C,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const imageDataUrl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQBAMAAABykSv/AAAAFVBMVEUD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RNlppI636wt2TmzupiTTQZmupiWM5nDDJPf/RvwM+mP/Oz6br7TdjKARmUAVlpFs57Rcf2zTTvectWiyqXu9KG92ZNUAle6ubEB5Xg7vycaYkDZebo/Ny41nnWQ8SByrrOQ+VUVRZCp5uK9GpBoQ3kH+zxdGSQX9sJOFWJhlOVE3Ihx6miPYcm59ZsKoCkPd6VIjOwM9s/+csBUIn5I5uJG2hOSEYl+tSqMT61PIPBL3IvCUgjpC6Q0snfEHThmOX358nK77LcCNreK1FQcb3XTN17TY822mMCMWPD/A5J7QWk++7ZMC/a8RXoUSooKXsQ2MLEOC57jOPynXFccYzj+KMy9tarjFGKltI3qKIFrRkMm/EgTMhBKBFc9SXv/2COza5OSWejvUxl14yc9zUj5YAcqfiACl0coEIhQuDpHSp0hTESoK1z49bdZIo8mkyPmIVlHKoQCsBSVsdFRB1nhrRsXC/52grejoeHBGAYWXzaKnIpdLKl1CVbuq2i03DzUp7jU1wEeSNbqjnZErmoWoS/P5qLqiD8fbMS5O3eNiQm/sr0If0LDemrrULI5bt67f9GKfZ0dQNLV3b6VyXcm4P0zW3B9IeGzblj8blQLn2/2/TATJvavd93u9J/t2l6hR1kglZ+7RoN+8TDM+WMnWO7FhbIvRlRGH7TqOvuEbOP4/eHCQv0tYoa193hT0Sj9rt21P4buFRXQB0a1NQAAAAASUVORK5CYII=";
|
|
2
|
+
export default imageDataUrl;
|
|
3
|
+
//# sourceMappingURL=noiseImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"noiseImage.d.ts","sourceRoot":"","sources":["../../../../src/extension/components/ReferenceWindow/noiseImage.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY,+gdAC4/c,CAAA;AAE9gd,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnapshotEditor.d.ts","sourceRoot":"","sources":["../../../src/extension/components/SnapshotEditor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAwIzB,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAC,CAqG9C,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Object3D, Event } from 'three';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { ReactThreeFiber, Overwrite } from '@react-three/fiber';
|
|
4
|
+
import { TransformControls as TransformControlsImpl } from 'three-stdlib';
|
|
5
|
+
import type { OrbitControls } from 'three-stdlib';
|
|
6
|
+
type R3fTransformControls = Overwrite<ReactThreeFiber.Object3DNode<TransformControlsImpl, typeof TransformControlsImpl>, {
|
|
7
|
+
target?: ReactThreeFiber.Vector3;
|
|
8
|
+
}>;
|
|
9
|
+
export interface TransformControlsProps extends R3fTransformControls {
|
|
10
|
+
object: Object3D;
|
|
11
|
+
orbitControlsRef?: React.MutableRefObject<OrbitControls | null>;
|
|
12
|
+
onObjectChange?: (event: Event) => void;
|
|
13
|
+
onDraggingChange?: (event: Event) => void;
|
|
14
|
+
mode: TransformControlsImpl['mode'];
|
|
15
|
+
space: TransformControlsImpl['space'];
|
|
16
|
+
}
|
|
17
|
+
declare const TransformControls: React.ForwardRefExoticComponent<Omit<TransformControlsProps, "ref"> & React.RefAttributes<unknown>>;
|
|
18
|
+
export default TransformControls;
|
|
19
|
+
//# sourceMappingURL=TransformControls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransformControls.d.ts","sourceRoot":"","sources":["../../../src/extension/components/TransformControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAE,KAAK,EAAC,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAwD,MAAM,OAAO,CAAA;AAC5E,OAAO,KAAK,EAAC,eAAe,EAAE,SAAS,EAAC,MAAM,oBAAoB,CAAA;AAElE,OAAO,EAAC,iBAAiB,IAAI,qBAAqB,EAAC,MAAM,cAAc,CAAA;AACvE,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,cAAc,CAAA;AAE/C,KAAK,oBAAoB,GAAG,SAAS,CACnC,eAAe,CAAC,YAAY,CAC1B,qBAAqB,EACrB,OAAO,qBAAqB,CAC7B,EACD;IAAC,MAAM,CAAC,EAAE,eAAe,CAAC,OAAO,CAAA;CAAC,CACnC,CAAA;AAED,MAAM,WAAW,sBAAuB,SAAQ,oBAAoB;IAClE,MAAM,EAAE,QAAQ,CAAA;IAChB,gBAAgB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,aAAa,GAAG,IAAI,CAAC,CAAA;IAC/D,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;IACvC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;IAGzC,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAA;IACnC,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAA;CACtC;AAED,QAAA,MAAM,iBAAiB,qGAwEtB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { MutableRefObject } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Combines useRef() and useState().
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* Usage:
|
|
7
|
+
* ```ts
|
|
8
|
+
* const [ref, val] = useRefAndState<HTMLDivElement | null>(null)
|
|
9
|
+
*
|
|
10
|
+
* useEffect(() => {
|
|
11
|
+
* val.addEventListener(...)
|
|
12
|
+
* }, [val])
|
|
13
|
+
*
|
|
14
|
+
* return <div ref={ref}></div>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export default function useRefAndState<T>(initialValue: T): [ref: MutableRefObject<T>, state: T];
|
|
18
|
+
//# sourceMappingURL=useRefAndState.d.ts.map
|