@shapediver/viewer.data-engine.shared-types 3.16.8 → 3.16.9

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.
@@ -1,359 +1,359 @@
1
- export declare const ACCESSORCOMPONENTTYPE: {
2
- 5120: Int8ArrayConstructor;
3
- 5121: Uint8ArrayConstructor;
4
- 5122: Int16ArrayConstructor;
5
- 5123: Uint16ArrayConstructor;
6
- 5124: Uint32ArrayConstructor;
7
- 5125: Uint32ArrayConstructor;
8
- 5126: Float32ArrayConstructor;
9
- };
10
- export declare const ACCESSORCOMPONENTSIZE: {
11
- 5120: number;
12
- 5121: number;
13
- 5122: number;
14
- 5123: number;
15
- 5125: number;
16
- 5126: number;
17
- };
18
- export declare const ACCESSORTYPE: {
19
- SCALAR: number;
20
- VEC2: number;
21
- VEC3: number;
22
- VEC4: number;
23
- VEC7: number;
24
- VEC10: number;
25
- VEC12: number;
26
- MAT2: number;
27
- MAT3: number;
28
- MAT4: number;
29
- };
30
- export interface IGLTF_v1_Accessor {
31
- bufferView: string;
32
- byteOffset: number;
33
- byteStride?: number;
34
- componentType: number;
35
- count: number;
36
- max?: number[];
37
- min?: number[];
38
- type: string;
39
- name?: string;
40
- extensions?: {
41
- [id: string]: any;
42
- };
43
- extras?: any;
44
- }
45
- export interface IGLTF_v1_Animation {
46
- channels?: {
47
- sampler: string;
48
- target: {
49
- id: string;
50
- path: string;
51
- extensions?: {
52
- [id: string]: any;
53
- };
54
- extras?: any;
55
- };
56
- extensions?: {
57
- [id: string]: any;
58
- };
59
- extras?: any;
60
- }[];
61
- parameters?: {
62
- TIME?: string;
63
- scale?: string;
64
- rotation?: string;
65
- translation?: string;
66
- };
67
- samplers?: {
68
- [key: string]: {
69
- input: string;
70
- interpolation?: string;
71
- output: string;
72
- extensions?: {
73
- [id: string]: any;
74
- };
75
- extras?: any;
76
- };
77
- };
78
- name?: string;
79
- extensions?: {
80
- [id: string]: any;
81
- };
82
- extras?: any;
83
- }
84
- export interface IGLTF_v1_Asset {
85
- copyright?: string;
86
- generator?: string;
87
- premultipliedAlpha?: boolean;
88
- profile?: {
89
- api: string;
90
- version: string;
91
- extensions?: {
92
- [id: string]: any;
93
- };
94
- extras?: any;
95
- };
96
- version: string;
97
- extensions?: {
98
- [id: string]: any;
99
- };
100
- extras?: any;
101
- }
102
- export interface IGLTF_v1_Buffer {
103
- byteLength?: number;
104
- type?: string;
105
- uri: string;
106
- name?: string;
107
- extensions?: {
108
- [id: string]: any;
109
- };
110
- extras?: any;
111
- }
112
- export interface IGLTF_v1_BufferView {
113
- buffer: string;
114
- byteLength?: number;
115
- byteOffset: number;
116
- target?: number;
117
- name?: string;
118
- extensions?: {
119
- [id: string]: any;
120
- };
121
- extras?: any;
122
- }
123
- export interface IGLTF_v1_Camera {
124
- perspective?: {
125
- aspectRatio?: number;
126
- yfov: number;
127
- zfar: number;
128
- znear: number;
129
- extensions?: {
130
- [id: string]: any;
131
- };
132
- extras?: any;
133
- };
134
- orthographic?: {
135
- xmag: number;
136
- ymag: number;
137
- zfar: number;
138
- znear: number;
139
- extensions?: {
140
- [id: string]: any;
141
- };
142
- extras?: any;
143
- };
144
- type: string;
145
- name?: string;
146
- extensions?: {
147
- [id: string]: any;
148
- };
149
- extras?: any;
150
- }
151
- export interface IGLTF_v1_Image {
152
- uri: string;
153
- name?: string;
154
- extensions?: {
155
- [id: string]: any;
156
- };
157
- extras?: any;
158
- }
159
- export interface IGLTF_v1_Material {
160
- technique?: string;
161
- values?: {
162
- [key: string]: number[] | string | number;
163
- };
164
- name?: string;
165
- extensions?: {
166
- [id: string]: any;
167
- };
168
- extras?: any;
169
- }
170
- export interface IGLTF_v1_Mesh {
171
- primitives?: {
172
- attributes?: {
173
- [key: string]: string;
174
- };
175
- indices?: string;
176
- material: string;
177
- mode?: number;
178
- extensions?: {
179
- [id: string]: any;
180
- };
181
- extras?: any;
182
- }[];
183
- name?: string;
184
- extensions?: {
185
- [id: string]: any;
186
- };
187
- extras?: any;
188
- }
189
- export interface IGLTF_v1_Node {
190
- children?: string[];
191
- meshes?: string[];
192
- skeletons?: string[];
193
- skin?: string;
194
- jointName?: string;
195
- camera?: string;
196
- matrix?: number[];
197
- translation?: number[];
198
- rotation?: number[];
199
- scale?: number[];
200
- name?: string;
201
- extensions?: {
202
- [id: string]: any;
203
- };
204
- extras?: any;
205
- }
206
- export interface IGLTF_v1_Program {
207
- attributes?: string[];
208
- fragmentShader: string;
209
- vertexShader: string;
210
- name?: string;
211
- extensions?: {
212
- [id: string]: any;
213
- };
214
- extras?: any;
215
- }
216
- export interface IGLTF_v1_Sampler {
217
- magFilter?: number;
218
- minFilter?: number;
219
- wrapS?: number;
220
- wrapT?: number;
221
- name?: string;
222
- extensions?: {
223
- [id: string]: any;
224
- };
225
- extras?: any;
226
- }
227
- export interface IGLTF_v1_Scene {
228
- nodes?: string[];
229
- name?: string;
230
- extensions?: {
231
- [id: string]: any;
232
- };
233
- extras?: any;
234
- }
235
- export interface IGLTF_v1_Shader {
236
- type: number;
237
- uri: string;
238
- name?: string;
239
- extensions?: {
240
- [id: string]: any;
241
- };
242
- extras?: any;
243
- }
244
- export interface IGLTF_v1_Skin {
245
- bindShapeMatrix?: number[];
246
- inverseBindMatrices: string;
247
- jointNames: string[];
248
- name?: string;
249
- extensions?: {
250
- [id: string]: any;
251
- };
252
- extras?: any;
253
- }
254
- export interface IGLTF_v1_Technique {
255
- parameters?: {
256
- count?: number;
257
- node?: string;
258
- type: number;
259
- semantic?: string;
260
- value?: any;
261
- extensions?: {
262
- [id: string]: any;
263
- };
264
- extras?: any;
265
- };
266
- attributes?: {
267
- [key: string]: string;
268
- };
269
- program: string;
270
- uniforms?: {
271
- [key: string]: string;
272
- };
273
- states?: {
274
- enable?: number[];
275
- functions?: {
276
- [key: string]: any;
277
- };
278
- extensions?: {
279
- [id: string]: any;
280
- };
281
- extras?: any;
282
- };
283
- name?: string;
284
- extensions?: {
285
- [id: string]: any;
286
- };
287
- extras?: any;
288
- }
289
- export interface IGLTF_v1_Texture {
290
- format?: number;
291
- internalFormat?: number;
292
- sampler: string;
293
- source: string;
294
- target?: number;
295
- type?: number;
296
- name?: string;
297
- extensions?: {
298
- [id: string]: any;
299
- };
300
- extras?: any;
301
- }
302
- export interface IGLTF_v1 {
303
- accessors?: {
304
- [id: string]: IGLTF_v1_Accessor;
305
- };
306
- animations?: {
307
- [id: string]: IGLTF_v1_Animation;
308
- };
309
- asset?: IGLTF_v1_Asset;
310
- buffers?: {
311
- [id: string]: IGLTF_v1_Buffer;
312
- };
313
- bufferViews?: {
314
- [id: string]: IGLTF_v1_BufferView;
315
- };
316
- cameras?: {
317
- [id: string]: IGLTF_v1_Camera;
318
- };
319
- images?: {
320
- [id: string]: IGLTF_v1_Image;
321
- };
322
- materials?: {
323
- [id: string]: IGLTF_v1_Material;
324
- };
325
- meshes?: {
326
- [id: string]: IGLTF_v1_Mesh;
327
- };
328
- nodes?: {
329
- [id: string]: IGLTF_v1_Node;
330
- };
331
- programs?: {
332
- [id: string]: IGLTF_v1_Program;
333
- };
334
- samplers?: {
335
- [id: string]: IGLTF_v1_Sampler;
336
- };
337
- scene?: string;
338
- scenes?: {
339
- [id: string]: IGLTF_v1_Scene;
340
- };
341
- shaders?: {
342
- [id: string]: IGLTF_v1_Shader;
343
- };
344
- skins?: {
345
- [id: string]: IGLTF_v1_Skin;
346
- };
347
- techniques?: {
348
- [id: string]: IGLTF_v1_Technique;
349
- };
350
- textures?: {
351
- [id: string]: IGLTF_v1_Texture;
352
- };
353
- extensionsUsed?: string[];
354
- extensions?: {
355
- [id: string]: any;
356
- };
357
- extras?: any;
358
- }
1
+ export declare const ACCESSORCOMPONENTTYPE: {
2
+ 5120: Int8ArrayConstructor;
3
+ 5121: Uint8ArrayConstructor;
4
+ 5122: Int16ArrayConstructor;
5
+ 5123: Uint16ArrayConstructor;
6
+ 5124: Uint32ArrayConstructor;
7
+ 5125: Uint32ArrayConstructor;
8
+ 5126: Float32ArrayConstructor;
9
+ };
10
+ export declare const ACCESSORCOMPONENTSIZE: {
11
+ 5120: number;
12
+ 5121: number;
13
+ 5122: number;
14
+ 5123: number;
15
+ 5125: number;
16
+ 5126: number;
17
+ };
18
+ export declare const ACCESSORTYPE: {
19
+ SCALAR: number;
20
+ VEC2: number;
21
+ VEC3: number;
22
+ VEC4: number;
23
+ VEC7: number;
24
+ VEC10: number;
25
+ VEC12: number;
26
+ MAT2: number;
27
+ MAT3: number;
28
+ MAT4: number;
29
+ };
30
+ export interface IGLTF_v1_Accessor {
31
+ bufferView: string;
32
+ byteOffset: number;
33
+ byteStride?: number;
34
+ componentType: number;
35
+ count: number;
36
+ max?: number[];
37
+ min?: number[];
38
+ type: string;
39
+ name?: string;
40
+ extensions?: {
41
+ [id: string]: any;
42
+ };
43
+ extras?: any;
44
+ }
45
+ export interface IGLTF_v1_Animation {
46
+ channels?: {
47
+ sampler: string;
48
+ target: {
49
+ id: string;
50
+ path: string;
51
+ extensions?: {
52
+ [id: string]: any;
53
+ };
54
+ extras?: any;
55
+ };
56
+ extensions?: {
57
+ [id: string]: any;
58
+ };
59
+ extras?: any;
60
+ }[];
61
+ parameters?: {
62
+ TIME?: string;
63
+ scale?: string;
64
+ rotation?: string;
65
+ translation?: string;
66
+ };
67
+ samplers?: {
68
+ [key: string]: {
69
+ input: string;
70
+ interpolation?: string;
71
+ output: string;
72
+ extensions?: {
73
+ [id: string]: any;
74
+ };
75
+ extras?: any;
76
+ };
77
+ };
78
+ name?: string;
79
+ extensions?: {
80
+ [id: string]: any;
81
+ };
82
+ extras?: any;
83
+ }
84
+ export interface IGLTF_v1_Asset {
85
+ copyright?: string;
86
+ generator?: string;
87
+ premultipliedAlpha?: boolean;
88
+ profile?: {
89
+ api: string;
90
+ version: string;
91
+ extensions?: {
92
+ [id: string]: any;
93
+ };
94
+ extras?: any;
95
+ };
96
+ version: string;
97
+ extensions?: {
98
+ [id: string]: any;
99
+ };
100
+ extras?: any;
101
+ }
102
+ export interface IGLTF_v1_Buffer {
103
+ byteLength?: number;
104
+ type?: string;
105
+ uri: string;
106
+ name?: string;
107
+ extensions?: {
108
+ [id: string]: any;
109
+ };
110
+ extras?: any;
111
+ }
112
+ export interface IGLTF_v1_BufferView {
113
+ buffer: string;
114
+ byteLength?: number;
115
+ byteOffset: number;
116
+ target?: number;
117
+ name?: string;
118
+ extensions?: {
119
+ [id: string]: any;
120
+ };
121
+ extras?: any;
122
+ }
123
+ export interface IGLTF_v1_Camera {
124
+ perspective?: {
125
+ aspectRatio?: number;
126
+ yfov: number;
127
+ zfar: number;
128
+ znear: number;
129
+ extensions?: {
130
+ [id: string]: any;
131
+ };
132
+ extras?: any;
133
+ };
134
+ orthographic?: {
135
+ xmag: number;
136
+ ymag: number;
137
+ zfar: number;
138
+ znear: number;
139
+ extensions?: {
140
+ [id: string]: any;
141
+ };
142
+ extras?: any;
143
+ };
144
+ type: string;
145
+ name?: string;
146
+ extensions?: {
147
+ [id: string]: any;
148
+ };
149
+ extras?: any;
150
+ }
151
+ export interface IGLTF_v1_Image {
152
+ uri: string;
153
+ name?: string;
154
+ extensions?: {
155
+ [id: string]: any;
156
+ };
157
+ extras?: any;
158
+ }
159
+ export interface IGLTF_v1_Material {
160
+ technique?: string;
161
+ values?: {
162
+ [key: string]: number[] | string | number;
163
+ };
164
+ name?: string;
165
+ extensions?: {
166
+ [id: string]: any;
167
+ };
168
+ extras?: any;
169
+ }
170
+ export interface IGLTF_v1_Mesh {
171
+ primitives?: {
172
+ attributes?: {
173
+ [key: string]: string;
174
+ };
175
+ indices?: string;
176
+ material: string;
177
+ mode?: number;
178
+ extensions?: {
179
+ [id: string]: any;
180
+ };
181
+ extras?: any;
182
+ }[];
183
+ name?: string;
184
+ extensions?: {
185
+ [id: string]: any;
186
+ };
187
+ extras?: any;
188
+ }
189
+ export interface IGLTF_v1_Node {
190
+ children?: string[];
191
+ meshes?: string[];
192
+ skeletons?: string[];
193
+ skin?: string;
194
+ jointName?: string;
195
+ camera?: string;
196
+ matrix?: number[];
197
+ translation?: number[];
198
+ rotation?: number[];
199
+ scale?: number[];
200
+ name?: string;
201
+ extensions?: {
202
+ [id: string]: any;
203
+ };
204
+ extras?: any;
205
+ }
206
+ export interface IGLTF_v1_Program {
207
+ attributes?: string[];
208
+ fragmentShader: string;
209
+ vertexShader: string;
210
+ name?: string;
211
+ extensions?: {
212
+ [id: string]: any;
213
+ };
214
+ extras?: any;
215
+ }
216
+ export interface IGLTF_v1_Sampler {
217
+ magFilter?: number;
218
+ minFilter?: number;
219
+ wrapS?: number;
220
+ wrapT?: number;
221
+ name?: string;
222
+ extensions?: {
223
+ [id: string]: any;
224
+ };
225
+ extras?: any;
226
+ }
227
+ export interface IGLTF_v1_Scene {
228
+ nodes?: string[];
229
+ name?: string;
230
+ extensions?: {
231
+ [id: string]: any;
232
+ };
233
+ extras?: any;
234
+ }
235
+ export interface IGLTF_v1_Shader {
236
+ type: number;
237
+ uri: string;
238
+ name?: string;
239
+ extensions?: {
240
+ [id: string]: any;
241
+ };
242
+ extras?: any;
243
+ }
244
+ export interface IGLTF_v1_Skin {
245
+ bindShapeMatrix?: number[];
246
+ inverseBindMatrices: string;
247
+ jointNames: string[];
248
+ name?: string;
249
+ extensions?: {
250
+ [id: string]: any;
251
+ };
252
+ extras?: any;
253
+ }
254
+ export interface IGLTF_v1_Technique {
255
+ parameters?: {
256
+ count?: number;
257
+ node?: string;
258
+ type: number;
259
+ semantic?: string;
260
+ value?: any;
261
+ extensions?: {
262
+ [id: string]: any;
263
+ };
264
+ extras?: any;
265
+ };
266
+ attributes?: {
267
+ [key: string]: string;
268
+ };
269
+ program: string;
270
+ uniforms?: {
271
+ [key: string]: string;
272
+ };
273
+ states?: {
274
+ enable?: number[];
275
+ functions?: {
276
+ [key: string]: any;
277
+ };
278
+ extensions?: {
279
+ [id: string]: any;
280
+ };
281
+ extras?: any;
282
+ };
283
+ name?: string;
284
+ extensions?: {
285
+ [id: string]: any;
286
+ };
287
+ extras?: any;
288
+ }
289
+ export interface IGLTF_v1_Texture {
290
+ format?: number;
291
+ internalFormat?: number;
292
+ sampler: string;
293
+ source: string;
294
+ target?: number;
295
+ type?: number;
296
+ name?: string;
297
+ extensions?: {
298
+ [id: string]: any;
299
+ };
300
+ extras?: any;
301
+ }
302
+ export interface IGLTF_v1 {
303
+ accessors?: {
304
+ [id: string]: IGLTF_v1_Accessor;
305
+ };
306
+ animations?: {
307
+ [id: string]: IGLTF_v1_Animation;
308
+ };
309
+ asset?: IGLTF_v1_Asset;
310
+ buffers?: {
311
+ [id: string]: IGLTF_v1_Buffer;
312
+ };
313
+ bufferViews?: {
314
+ [id: string]: IGLTF_v1_BufferView;
315
+ };
316
+ cameras?: {
317
+ [id: string]: IGLTF_v1_Camera;
318
+ };
319
+ images?: {
320
+ [id: string]: IGLTF_v1_Image;
321
+ };
322
+ materials?: {
323
+ [id: string]: IGLTF_v1_Material;
324
+ };
325
+ meshes?: {
326
+ [id: string]: IGLTF_v1_Mesh;
327
+ };
328
+ nodes?: {
329
+ [id: string]: IGLTF_v1_Node;
330
+ };
331
+ programs?: {
332
+ [id: string]: IGLTF_v1_Program;
333
+ };
334
+ samplers?: {
335
+ [id: string]: IGLTF_v1_Sampler;
336
+ };
337
+ scene?: string;
338
+ scenes?: {
339
+ [id: string]: IGLTF_v1_Scene;
340
+ };
341
+ shaders?: {
342
+ [id: string]: IGLTF_v1_Shader;
343
+ };
344
+ skins?: {
345
+ [id: string]: IGLTF_v1_Skin;
346
+ };
347
+ techniques?: {
348
+ [id: string]: IGLTF_v1_Technique;
349
+ };
350
+ textures?: {
351
+ [id: string]: IGLTF_v1_Texture;
352
+ };
353
+ extensionsUsed?: string[];
354
+ extensions?: {
355
+ [id: string]: any;
356
+ };
357
+ extras?: any;
358
+ }
359
359
  //# sourceMappingURL=IGLTF_v1.d.ts.map