@react-three/fiber 8.17.5 → 8.17.6
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/CHANGELOG.md +1040 -1034
- package/dist/declarations/src/core/events.d.ts +93 -93
- package/dist/declarations/src/core/hooks.d.ts +57 -57
- package/dist/declarations/src/core/index.d.ts +94 -94
- package/dist/declarations/src/core/loop.d.ts +38 -38
- package/dist/declarations/src/core/renderer.d.ts +58 -58
- package/dist/declarations/src/core/store.d.ts +138 -138
- package/dist/declarations/src/core/utils.d.ts +134 -134
- package/dist/declarations/src/index.d.ts +12 -12
- package/dist/declarations/src/native/Canvas.d.ts +14 -14
- package/dist/declarations/src/native/events.d.ts +5 -5
- package/dist/declarations/src/native/polyfills.d.ts +1 -1
- package/dist/declarations/src/native.d.ts +13 -13
- package/dist/declarations/src/three-types.d.ts +396 -393
- package/dist/declarations/src/web/Canvas.d.ts +24 -24
- package/dist/declarations/src/web/events.d.ts +5 -5
- package/dist/declarations/src/web/use-measure.d.ts +34 -34
- package/dist/{events-be1682bd.cjs.prod.js → events-2e7e6eab.cjs.prod.js} +76 -76
- package/dist/{events-a5fc3e51.esm.js → events-3515660a.esm.js} +76 -76
- package/dist/{events-66f43fbc.cjs.dev.js → events-c54ce65e.cjs.dev.js} +76 -76
- package/dist/react-three-fiber.cjs.dev.js +4 -4
- package/dist/react-three-fiber.cjs.prod.js +4 -4
- package/dist/react-three-fiber.esm.js +5 -5
- package/native/dist/react-three-fiber-native.cjs.dev.js +13 -18
- package/native/dist/react-three-fiber-native.cjs.prod.js +13 -18
- package/native/dist/react-three-fiber-native.esm.js +14 -19
- package/native/package.json +5 -5
- package/package.json +1 -1
- package/readme.md +253 -253
|
@@ -1,393 +1,396 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import { EventHandlers } from './core/events';
|
|
3
|
-
import { AttachType } from './core/renderer';
|
|
4
|
-
export declare type Properties<T> = Pick<T, {
|
|
5
|
-
[K in keyof T]: T[K] extends (_: any) => any ? never : K;
|
|
6
|
-
}[keyof T]>;
|
|
7
|
-
export declare type NonFunctionKeys<T> = {
|
|
8
|
-
[K in keyof T]-?: T[K] extends Function ? never : K;
|
|
9
|
-
}[keyof T];
|
|
10
|
-
export declare type Overwrite<T, O> = Omit<T, NonFunctionKeys<O>> & O;
|
|
11
|
-
/**
|
|
12
|
-
* If **T** contains a constructor, @see ConstructorParameters must be used, otherwise **T**.
|
|
13
|
-
*/
|
|
14
|
-
declare type Args<T> = T extends new (...args: any) => any ? ConstructorParameters<T> : T;
|
|
15
|
-
export declare type Euler = THREE.Euler | Parameters<THREE.Euler['set']>;
|
|
16
|
-
export declare type Matrix4 = THREE.Matrix4 | Parameters<THREE.Matrix4['set']> | Readonly<THREE.Matrix4['set']>;
|
|
17
|
-
/**
|
|
18
|
-
* Turn an implementation of THREE.Vector in to the type that an r3f component would accept as a prop.
|
|
19
|
-
*/
|
|
20
|
-
declare type VectorLike<VectorClass extends THREE.Vector2 | THREE.Vector3 | THREE.Vector4> = VectorClass | Parameters<VectorClass['set']> | Readonly<Parameters<VectorClass['set']>> | Parameters<VectorClass['setScalar']>[0];
|
|
21
|
-
export declare type Vector2 = VectorLike<THREE.Vector2>;
|
|
22
|
-
export declare type Vector3 = VectorLike<THREE.Vector3>;
|
|
23
|
-
export declare type Vector4 = VectorLike<THREE.Vector4>;
|
|
24
|
-
export declare type Color = ConstructorParameters<typeof THREE.Color> | THREE.Color | number | string;
|
|
25
|
-
export declare type ColorArray = typeof THREE.Color | [color: THREE.ColorRepresentation];
|
|
26
|
-
export declare type Layers = THREE.Layers | Parameters<THREE.Layers['set']>[0];
|
|
27
|
-
export declare type Quaternion = THREE.Quaternion | Parameters<THREE.Quaternion['set']>;
|
|
28
|
-
export declare type AttachCallback = string | ((child: any, parentInstance: any) => void);
|
|
29
|
-
export interface NodeProps<T, P> {
|
|
30
|
-
attach?: AttachType;
|
|
31
|
-
/** Constructor arguments */
|
|
32
|
-
args?: Args<P>;
|
|
33
|
-
children?: React.ReactNode;
|
|
34
|
-
ref?: React.Ref<T>;
|
|
35
|
-
key?: React.Key;
|
|
36
|
-
onUpdate?: (self: T) => void;
|
|
37
|
-
}
|
|
38
|
-
export declare type ExtendedColors<T> = {
|
|
39
|
-
[K in keyof T]: T[K] extends THREE.Color | undefined ? Color : T[K];
|
|
40
|
-
};
|
|
41
|
-
export declare type Node<T, P> = ExtendedColors<Overwrite<Partial<T>, NodeProps<T, P>>>;
|
|
42
|
-
export declare type Object3DNode<T, P> = Overwrite<Node<T, P>, {
|
|
43
|
-
position?: Vector3;
|
|
44
|
-
up?: Vector3;
|
|
45
|
-
scale?: Vector3;
|
|
46
|
-
rotation?: Euler;
|
|
47
|
-
matrix?: Matrix4;
|
|
48
|
-
quaternion?: Quaternion;
|
|
49
|
-
layers?: Layers;
|
|
50
|
-
dispose?: (() => void) | null;
|
|
51
|
-
}> & EventHandlers;
|
|
52
|
-
export declare type BufferGeometryNode<T extends THREE.BufferGeometry, P> = Node<T, P>;
|
|
53
|
-
export declare type MaterialNode<T extends THREE.Material, P> = Node<T, P>;
|
|
54
|
-
export declare type LightNode<T extends THREE.Light, P> = Object3DNode<T, P>;
|
|
55
|
-
export declare type Object3DProps = Object3DNode<THREE.Object3D, typeof THREE.Object3D>;
|
|
56
|
-
export declare type AudioListenerProps = Object3DNode<THREE.AudioListener, typeof THREE.AudioListener>;
|
|
57
|
-
export declare type PositionalAudioProps = Object3DNode<THREE.PositionalAudio, typeof THREE.PositionalAudio>;
|
|
58
|
-
export declare type MeshProps = Object3DNode<THREE.Mesh, typeof THREE.Mesh>;
|
|
59
|
-
export declare type InstancedMeshProps = Object3DNode<THREE.InstancedMesh, typeof THREE.InstancedMesh>;
|
|
60
|
-
|
|
61
|
-
export declare type
|
|
62
|
-
export declare type
|
|
63
|
-
export declare type
|
|
64
|
-
export declare type
|
|
65
|
-
export declare type
|
|
66
|
-
export declare type
|
|
67
|
-
export declare type
|
|
68
|
-
export declare type
|
|
69
|
-
export declare type
|
|
70
|
-
export declare type
|
|
71
|
-
export declare type
|
|
72
|
-
export declare type
|
|
73
|
-
export declare type
|
|
74
|
-
export declare type
|
|
75
|
-
export declare type
|
|
76
|
-
export declare type
|
|
77
|
-
|
|
78
|
-
export declare type
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
/** @ts-ignore */
|
|
83
|
-
|
|
84
|
-
/** @ts-ignore */
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
/** @ts-ignore */
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
/** @ts-ignore */
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
/** @ts-ignore */
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
/** @ts-ignore */
|
|
105
|
-
|
|
106
|
-
/** @ts-ignore */
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
/** @ts-ignore */
|
|
112
|
-
|
|
113
|
-
/** @ts-ignore */
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
/** @ts-ignore */
|
|
119
|
-
|
|
120
|
-
/** @ts-ignore */
|
|
121
|
-
|
|
122
|
-
/** @ts-ignore */
|
|
123
|
-
export declare type
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
/** @ts-ignore */
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
/** @ts-ignore */
|
|
133
|
-
|
|
134
|
-
/** @ts-ignore */
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
/** @ts-ignore */
|
|
140
|
-
|
|
141
|
-
/** @ts-ignore */
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
export declare type
|
|
145
|
-
export declare type
|
|
146
|
-
export declare type
|
|
147
|
-
export declare type
|
|
148
|
-
export declare type
|
|
149
|
-
export declare type
|
|
150
|
-
export declare type
|
|
151
|
-
export declare type
|
|
152
|
-
export declare type
|
|
153
|
-
export declare type
|
|
154
|
-
export declare type
|
|
155
|
-
export declare type
|
|
156
|
-
export declare type
|
|
157
|
-
export declare type
|
|
158
|
-
export declare type
|
|
159
|
-
export declare type
|
|
160
|
-
export declare type
|
|
161
|
-
export declare type
|
|
162
|
-
export declare type
|
|
163
|
-
export declare type
|
|
164
|
-
export declare type
|
|
165
|
-
export declare type
|
|
166
|
-
export declare type
|
|
167
|
-
export declare type
|
|
168
|
-
export declare type
|
|
169
|
-
export declare type
|
|
170
|
-
export declare type
|
|
171
|
-
export declare type
|
|
172
|
-
export declare type
|
|
173
|
-
export declare type
|
|
174
|
-
export declare type
|
|
175
|
-
export declare type
|
|
176
|
-
export declare type
|
|
177
|
-
export declare type
|
|
178
|
-
export declare type
|
|
179
|
-
export declare type
|
|
180
|
-
export declare type
|
|
181
|
-
export declare type
|
|
182
|
-
export declare type
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
export declare type
|
|
190
|
-
export declare type
|
|
191
|
-
export declare type
|
|
192
|
-
export declare type
|
|
193
|
-
export declare type
|
|
194
|
-
export declare type
|
|
195
|
-
export declare type
|
|
196
|
-
export declare type
|
|
197
|
-
|
|
198
|
-
export declare type
|
|
199
|
-
/** @ts-ignore */
|
|
200
|
-
export declare type
|
|
201
|
-
|
|
202
|
-
export declare type
|
|
203
|
-
export declare type
|
|
204
|
-
export declare type
|
|
205
|
-
export declare type
|
|
206
|
-
export declare type
|
|
207
|
-
export declare type
|
|
208
|
-
export declare type
|
|
209
|
-
export declare type
|
|
210
|
-
export declare type
|
|
211
|
-
export declare type
|
|
212
|
-
export declare type
|
|
213
|
-
export declare type
|
|
214
|
-
export declare type
|
|
215
|
-
export declare type
|
|
216
|
-
export declare type
|
|
217
|
-
export declare type
|
|
218
|
-
|
|
219
|
-
export declare type
|
|
220
|
-
|
|
221
|
-
export declare type
|
|
222
|
-
export declare type
|
|
223
|
-
export declare type
|
|
224
|
-
export declare type
|
|
225
|
-
export declare type
|
|
226
|
-
export declare type
|
|
227
|
-
export declare type
|
|
228
|
-
export declare type
|
|
229
|
-
export declare type
|
|
230
|
-
export declare type
|
|
231
|
-
export declare type
|
|
232
|
-
export declare type
|
|
233
|
-
export declare type
|
|
234
|
-
export declare type
|
|
235
|
-
|
|
236
|
-
export declare type
|
|
237
|
-
|
|
238
|
-
export declare type
|
|
239
|
-
export declare type
|
|
240
|
-
export declare type
|
|
241
|
-
export declare type
|
|
242
|
-
export declare type
|
|
243
|
-
export declare type
|
|
244
|
-
export declare type
|
|
245
|
-
export declare type
|
|
246
|
-
export declare type
|
|
247
|
-
export declare type
|
|
248
|
-
export
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import { EventHandlers } from './core/events';
|
|
3
|
+
import { AttachType } from './core/renderer';
|
|
4
|
+
export declare type Properties<T> = Pick<T, {
|
|
5
|
+
[K in keyof T]: T[K] extends (_: any) => any ? never : K;
|
|
6
|
+
}[keyof T]>;
|
|
7
|
+
export declare type NonFunctionKeys<T> = {
|
|
8
|
+
[K in keyof T]-?: T[K] extends Function ? never : K;
|
|
9
|
+
}[keyof T];
|
|
10
|
+
export declare type Overwrite<T, O> = Omit<T, NonFunctionKeys<O>> & O;
|
|
11
|
+
/**
|
|
12
|
+
* If **T** contains a constructor, @see ConstructorParameters must be used, otherwise **T**.
|
|
13
|
+
*/
|
|
14
|
+
declare type Args<T> = T extends new (...args: any) => any ? ConstructorParameters<T> : T;
|
|
15
|
+
export declare type Euler = THREE.Euler | Parameters<THREE.Euler['set']>;
|
|
16
|
+
export declare type Matrix4 = THREE.Matrix4 | Parameters<THREE.Matrix4['set']> | Readonly<THREE.Matrix4['set']>;
|
|
17
|
+
/**
|
|
18
|
+
* Turn an implementation of THREE.Vector in to the type that an r3f component would accept as a prop.
|
|
19
|
+
*/
|
|
20
|
+
declare type VectorLike<VectorClass extends THREE.Vector2 | THREE.Vector3 | THREE.Vector4> = VectorClass | Parameters<VectorClass['set']> | Readonly<Parameters<VectorClass['set']>> | Parameters<VectorClass['setScalar']>[0];
|
|
21
|
+
export declare type Vector2 = VectorLike<THREE.Vector2>;
|
|
22
|
+
export declare type Vector3 = VectorLike<THREE.Vector3>;
|
|
23
|
+
export declare type Vector4 = VectorLike<THREE.Vector4>;
|
|
24
|
+
export declare type Color = ConstructorParameters<typeof THREE.Color> | THREE.Color | number | string;
|
|
25
|
+
export declare type ColorArray = typeof THREE.Color | [color: THREE.ColorRepresentation];
|
|
26
|
+
export declare type Layers = THREE.Layers | Parameters<THREE.Layers['set']>[0];
|
|
27
|
+
export declare type Quaternion = THREE.Quaternion | Parameters<THREE.Quaternion['set']>;
|
|
28
|
+
export declare type AttachCallback = string | ((child: any, parentInstance: any) => void);
|
|
29
|
+
export interface NodeProps<T, P> {
|
|
30
|
+
attach?: AttachType;
|
|
31
|
+
/** Constructor arguments */
|
|
32
|
+
args?: Args<P>;
|
|
33
|
+
children?: React.ReactNode;
|
|
34
|
+
ref?: React.Ref<T>;
|
|
35
|
+
key?: React.Key;
|
|
36
|
+
onUpdate?: (self: T) => void;
|
|
37
|
+
}
|
|
38
|
+
export declare type ExtendedColors<T> = {
|
|
39
|
+
[K in keyof T]: T[K] extends THREE.Color | undefined ? Color : T[K];
|
|
40
|
+
};
|
|
41
|
+
export declare type Node<T, P> = ExtendedColors<Overwrite<Partial<T>, NodeProps<T, P>>>;
|
|
42
|
+
export declare type Object3DNode<T, P> = Overwrite<Node<T, P>, {
|
|
43
|
+
position?: Vector3;
|
|
44
|
+
up?: Vector3;
|
|
45
|
+
scale?: Vector3;
|
|
46
|
+
rotation?: Euler;
|
|
47
|
+
matrix?: Matrix4;
|
|
48
|
+
quaternion?: Quaternion;
|
|
49
|
+
layers?: Layers;
|
|
50
|
+
dispose?: (() => void) | null;
|
|
51
|
+
}> & EventHandlers;
|
|
52
|
+
export declare type BufferGeometryNode<T extends THREE.BufferGeometry, P> = Node<T, P>;
|
|
53
|
+
export declare type MaterialNode<T extends THREE.Material, P> = Node<T, P>;
|
|
54
|
+
export declare type LightNode<T extends THREE.Light, P> = Object3DNode<T, P>;
|
|
55
|
+
export declare type Object3DProps = Object3DNode<THREE.Object3D, typeof THREE.Object3D>;
|
|
56
|
+
export declare type AudioListenerProps = Object3DNode<THREE.AudioListener, typeof THREE.AudioListener>;
|
|
57
|
+
export declare type PositionalAudioProps = Object3DNode<THREE.PositionalAudio, typeof THREE.PositionalAudio>;
|
|
58
|
+
export declare type MeshProps = Object3DNode<THREE.Mesh, typeof THREE.Mesh>;
|
|
59
|
+
export declare type InstancedMeshProps = Object3DNode<THREE.InstancedMesh, typeof THREE.InstancedMesh>;
|
|
60
|
+
/** @ts-ignore */
|
|
61
|
+
export declare type BatchedMeshProps = Object3DNode<THREE.BatchedMesh, typeof THREE.BatchedMesh>;
|
|
62
|
+
export declare type SceneProps = Object3DNode<THREE.Scene, typeof THREE.Scene>;
|
|
63
|
+
export declare type SpriteProps = Object3DNode<THREE.Sprite, typeof THREE.Sprite>;
|
|
64
|
+
export declare type LODProps = Object3DNode<THREE.LOD, typeof THREE.LOD>;
|
|
65
|
+
export declare type SkinnedMeshProps = Object3DNode<THREE.SkinnedMesh, typeof THREE.SkinnedMesh>;
|
|
66
|
+
export declare type SkeletonProps = Object3DNode<THREE.Skeleton, typeof THREE.Skeleton>;
|
|
67
|
+
export declare type BoneProps = Object3DNode<THREE.Bone, typeof THREE.Bone>;
|
|
68
|
+
export declare type LineSegmentsProps = Object3DNode<THREE.LineSegments, typeof THREE.LineSegments>;
|
|
69
|
+
export declare type LineLoopProps = Object3DNode<THREE.LineLoop, typeof THREE.LineLoop>;
|
|
70
|
+
export declare type PointsProps = Object3DNode<THREE.Points, typeof THREE.Points>;
|
|
71
|
+
export declare type GroupProps = Object3DNode<THREE.Group, typeof THREE.Group>;
|
|
72
|
+
export declare type CameraProps = Object3DNode<THREE.Camera, typeof THREE.Camera>;
|
|
73
|
+
export declare type PerspectiveCameraProps = Object3DNode<THREE.PerspectiveCamera, typeof THREE.PerspectiveCamera>;
|
|
74
|
+
export declare type OrthographicCameraProps = Object3DNode<THREE.OrthographicCamera, typeof THREE.OrthographicCamera>;
|
|
75
|
+
export declare type CubeCameraProps = Object3DNode<THREE.CubeCamera, typeof THREE.CubeCamera>;
|
|
76
|
+
export declare type ArrayCameraProps = Object3DNode<THREE.ArrayCamera, typeof THREE.ArrayCamera>;
|
|
77
|
+
export declare type InstancedBufferGeometryProps = BufferGeometryNode<THREE.InstancedBufferGeometry, typeof THREE.InstancedBufferGeometry>;
|
|
78
|
+
export declare type BufferGeometryProps = BufferGeometryNode<THREE.BufferGeometry, typeof THREE.BufferGeometry>;
|
|
79
|
+
/** @ts-ignore */
|
|
80
|
+
export declare type BoxBufferGeometryProps = BufferGeometryNode<THREE.BoxBufferGeometry, typeof THREE.BoxBufferGeometry>;
|
|
81
|
+
export declare type CircleBufferGeometryProps = BufferGeometryNode<
|
|
82
|
+
/** @ts-ignore */
|
|
83
|
+
THREE.CircleBufferGeometry,
|
|
84
|
+
/** @ts-ignore */
|
|
85
|
+
typeof THREE.CircleBufferGeometry>;
|
|
86
|
+
/** @ts-ignore */
|
|
87
|
+
export declare type ConeBufferGeometryProps = BufferGeometryNode<THREE.ConeBufferGeometry, typeof THREE.ConeBufferGeometry>;
|
|
88
|
+
export declare type CylinderBufferGeometryProps = BufferGeometryNode<
|
|
89
|
+
/** @ts-ignore */
|
|
90
|
+
THREE.CylinderBufferGeometry,
|
|
91
|
+
/** @ts-ignore */
|
|
92
|
+
typeof THREE.CylinderBufferGeometry>;
|
|
93
|
+
export declare type DodecahedronBufferGeometryProps = BufferGeometryNode<
|
|
94
|
+
/** @ts-ignore */
|
|
95
|
+
THREE.DodecahedronBufferGeometry,
|
|
96
|
+
/** @ts-ignore */
|
|
97
|
+
typeof THREE.DodecahedronBufferGeometry>;
|
|
98
|
+
export declare type ExtrudeBufferGeometryProps = BufferGeometryNode<
|
|
99
|
+
/** @ts-ignore */
|
|
100
|
+
THREE.ExtrudeBufferGeometry,
|
|
101
|
+
/** @ts-ignore */
|
|
102
|
+
typeof THREE.ExtrudeBufferGeometry>;
|
|
103
|
+
export declare type IcosahedronBufferGeometryProps = BufferGeometryNode<
|
|
104
|
+
/** @ts-ignore */
|
|
105
|
+
THREE.IcosahedronBufferGeometry,
|
|
106
|
+
/** @ts-ignore */
|
|
107
|
+
typeof THREE.IcosahedronBufferGeometry>;
|
|
108
|
+
/** @ts-ignore */
|
|
109
|
+
export declare type LatheBufferGeometryProps = BufferGeometryNode<THREE.LatheBufferGeometry, typeof THREE.LatheBufferGeometry>;
|
|
110
|
+
export declare type OctahedronBufferGeometryProps = BufferGeometryNode<
|
|
111
|
+
/** @ts-ignore */
|
|
112
|
+
THREE.OctahedronBufferGeometry,
|
|
113
|
+
/** @ts-ignore */
|
|
114
|
+
typeof THREE.OctahedronBufferGeometry>;
|
|
115
|
+
/** @ts-ignore */
|
|
116
|
+
export declare type PlaneBufferGeometryProps = BufferGeometryNode<THREE.PlaneBufferGeometry, typeof THREE.PlaneBufferGeometry>;
|
|
117
|
+
export declare type PolyhedronBufferGeometryProps = BufferGeometryNode<
|
|
118
|
+
/** @ts-ignore */
|
|
119
|
+
THREE.PolyhedronBufferGeometry,
|
|
120
|
+
/** @ts-ignore */
|
|
121
|
+
typeof THREE.PolyhedronBufferGeometry>;
|
|
122
|
+
/** @ts-ignore */
|
|
123
|
+
export declare type RingBufferGeometryProps = BufferGeometryNode<THREE.RingBufferGeometry, typeof THREE.RingBufferGeometry>;
|
|
124
|
+
/** @ts-ignore */
|
|
125
|
+
export declare type ShapeBufferGeometryProps = BufferGeometryNode<THREE.ShapeBufferGeometry, typeof THREE.ShapeBufferGeometry>;
|
|
126
|
+
export declare type SphereBufferGeometryProps = BufferGeometryNode<
|
|
127
|
+
/** @ts-ignore */
|
|
128
|
+
THREE.SphereBufferGeometry,
|
|
129
|
+
/** @ts-ignore */
|
|
130
|
+
typeof THREE.SphereBufferGeometry>;
|
|
131
|
+
export declare type TetrahedronBufferGeometryProps = BufferGeometryNode<
|
|
132
|
+
/** @ts-ignore */
|
|
133
|
+
THREE.TetrahedronBufferGeometry,
|
|
134
|
+
/** @ts-ignore */
|
|
135
|
+
typeof THREE.TetrahedronBufferGeometry>;
|
|
136
|
+
/** @ts-ignore */
|
|
137
|
+
export declare type TorusBufferGeometryProps = BufferGeometryNode<THREE.TorusBufferGeometry, typeof THREE.TorusBufferGeometry>;
|
|
138
|
+
export declare type TorusKnotBufferGeometryProps = BufferGeometryNode<
|
|
139
|
+
/** @ts-ignore */
|
|
140
|
+
THREE.TorusKnotBufferGeometry,
|
|
141
|
+
/** @ts-ignore */
|
|
142
|
+
typeof THREE.TorusKnotBufferGeometry>;
|
|
143
|
+
/** @ts-ignore */
|
|
144
|
+
export declare type TubeBufferGeometryProps = BufferGeometryNode<THREE.TubeBufferGeometry, typeof THREE.TubeBufferGeometry>;
|
|
145
|
+
export declare type WireframeGeometryProps = BufferGeometryNode<THREE.WireframeGeometry, typeof THREE.WireframeGeometry>;
|
|
146
|
+
export declare type TetrahedronGeometryProps = BufferGeometryNode<THREE.TetrahedronGeometry, typeof THREE.TetrahedronGeometry>;
|
|
147
|
+
export declare type OctahedronGeometryProps = BufferGeometryNode<THREE.OctahedronGeometry, typeof THREE.OctahedronGeometry>;
|
|
148
|
+
export declare type IcosahedronGeometryProps = BufferGeometryNode<THREE.IcosahedronGeometry, typeof THREE.IcosahedronGeometry>;
|
|
149
|
+
export declare type DodecahedronGeometryProps = BufferGeometryNode<THREE.DodecahedronGeometry, typeof THREE.DodecahedronGeometry>;
|
|
150
|
+
export declare type PolyhedronGeometryProps = BufferGeometryNode<THREE.PolyhedronGeometry, typeof THREE.PolyhedronGeometry>;
|
|
151
|
+
export declare type TubeGeometryProps = BufferGeometryNode<THREE.TubeGeometry, typeof THREE.TubeGeometry>;
|
|
152
|
+
export declare type TorusKnotGeometryProps = BufferGeometryNode<THREE.TorusKnotGeometry, typeof THREE.TorusKnotGeometry>;
|
|
153
|
+
export declare type TorusGeometryProps = BufferGeometryNode<THREE.TorusGeometry, typeof THREE.TorusGeometry>;
|
|
154
|
+
export declare type SphereGeometryProps = BufferGeometryNode<THREE.SphereGeometry, typeof THREE.SphereGeometry>;
|
|
155
|
+
export declare type RingGeometryProps = BufferGeometryNode<THREE.RingGeometry, typeof THREE.RingGeometry>;
|
|
156
|
+
export declare type PlaneGeometryProps = BufferGeometryNode<THREE.PlaneGeometry, typeof THREE.PlaneGeometry>;
|
|
157
|
+
export declare type LatheGeometryProps = BufferGeometryNode<THREE.LatheGeometry, typeof THREE.LatheGeometry>;
|
|
158
|
+
export declare type ShapeGeometryProps = BufferGeometryNode<THREE.ShapeGeometry, typeof THREE.ShapeGeometry>;
|
|
159
|
+
export declare type ExtrudeGeometryProps = BufferGeometryNode<THREE.ExtrudeGeometry, typeof THREE.ExtrudeGeometry>;
|
|
160
|
+
export declare type EdgesGeometryProps = BufferGeometryNode<THREE.EdgesGeometry, typeof THREE.EdgesGeometry>;
|
|
161
|
+
export declare type ConeGeometryProps = BufferGeometryNode<THREE.ConeGeometry, typeof THREE.ConeGeometry>;
|
|
162
|
+
export declare type CylinderGeometryProps = BufferGeometryNode<THREE.CylinderGeometry, typeof THREE.CylinderGeometry>;
|
|
163
|
+
export declare type CircleGeometryProps = BufferGeometryNode<THREE.CircleGeometry, typeof THREE.CircleGeometry>;
|
|
164
|
+
export declare type BoxGeometryProps = BufferGeometryNode<THREE.BoxGeometry, typeof THREE.BoxGeometry>;
|
|
165
|
+
export declare type CapsuleGeometryProps = BufferGeometryNode<THREE.CapsuleGeometry, typeof THREE.CapsuleGeometry>;
|
|
166
|
+
export declare type MaterialProps = MaterialNode<THREE.Material, [THREE.MaterialParameters]>;
|
|
167
|
+
export declare type ShadowMaterialProps = MaterialNode<THREE.ShadowMaterial, [THREE.ShaderMaterialParameters]>;
|
|
168
|
+
export declare type SpriteMaterialProps = MaterialNode<THREE.SpriteMaterial, [THREE.SpriteMaterialParameters]>;
|
|
169
|
+
export declare type RawShaderMaterialProps = MaterialNode<THREE.RawShaderMaterial, [THREE.ShaderMaterialParameters]>;
|
|
170
|
+
export declare type ShaderMaterialProps = MaterialNode<THREE.ShaderMaterial, [THREE.ShaderMaterialParameters]>;
|
|
171
|
+
export declare type PointsMaterialProps = MaterialNode<THREE.PointsMaterial, [THREE.PointsMaterialParameters]>;
|
|
172
|
+
export declare type MeshPhysicalMaterialProps = MaterialNode<THREE.MeshPhysicalMaterial, [THREE.MeshPhysicalMaterialParameters]>;
|
|
173
|
+
export declare type MeshStandardMaterialProps = MaterialNode<THREE.MeshStandardMaterial, [THREE.MeshStandardMaterialParameters]>;
|
|
174
|
+
export declare type MeshPhongMaterialProps = MaterialNode<THREE.MeshPhongMaterial, [THREE.MeshPhongMaterialParameters]>;
|
|
175
|
+
export declare type MeshToonMaterialProps = MaterialNode<THREE.MeshToonMaterial, [THREE.MeshToonMaterialParameters]>;
|
|
176
|
+
export declare type MeshNormalMaterialProps = MaterialNode<THREE.MeshNormalMaterial, [THREE.MeshNormalMaterialParameters]>;
|
|
177
|
+
export declare type MeshLambertMaterialProps = MaterialNode<THREE.MeshLambertMaterial, [THREE.MeshLambertMaterialParameters]>;
|
|
178
|
+
export declare type MeshDepthMaterialProps = MaterialNode<THREE.MeshDepthMaterial, [THREE.MeshDepthMaterialParameters]>;
|
|
179
|
+
export declare type MeshDistanceMaterialProps = MaterialNode<THREE.MeshDistanceMaterial, [THREE.MeshDistanceMaterialParameters]>;
|
|
180
|
+
export declare type MeshBasicMaterialProps = MaterialNode<THREE.MeshBasicMaterial, [THREE.MeshBasicMaterialParameters]>;
|
|
181
|
+
export declare type MeshMatcapMaterialProps = MaterialNode<THREE.MeshMatcapMaterial, [THREE.MeshMatcapMaterialParameters]>;
|
|
182
|
+
export declare type LineDashedMaterialProps = MaterialNode<THREE.LineDashedMaterial, [THREE.LineDashedMaterialParameters]>;
|
|
183
|
+
export declare type LineBasicMaterialProps = MaterialNode<THREE.LineBasicMaterial, [THREE.LineBasicMaterialParameters]>;
|
|
184
|
+
export declare type PrimitiveProps = {
|
|
185
|
+
object: object;
|
|
186
|
+
} & {
|
|
187
|
+
[properties: string]: any;
|
|
188
|
+
};
|
|
189
|
+
export declare type LightProps = LightNode<THREE.Light, typeof THREE.Light>;
|
|
190
|
+
export declare type SpotLightShadowProps = Node<THREE.SpotLightShadow, typeof THREE.SpotLightShadow>;
|
|
191
|
+
export declare type SpotLightProps = LightNode<THREE.SpotLight, typeof THREE.SpotLight>;
|
|
192
|
+
export declare type PointLightProps = LightNode<THREE.PointLight, typeof THREE.PointLight>;
|
|
193
|
+
export declare type RectAreaLightProps = LightNode<THREE.RectAreaLight, typeof THREE.RectAreaLight>;
|
|
194
|
+
export declare type HemisphereLightProps = LightNode<THREE.HemisphereLight, typeof THREE.HemisphereLight>;
|
|
195
|
+
export declare type DirectionalLightShadowProps = Node<THREE.DirectionalLightShadow, typeof THREE.DirectionalLightShadow>;
|
|
196
|
+
export declare type DirectionalLightProps = LightNode<THREE.DirectionalLight, typeof THREE.DirectionalLight>;
|
|
197
|
+
export declare type AmbientLightProps = LightNode<THREE.AmbientLight, typeof THREE.AmbientLight>;
|
|
198
|
+
export declare type LightShadowProps = Node<THREE.LightShadow, typeof THREE.LightShadow>;
|
|
199
|
+
/** @ts-ignore */
|
|
200
|
+
export declare type AmbientLightProbeProps = LightNode<THREE.AmbientLightProbe, typeof THREE.AmbientLightProbe>;
|
|
201
|
+
/** @ts-ignore */
|
|
202
|
+
export declare type HemisphereLightProbeProps = LightNode<THREE.HemisphereLightProbe, typeof THREE.HemisphereLightProbe>;
|
|
203
|
+
export declare type LightProbeProps = LightNode<THREE.LightProbe, typeof THREE.LightProbe>;
|
|
204
|
+
export declare type SpotLightHelperProps = Object3DNode<THREE.SpotLightHelper, typeof THREE.SpotLightHelper>;
|
|
205
|
+
export declare type SkeletonHelperProps = Object3DNode<THREE.SkeletonHelper, typeof THREE.SkeletonHelper>;
|
|
206
|
+
export declare type PointLightHelperProps = Object3DNode<THREE.PointLightHelper, typeof THREE.PointLightHelper>;
|
|
207
|
+
export declare type HemisphereLightHelperProps = Object3DNode<THREE.HemisphereLightHelper, typeof THREE.HemisphereLightHelper>;
|
|
208
|
+
export declare type GridHelperProps = Object3DNode<THREE.GridHelper, typeof THREE.GridHelper>;
|
|
209
|
+
export declare type PolarGridHelperProps = Object3DNode<THREE.PolarGridHelper, typeof THREE.PolarGridHelper>;
|
|
210
|
+
export declare type DirectionalLightHelperProps = Object3DNode<THREE.DirectionalLightHelper, typeof THREE.DirectionalLightHelper>;
|
|
211
|
+
export declare type CameraHelperProps = Object3DNode<THREE.CameraHelper, typeof THREE.CameraHelper>;
|
|
212
|
+
export declare type BoxHelperProps = Object3DNode<THREE.BoxHelper, typeof THREE.BoxHelper>;
|
|
213
|
+
export declare type Box3HelperProps = Object3DNode<THREE.Box3Helper, typeof THREE.Box3Helper>;
|
|
214
|
+
export declare type PlaneHelperProps = Object3DNode<THREE.PlaneHelper, typeof THREE.PlaneHelper>;
|
|
215
|
+
export declare type ArrowHelperProps = Object3DNode<THREE.ArrowHelper, typeof THREE.ArrowHelper>;
|
|
216
|
+
export declare type AxesHelperProps = Object3DNode<THREE.AxesHelper, typeof THREE.AxesHelper>;
|
|
217
|
+
export declare type TextureProps = Node<THREE.Texture, typeof THREE.Texture>;
|
|
218
|
+
export declare type VideoTextureProps = Node<THREE.VideoTexture, typeof THREE.VideoTexture>;
|
|
219
|
+
export declare type DataTextureProps = Node<THREE.DataTexture, typeof THREE.DataTexture>;
|
|
220
|
+
/** @ts-ignore */
|
|
221
|
+
export declare type DataTexture3DProps = Node<THREE.DataTexture3D, typeof THREE.DataTexture3D>;
|
|
222
|
+
export declare type CompressedTextureProps = Node<THREE.CompressedTexture, typeof THREE.CompressedTexture>;
|
|
223
|
+
export declare type CubeTextureProps = Node<THREE.CubeTexture, typeof THREE.CubeTexture>;
|
|
224
|
+
export declare type CanvasTextureProps = Node<THREE.CanvasTexture, typeof THREE.CanvasTexture>;
|
|
225
|
+
export declare type DepthTextureProps = Node<THREE.DepthTexture, typeof THREE.DepthTexture>;
|
|
226
|
+
export declare type RaycasterProps = Node<THREE.Raycaster, typeof THREE.Raycaster>;
|
|
227
|
+
export declare type Vector2Props = Node<THREE.Vector2, typeof THREE.Vector2>;
|
|
228
|
+
export declare type Vector3Props = Node<THREE.Vector3, typeof THREE.Vector3>;
|
|
229
|
+
export declare type Vector4Props = Node<THREE.Vector4, typeof THREE.Vector4>;
|
|
230
|
+
export declare type EulerProps = Node<THREE.Euler, typeof THREE.Euler>;
|
|
231
|
+
export declare type Matrix3Props = Node<THREE.Matrix3, typeof THREE.Matrix3>;
|
|
232
|
+
export declare type Matrix4Props = Node<THREE.Matrix4, typeof THREE.Matrix4>;
|
|
233
|
+
export declare type QuaternionProps = Node<THREE.Quaternion, typeof THREE.Quaternion>;
|
|
234
|
+
export declare type BufferAttributeProps = Node<THREE.BufferAttribute, typeof THREE.BufferAttribute>;
|
|
235
|
+
export declare type Float16BufferAttributeProps = Node<THREE.Float16BufferAttribute, typeof THREE.Float16BufferAttribute>;
|
|
236
|
+
export declare type Float32BufferAttributeProps = Node<THREE.Float32BufferAttribute, typeof THREE.Float32BufferAttribute>;
|
|
237
|
+
/** @ts-ignore */
|
|
238
|
+
export declare type Float64BufferAttributeProps = Node<THREE.Float64BufferAttribute, typeof THREE.Float64BufferAttribute>;
|
|
239
|
+
export declare type Int8BufferAttributeProps = Node<THREE.Int8BufferAttribute, typeof THREE.Int8BufferAttribute>;
|
|
240
|
+
export declare type Int16BufferAttributeProps = Node<THREE.Int16BufferAttribute, typeof THREE.Int16BufferAttribute>;
|
|
241
|
+
export declare type Int32BufferAttributeProps = Node<THREE.Int32BufferAttribute, typeof THREE.Int32BufferAttribute>;
|
|
242
|
+
export declare type Uint8BufferAttributeProps = Node<THREE.Uint8BufferAttribute, typeof THREE.Uint8BufferAttribute>;
|
|
243
|
+
export declare type Uint16BufferAttributeProps = Node<THREE.Uint16BufferAttribute, typeof THREE.Uint16BufferAttribute>;
|
|
244
|
+
export declare type Uint32BufferAttributeProps = Node<THREE.Uint32BufferAttribute, typeof THREE.Uint32BufferAttribute>;
|
|
245
|
+
export declare type InstancedBufferAttributeProps = Node<THREE.InstancedBufferAttribute, typeof THREE.InstancedBufferAttribute>;
|
|
246
|
+
export declare type ColorProps = Node<THREE.Color, ColorArray>;
|
|
247
|
+
export declare type FogProps = Node<THREE.Fog, typeof THREE.Fog>;
|
|
248
|
+
export declare type FogExp2Props = Node<THREE.FogExp2, typeof THREE.FogExp2>;
|
|
249
|
+
export declare type ShapeProps = Node<THREE.Shape, typeof THREE.Shape>;
|
|
250
|
+
export interface ThreeElements {
|
|
251
|
+
object3D: Object3DProps;
|
|
252
|
+
audioListener: AudioListenerProps;
|
|
253
|
+
positionalAudio: PositionalAudioProps;
|
|
254
|
+
mesh: MeshProps;
|
|
255
|
+
batchedMesh: BatchedMeshProps;
|
|
256
|
+
instancedMesh: InstancedMeshProps;
|
|
257
|
+
scene: SceneProps;
|
|
258
|
+
sprite: SpriteProps;
|
|
259
|
+
lOD: LODProps;
|
|
260
|
+
skinnedMesh: SkinnedMeshProps;
|
|
261
|
+
skeleton: SkeletonProps;
|
|
262
|
+
bone: BoneProps;
|
|
263
|
+
lineSegments: LineSegmentsProps;
|
|
264
|
+
lineLoop: LineLoopProps;
|
|
265
|
+
points: PointsProps;
|
|
266
|
+
group: GroupProps;
|
|
267
|
+
camera: CameraProps;
|
|
268
|
+
perspectiveCamera: PerspectiveCameraProps;
|
|
269
|
+
orthographicCamera: OrthographicCameraProps;
|
|
270
|
+
cubeCamera: CubeCameraProps;
|
|
271
|
+
arrayCamera: ArrayCameraProps;
|
|
272
|
+
instancedBufferGeometry: InstancedBufferGeometryProps;
|
|
273
|
+
bufferGeometry: BufferGeometryProps;
|
|
274
|
+
boxBufferGeometry: BoxBufferGeometryProps;
|
|
275
|
+
circleBufferGeometry: CircleBufferGeometryProps;
|
|
276
|
+
coneBufferGeometry: ConeBufferGeometryProps;
|
|
277
|
+
cylinderBufferGeometry: CylinderBufferGeometryProps;
|
|
278
|
+
dodecahedronBufferGeometry: DodecahedronBufferGeometryProps;
|
|
279
|
+
extrudeBufferGeometry: ExtrudeBufferGeometryProps;
|
|
280
|
+
icosahedronBufferGeometry: IcosahedronBufferGeometryProps;
|
|
281
|
+
latheBufferGeometry: LatheBufferGeometryProps;
|
|
282
|
+
octahedronBufferGeometry: OctahedronBufferGeometryProps;
|
|
283
|
+
planeBufferGeometry: PlaneBufferGeometryProps;
|
|
284
|
+
polyhedronBufferGeometry: PolyhedronBufferGeometryProps;
|
|
285
|
+
ringBufferGeometry: RingBufferGeometryProps;
|
|
286
|
+
shapeBufferGeometry: ShapeBufferGeometryProps;
|
|
287
|
+
sphereBufferGeometry: SphereBufferGeometryProps;
|
|
288
|
+
tetrahedronBufferGeometry: TetrahedronBufferGeometryProps;
|
|
289
|
+
torusBufferGeometry: TorusBufferGeometryProps;
|
|
290
|
+
torusKnotBufferGeometry: TorusKnotBufferGeometryProps;
|
|
291
|
+
tubeBufferGeometry: TubeBufferGeometryProps;
|
|
292
|
+
wireframeGeometry: WireframeGeometryProps;
|
|
293
|
+
tetrahedronGeometry: TetrahedronGeometryProps;
|
|
294
|
+
octahedronGeometry: OctahedronGeometryProps;
|
|
295
|
+
icosahedronGeometry: IcosahedronGeometryProps;
|
|
296
|
+
dodecahedronGeometry: DodecahedronGeometryProps;
|
|
297
|
+
polyhedronGeometry: PolyhedronGeometryProps;
|
|
298
|
+
tubeGeometry: TubeGeometryProps;
|
|
299
|
+
torusKnotGeometry: TorusKnotGeometryProps;
|
|
300
|
+
torusGeometry: TorusGeometryProps;
|
|
301
|
+
sphereGeometry: SphereGeometryProps;
|
|
302
|
+
ringGeometry: RingGeometryProps;
|
|
303
|
+
planeGeometry: PlaneGeometryProps;
|
|
304
|
+
latheGeometry: LatheGeometryProps;
|
|
305
|
+
shapeGeometry: ShapeGeometryProps;
|
|
306
|
+
extrudeGeometry: ExtrudeGeometryProps;
|
|
307
|
+
edgesGeometry: EdgesGeometryProps;
|
|
308
|
+
coneGeometry: ConeGeometryProps;
|
|
309
|
+
cylinderGeometry: CylinderGeometryProps;
|
|
310
|
+
circleGeometry: CircleGeometryProps;
|
|
311
|
+
boxGeometry: BoxGeometryProps;
|
|
312
|
+
capsuleGeometry: CapsuleGeometryProps;
|
|
313
|
+
material: MaterialProps;
|
|
314
|
+
shadowMaterial: ShadowMaterialProps;
|
|
315
|
+
spriteMaterial: SpriteMaterialProps;
|
|
316
|
+
rawShaderMaterial: RawShaderMaterialProps;
|
|
317
|
+
shaderMaterial: ShaderMaterialProps;
|
|
318
|
+
pointsMaterial: PointsMaterialProps;
|
|
319
|
+
meshPhysicalMaterial: MeshPhysicalMaterialProps;
|
|
320
|
+
meshStandardMaterial: MeshStandardMaterialProps;
|
|
321
|
+
meshPhongMaterial: MeshPhongMaterialProps;
|
|
322
|
+
meshToonMaterial: MeshToonMaterialProps;
|
|
323
|
+
meshNormalMaterial: MeshNormalMaterialProps;
|
|
324
|
+
meshLambertMaterial: MeshLambertMaterialProps;
|
|
325
|
+
meshDepthMaterial: MeshDepthMaterialProps;
|
|
326
|
+
meshDistanceMaterial: MeshDistanceMaterialProps;
|
|
327
|
+
meshBasicMaterial: MeshBasicMaterialProps;
|
|
328
|
+
meshMatcapMaterial: MeshMatcapMaterialProps;
|
|
329
|
+
lineDashedMaterial: LineDashedMaterialProps;
|
|
330
|
+
lineBasicMaterial: LineBasicMaterialProps;
|
|
331
|
+
primitive: PrimitiveProps;
|
|
332
|
+
light: LightProps;
|
|
333
|
+
spotLightShadow: SpotLightShadowProps;
|
|
334
|
+
spotLight: SpotLightProps;
|
|
335
|
+
pointLight: PointLightProps;
|
|
336
|
+
rectAreaLight: RectAreaLightProps;
|
|
337
|
+
hemisphereLight: HemisphereLightProps;
|
|
338
|
+
directionalLightShadow: DirectionalLightShadowProps;
|
|
339
|
+
directionalLight: DirectionalLightProps;
|
|
340
|
+
ambientLight: AmbientLightProps;
|
|
341
|
+
lightShadow: LightShadowProps;
|
|
342
|
+
ambientLightProbe: AmbientLightProbeProps;
|
|
343
|
+
hemisphereLightProbe: HemisphereLightProbeProps;
|
|
344
|
+
lightProbe: LightProbeProps;
|
|
345
|
+
spotLightHelper: SpotLightHelperProps;
|
|
346
|
+
skeletonHelper: SkeletonHelperProps;
|
|
347
|
+
pointLightHelper: PointLightHelperProps;
|
|
348
|
+
hemisphereLightHelper: HemisphereLightHelperProps;
|
|
349
|
+
gridHelper: GridHelperProps;
|
|
350
|
+
polarGridHelper: PolarGridHelperProps;
|
|
351
|
+
directionalLightHelper: DirectionalLightHelperProps;
|
|
352
|
+
cameraHelper: CameraHelperProps;
|
|
353
|
+
boxHelper: BoxHelperProps;
|
|
354
|
+
box3Helper: Box3HelperProps;
|
|
355
|
+
planeHelper: PlaneHelperProps;
|
|
356
|
+
arrowHelper: ArrowHelperProps;
|
|
357
|
+
axesHelper: AxesHelperProps;
|
|
358
|
+
texture: TextureProps;
|
|
359
|
+
videoTexture: VideoTextureProps;
|
|
360
|
+
dataTexture: DataTextureProps;
|
|
361
|
+
dataTexture3D: DataTexture3DProps;
|
|
362
|
+
compressedTexture: CompressedTextureProps;
|
|
363
|
+
cubeTexture: CubeTextureProps;
|
|
364
|
+
canvasTexture: CanvasTextureProps;
|
|
365
|
+
depthTexture: DepthTextureProps;
|
|
366
|
+
raycaster: RaycasterProps;
|
|
367
|
+
vector2: Vector2Props;
|
|
368
|
+
vector3: Vector3Props;
|
|
369
|
+
vector4: Vector4Props;
|
|
370
|
+
euler: EulerProps;
|
|
371
|
+
matrix3: Matrix3Props;
|
|
372
|
+
matrix4: Matrix4Props;
|
|
373
|
+
quaternion: QuaternionProps;
|
|
374
|
+
bufferAttribute: BufferAttributeProps;
|
|
375
|
+
float16BufferAttribute: Float16BufferAttributeProps;
|
|
376
|
+
float32BufferAttribute: Float32BufferAttributeProps;
|
|
377
|
+
float64BufferAttribute: Float64BufferAttributeProps;
|
|
378
|
+
int8BufferAttribute: Int8BufferAttributeProps;
|
|
379
|
+
int16BufferAttribute: Int16BufferAttributeProps;
|
|
380
|
+
int32BufferAttribute: Int32BufferAttributeProps;
|
|
381
|
+
uint8BufferAttribute: Uint8BufferAttributeProps;
|
|
382
|
+
uint16BufferAttribute: Uint16BufferAttributeProps;
|
|
383
|
+
uint32BufferAttribute: Uint32BufferAttributeProps;
|
|
384
|
+
instancedBufferAttribute: InstancedBufferAttributeProps;
|
|
385
|
+
color: ColorProps;
|
|
386
|
+
fog: FogProps;
|
|
387
|
+
fogExp2: FogExp2Props;
|
|
388
|
+
shape: ShapeProps;
|
|
389
|
+
}
|
|
390
|
+
declare global {
|
|
391
|
+
namespace JSX {
|
|
392
|
+
interface IntrinsicElements extends ThreeElements {
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
export {};
|