@3dverse/api 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +177 -0
- package/dist/_prebuild/wrapper.d.ts +2131 -0
- package/dist/index.d.ts +6 -2126
- package/dist/index.js +1095 -0
- package/dist/index.js.map +7 -0
- package/dist/index.mjs +982 -0
- package/dist/index.mjs.map +7 -0
- package/package.json +7 -13
- package/dist/index.cjs.js +0 -844
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.esm.js +0 -765
- package/dist/index.esm.js.map +0 -1
package/dist/index.d.ts
CHANGED
@@ -1,2138 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
type UnionKeys<T> = T extends T ? keyof T : never;
|
5
|
-
type StrictUnionHelper<T, TAll> = T extends any ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;
|
6
|
-
type StrictUnion<T> = StrictUnionHelper<T, T>;
|
7
|
-
declare module 'axios' {
|
8
|
-
interface AxiosRequestConfig<D = any, T = any> {
|
9
|
-
operationId: string;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
declare const axiosInstance: axios.AxiosInstance;
|
13
|
-
declare function setBaseURL(baseURL: string): void;
|
14
|
-
type ListUsers_User_UserInfo = {
|
15
|
-
user_id: string;
|
16
|
-
username: string;
|
17
|
-
registered_at?: string;
|
18
|
-
};
|
19
|
-
declare function listUsers({ offset, limit }: {
|
20
|
-
offset?: number;
|
21
|
-
limit?: number;
|
22
|
-
}): AxiosPromise<Array<ListUsers_User_UserInfo>>;
|
23
|
-
type RegisterUser_User_UserInfo = {
|
24
|
-
user_id: string;
|
25
|
-
username: string;
|
26
|
-
registered_at?: string;
|
27
|
-
};
|
28
|
-
declare function registerUser({ username }: {
|
29
|
-
username: string;
|
30
|
-
}): AxiosPromise<RegisterUser_User_UserInfo>;
|
31
|
-
type GetUser_User_UserInfo = {
|
32
|
-
user_id: string;
|
33
|
-
username: string;
|
34
|
-
registered_at?: string;
|
35
|
-
};
|
36
|
-
declare function getUser({ user_id }: {
|
37
|
-
user_id: string;
|
38
|
-
}): AxiosPromise<GetUser_User_UserInfo>;
|
39
|
-
declare function updateUser({ user_id, username }: {
|
40
|
-
user_id: string;
|
41
|
-
username: string;
|
42
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
43
|
-
type DeleteUser_Object = {
|
44
|
-
deleted_assets?: DeleteUser_Object;
|
45
|
-
};
|
46
|
-
declare function deleteUser({ user_id }: {
|
47
|
-
user_id: string;
|
48
|
-
}): AxiosPromise<DeleteUser_Object>;
|
49
|
-
type GenerateUserToken_Token = {
|
50
|
-
user_token?: string;
|
51
|
-
expires_in?: number;
|
52
|
-
expires_on?: number;
|
53
|
-
};
|
54
|
-
declare function generateUserToken({ user_id, scope, ttl }: {
|
55
|
-
user_id: string;
|
56
|
-
scope: "read" | "write" | "manage";
|
57
|
-
ttl?: string;
|
58
|
-
}): AxiosPromise<GenerateUserToken_Token>;
|
59
|
-
type GetUserGroups_Group_GroupInfo = {
|
60
|
-
group_id: string;
|
61
|
-
group_name: string;
|
62
|
-
group_description?: string;
|
63
|
-
created_at: string;
|
64
|
-
members: Array<GetUserGroups_GroupMember_GroupAccess>;
|
65
|
-
};
|
66
|
-
type GetUserGroups_GroupMember_GroupAccess = {
|
67
|
-
user_id: string;
|
68
|
-
joined_at?: string;
|
69
|
-
group_access: "read" | "write" | "manage";
|
70
|
-
folder_access: "read" | "write" | "manage";
|
71
|
-
};
|
72
|
-
declare function getUserGroups({ user_id }: {
|
73
|
-
user_id: string;
|
74
|
-
}): AxiosPromise<Array<GetUserGroups_Group_GroupInfo>>;
|
75
|
-
type GetUserUploadTasks_UploadTask = {
|
76
|
-
upload_task_id?: string;
|
77
|
-
folder_id?: string;
|
78
|
-
uploaded_at?: string;
|
79
|
-
uploaded_by?: string;
|
80
|
-
progress?: number;
|
81
|
-
status?: "waiting" | "pending" | "converting" | "error";
|
82
|
-
conversion_tasks?: Array<GetUserUploadTasks_ConversionTask>;
|
83
|
-
};
|
84
|
-
type GetUserUploadTasks_ConversionTask = {
|
85
|
-
asset_id?: string;
|
86
|
-
source_file_id?: string;
|
87
|
-
conversion_pipeline?: "auto-detect" | "volume" | "scene" | "texture" | "animation";
|
88
|
-
progress?: number;
|
89
|
-
status?: "waiting" | "pending" | "converting" | "error";
|
90
|
-
};
|
91
|
-
declare function getUserUploadTasks({ user_id, offset, limit }: {
|
92
|
-
user_id: string;
|
93
|
-
offset?: number;
|
94
|
-
limit?: number;
|
95
|
-
}): AxiosPromise<Array<GetUserUploadTasks_UploadTask>>;
|
96
|
-
type CreateGroup_GroupMember_GroupAccess = {
|
97
|
-
user_id: string;
|
98
|
-
group_access: "read" | "write" | "manage";
|
99
|
-
folder_access: "read" | "write" | "manage";
|
100
|
-
};
|
101
|
-
type CreateGroup_Group_GroupInfo = {
|
102
|
-
group_id: string;
|
103
|
-
group_name: string;
|
104
|
-
group_description?: string;
|
105
|
-
created_at: string;
|
106
|
-
members: Array<CreateGroup_GroupMember_GroupAccess_Writable>;
|
107
|
-
};
|
108
|
-
type CreateGroup_GroupMember_GroupAccess_Writable = {
|
109
|
-
user_id: string;
|
110
|
-
joined_at?: string;
|
111
|
-
group_access: "read" | "write" | "manage";
|
112
|
-
folder_access: "read" | "write" | "manage";
|
113
|
-
};
|
114
|
-
declare function createGroup({ group_name, group_description, members }: {
|
115
|
-
group_name: string;
|
116
|
-
group_description?: string;
|
117
|
-
members: Array<CreateGroup_GroupMember_GroupAccess>;
|
118
|
-
}): AxiosPromise<CreateGroup_Group_GroupInfo>;
|
119
|
-
type GetGroup_Group_GroupInfo = {
|
120
|
-
group_id: string;
|
121
|
-
group_name: string;
|
122
|
-
group_description?: string;
|
123
|
-
created_at: string;
|
124
|
-
members: Array<GetGroup_GroupMember_GroupAccess>;
|
125
|
-
};
|
126
|
-
type GetGroup_GroupMember_GroupAccess = {
|
127
|
-
user_id: string;
|
128
|
-
joined_at?: string;
|
129
|
-
group_access: "read" | "write" | "manage";
|
130
|
-
folder_access: "read" | "write" | "manage";
|
131
|
-
};
|
132
|
-
declare function getGroup({ group_id }: {
|
133
|
-
group_id: string;
|
134
|
-
}): AxiosPromise<GetGroup_Group_GroupInfo>;
|
135
|
-
declare function updateGroupDescription({ group_id, group_name, group_description }: {
|
136
|
-
group_id: string;
|
137
|
-
group_name: string;
|
138
|
-
group_description: string;
|
139
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
140
|
-
declare function deleteGroup({ group_id }: {
|
141
|
-
group_id: string;
|
142
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
143
|
-
declare function grantMemberAccessToGroup({ group_id, member_type, member_id, group_access, folder_access }: {
|
144
|
-
group_id: string;
|
145
|
-
member_type: "users" | "groups";
|
146
|
-
member_id: string;
|
147
|
-
group_access: "read" | "write" | "manage";
|
148
|
-
folder_access: "read" | "write" | "manage";
|
149
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
150
|
-
declare function revokeMemberAccessToGroup({ group_id, member_type, member_id }: {
|
151
|
-
group_id: string;
|
152
|
-
member_type: "users" | "groups";
|
153
|
-
member_id: string;
|
154
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
155
|
-
type ListFolders_Folder = {
|
156
|
-
folder_id: string;
|
157
|
-
parent_folder_id?: string;
|
158
|
-
folder_name: string;
|
159
|
-
created_at?: string;
|
160
|
-
created_by?: ListFolders_Object;
|
161
|
-
subfolders?: Array<ListFolders_Folder>;
|
162
|
-
source_file_count?: number;
|
163
|
-
asset_count?: number;
|
164
|
-
};
|
165
|
-
type ListFolders_Object = {
|
166
|
-
user_id: string;
|
167
|
-
username: string;
|
168
|
-
registered_at?: string;
|
169
|
-
};
|
170
|
-
declare function listFolders({ offset, limit }: {
|
171
|
-
offset?: number;
|
172
|
-
limit?: number;
|
173
|
-
}): AxiosPromise<Array<ListFolders_Folder>>;
|
174
|
-
type CreateFolder_Folder = {
|
175
|
-
folder_name: string;
|
176
|
-
subfolders?: Array<CreateFolder_Folder>;
|
177
|
-
};
|
178
|
-
type CreateFolder_Folder_Writable = {
|
179
|
-
folder_id: string;
|
180
|
-
parent_folder_id?: string;
|
181
|
-
folder_name: string;
|
182
|
-
created_at?: string;
|
183
|
-
created_by?: CreateFolder_Object;
|
184
|
-
subfolders?: Array<CreateFolder_Folder_Writable>;
|
185
|
-
source_file_count?: number;
|
186
|
-
asset_count?: number;
|
187
|
-
};
|
188
|
-
type CreateFolder_Object = {
|
189
|
-
user_id: string;
|
190
|
-
username: string;
|
191
|
-
registered_at?: string;
|
192
|
-
};
|
193
|
-
declare function createFolder({ folder_name, subfolders }: {
|
194
|
-
folder_name: string;
|
195
|
-
subfolders?: Array<CreateFolder_Folder>;
|
196
|
-
}): AxiosPromise<CreateFolder_Folder_Writable>;
|
197
|
-
type GetFolderInfo_Folder = {
|
198
|
-
folder_id: string;
|
199
|
-
parent_folder_id?: string;
|
200
|
-
folder_name: string;
|
201
|
-
created_at?: string;
|
202
|
-
created_by?: GetFolderInfo_Object;
|
203
|
-
subfolders?: Array<GetFolderInfo_Folder>;
|
204
|
-
source_file_count?: number;
|
205
|
-
asset_count?: number;
|
206
|
-
};
|
207
|
-
type GetFolderInfo_Object = {
|
208
|
-
user_id: string;
|
209
|
-
username: string;
|
210
|
-
registered_at?: string;
|
211
|
-
};
|
212
|
-
declare function getFolderInfo({ folder_id }: {
|
213
|
-
folder_id: string;
|
214
|
-
}): AxiosPromise<GetFolderInfo_Folder>;
|
215
|
-
declare function moveFolders({ folder_id, folderIds }: {
|
216
|
-
folder_id: string;
|
217
|
-
folderIds: Array<string>;
|
218
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
219
|
-
declare function updateFolder({ folder_id, folder_name }: {
|
220
|
-
folder_id: string;
|
221
|
-
folder_name?: string;
|
222
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
223
|
-
declare function deleteFolder({ folder_id }: {
|
224
|
-
folder_id: string;
|
225
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
226
|
-
type ListFolderAccesses_Object = {
|
227
|
-
users?: Array<ListFolderAccesses_UserInfo_FolderAccess>;
|
228
|
-
groups?: Array<ListFolderAccesses_GroupInfo_FolderAccess>;
|
229
|
-
};
|
230
|
-
type ListFolderAccesses_UserInfo_FolderAccess = {
|
231
|
-
user_id: string;
|
232
|
-
username: string;
|
233
|
-
access: "read" | "write" | "manage";
|
234
|
-
};
|
235
|
-
type ListFolderAccesses_GroupInfo_FolderAccess = {
|
236
|
-
group_id: string;
|
237
|
-
group_name: string;
|
238
|
-
access: "read" | "write" | "manage";
|
239
|
-
};
|
240
|
-
declare function listFolderAccesses({ folder_id }: {
|
241
|
-
folder_id: string;
|
242
|
-
}): AxiosPromise<ListFolderAccesses_Object>;
|
243
|
-
declare function grantMemberAccessToFolder({ folder_id, member_type, member_id, access }: {
|
244
|
-
folder_id: string;
|
245
|
-
member_type: "users" | "groups";
|
246
|
-
member_id: string;
|
247
|
-
access: "read" | "write" | "manage";
|
248
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
249
|
-
declare function revokeMemberAccessToFolder({ folder_id, member_type, member_id }: {
|
250
|
-
folder_id: string;
|
251
|
-
member_type: "users" | "groups";
|
252
|
-
member_id: string;
|
253
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
254
|
-
type CreateSubfolder_Folder = {
|
255
|
-
folder_name: string;
|
256
|
-
subfolders?: Array<CreateSubfolder_Folder>;
|
257
|
-
};
|
258
|
-
type CreateSubfolder_Folder_Writable = {
|
259
|
-
folder_id: string;
|
260
|
-
parent_folder_id?: string;
|
261
|
-
folder_name: string;
|
262
|
-
created_at?: string;
|
263
|
-
created_by?: CreateSubfolder_Object;
|
264
|
-
subfolders?: Array<CreateSubfolder_Folder_Writable>;
|
265
|
-
source_file_count?: number;
|
266
|
-
asset_count?: number;
|
267
|
-
};
|
268
|
-
type CreateSubfolder_Object = {
|
269
|
-
user_id: string;
|
270
|
-
username: string;
|
271
|
-
registered_at?: string;
|
272
|
-
};
|
273
|
-
declare function createSubfolder({ folder_id, folder_name, subfolders }: {
|
274
|
-
folder_id: string;
|
275
|
-
folder_name: string;
|
276
|
-
subfolders?: Array<CreateSubfolder_Folder>;
|
277
|
-
}): AxiosPromise<CreateSubfolder_Folder_Writable>;
|
278
|
-
type ListFolderSubFolders_Folder = {
|
279
|
-
folder_id: string;
|
280
|
-
parent_folder_id?: string;
|
281
|
-
folder_name: string;
|
282
|
-
created_at?: string;
|
283
|
-
created_by?: ListFolderSubFolders_Object;
|
284
|
-
subfolders?: Array<ListFolderSubFolders_Folder>;
|
285
|
-
source_file_count?: number;
|
286
|
-
asset_count?: number;
|
287
|
-
};
|
288
|
-
type ListFolderSubFolders_Object = {
|
289
|
-
user_id: string;
|
290
|
-
username: string;
|
291
|
-
registered_at?: string;
|
292
|
-
};
|
293
|
-
declare function listFolderSubFolders({ folder_id, depth }: {
|
294
|
-
folder_id: string;
|
295
|
-
depth?: number;
|
296
|
-
}): AxiosPromise<Array<ListFolderSubFolders_Folder>>;
|
297
|
-
type UploadSourceFiles_Object = {
|
298
|
-
upload_task_id?: string;
|
299
|
-
};
|
300
|
-
declare function uploadSourceFiles({ folder_id, body }: {
|
301
|
-
folder_id: string;
|
302
|
-
body: FormData;
|
303
|
-
}): AxiosPromise<UploadSourceFiles_Object>;
|
304
|
-
type GetSourceFilesInFolder_SourceFile = {
|
305
|
-
source_file_id?: string;
|
306
|
-
upload_task_id?: string;
|
307
|
-
source_file_original_name?: string;
|
308
|
-
source_file_name?: string;
|
309
|
-
size?: number;
|
310
|
-
};
|
311
|
-
declare function getSourceFilesInFolder({ folder_id, offset, limit }: {
|
312
|
-
folder_id: string;
|
313
|
-
offset?: number;
|
314
|
-
limit?: number;
|
315
|
-
}): AxiosPromise<Array<GetSourceFilesInFolder_SourceFile>>;
|
316
|
-
declare function moveSourceFiles({ folder_id, sourceFileIds }: {
|
317
|
-
folder_id: string;
|
318
|
-
sourceFileIds: Array<string>;
|
319
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
320
|
-
type GetUploadTasksInFolder_UploadTask = {
|
321
|
-
upload_task_id?: string;
|
322
|
-
folder_id?: string;
|
323
|
-
uploaded_at?: string;
|
324
|
-
uploaded_by?: string;
|
325
|
-
progress?: number;
|
326
|
-
status?: "waiting" | "pending" | "converting" | "error";
|
327
|
-
conversion_tasks?: Array<GetUploadTasksInFolder_ConversionTask>;
|
328
|
-
};
|
329
|
-
type GetUploadTasksInFolder_ConversionTask = {
|
330
|
-
asset_id?: string;
|
331
|
-
source_file_id?: string;
|
332
|
-
conversion_pipeline?: "auto-detect" | "volume" | "scene" | "texture" | "animation";
|
333
|
-
progress?: number;
|
334
|
-
status?: "waiting" | "pending" | "converting" | "error";
|
335
|
-
};
|
336
|
-
declare function getUploadTasksInFolder({ folder_id, offset, limit }: {
|
337
|
-
folder_id: string;
|
338
|
-
offset?: number;
|
339
|
-
limit?: number;
|
340
|
-
}): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>;
|
341
|
-
type GetFolderAssets_asset_list = {
|
342
|
-
animations?: Array<GetFolderAssets_asset_item>;
|
343
|
-
animationGraphs?: Array<GetFolderAssets_asset_item>;
|
344
|
-
animationSequences?: Array<GetFolderAssets_asset_item>;
|
345
|
-
animationSets?: Array<GetFolderAssets_asset_item>;
|
346
|
-
cubemaps?: Array<GetFolderAssets_asset_item>;
|
347
|
-
eventMaps?: Array<GetFolderAssets_asset_item>;
|
348
|
-
materials?: Array<GetFolderAssets_asset_item>;
|
349
|
-
meshes?: Array<GetFolderAssets_asset_item>;
|
350
|
-
pointClouds?: Array<GetFolderAssets_asset_item>;
|
351
|
-
renderGraphs?: Array<GetFolderAssets_asset_item>;
|
352
|
-
scenes?: Array<GetFolderAssets_asset_item>;
|
353
|
-
scripts?: Array<GetFolderAssets_asset_item>;
|
354
|
-
shaders?: Array<GetFolderAssets_asset_item>;
|
355
|
-
skeletons?: Array<GetFolderAssets_asset_item>;
|
356
|
-
sounds?: Array<GetFolderAssets_asset_item>;
|
357
|
-
textures?: Array<GetFolderAssets_asset_item>;
|
358
|
-
volumeMaterials?: Array<GetFolderAssets_asset_item>;
|
359
|
-
};
|
360
|
-
type GetFolderAssets_asset_item = {
|
361
|
-
asset_id: string;
|
362
|
-
asset_name: string;
|
363
|
-
};
|
364
|
-
declare function getFolderAssets({ folder_id, offset, limit }: {
|
365
|
-
folder_id: string;
|
366
|
-
offset?: number;
|
367
|
-
limit?: number;
|
368
|
-
}): AxiosPromise<GetFolderAssets_asset_list>;
|
369
|
-
declare function moveAssets({ folder_id, assetIds }: {
|
370
|
-
folder_id: string;
|
371
|
-
assetIds: Array<string>;
|
372
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
373
|
-
type CreateAsset_Object = {
|
374
|
-
copy_from_asset_id: string;
|
375
|
-
};
|
376
|
-
type CreateAsset_AssetDescription = {
|
377
|
-
name: string;
|
378
|
-
};
|
379
|
-
type CreateAsset_asset_item = {
|
380
|
-
asset_id: string;
|
381
|
-
asset_name: string;
|
382
|
-
};
|
383
|
-
declare function createAsset({ folder_id, asset_container_creatable, assetCreationOptions }: {
|
384
|
-
folder_id: string;
|
385
|
-
asset_container_creatable: "animationGraphs" | "animationSequences" | "cubemaps" | "eventMaps" | "materials" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "volumeMaterials";
|
386
|
-
assetCreationOptions: StrictUnion<CreateAsset_Object | CreateAsset_AssetDescription> & any;
|
387
|
-
}): AxiosPromise<CreateAsset_asset_item>;
|
388
|
-
type GetSessionsInFolder_Session = {
|
389
|
-
session_id: string;
|
390
|
-
scene_id: string;
|
391
|
-
scene_name: string;
|
392
|
-
folder_id: string;
|
393
|
-
max_users: number;
|
394
|
-
creator_user_id: string;
|
395
|
-
created_at: string;
|
396
|
-
country_code: string;
|
397
|
-
continent_code: string;
|
398
|
-
clients: Array<GetSessionsInFolder_UserInfo>;
|
399
|
-
};
|
400
|
-
type GetSessionsInFolder_UserInfo = {
|
401
|
-
client_id?: string;
|
402
|
-
client_type?: StrictUnion<'user' | 'guest'>;
|
403
|
-
user_id: string;
|
404
|
-
username: string;
|
405
|
-
};
|
406
|
-
declare function getSessionsInFolder({ folder_id }: {
|
407
|
-
folder_id: string;
|
408
|
-
}): AxiosPromise<Array<GetSessionsInFolder_Session>>;
|
409
|
-
type ListSourceFiles_SourceFile = {
|
410
|
-
source_file_id?: string;
|
411
|
-
upload_task_id?: string;
|
412
|
-
source_file_original_name?: string;
|
413
|
-
source_file_name?: string;
|
414
|
-
size?: number;
|
415
|
-
};
|
416
|
-
declare function listSourceFiles({ offset, limit }: {
|
417
|
-
offset?: number;
|
418
|
-
limit?: number;
|
419
|
-
}): AxiosPromise<Array<ListSourceFiles_SourceFile>>;
|
420
|
-
declare function deleteSourceFiles({ sourceFileIds }: {
|
421
|
-
sourceFileIds: Array<string>;
|
422
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
423
|
-
declare function downloadSourceFile({ source_file_id }: {
|
424
|
-
source_file_id: string;
|
425
|
-
}): AxiosPromise<ArrayBuffer>;
|
426
|
-
type GetSourceFileDetails_SourceFile = {
|
427
|
-
source_file_id?: string;
|
428
|
-
upload_task_id?: string;
|
429
|
-
source_file_original_name?: string;
|
430
|
-
source_file_name?: string;
|
431
|
-
size?: number;
|
432
|
-
};
|
433
|
-
declare function getSourceFileDetails({ source_file_id }: {
|
434
|
-
source_file_id: string;
|
435
|
-
}): AxiosPromise<GetSourceFileDetails_SourceFile>;
|
436
|
-
declare function updateSourceFileDetails({ source_file_id, source_file_name }: {
|
437
|
-
source_file_id: string;
|
438
|
-
source_file_name?: string;
|
439
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
440
|
-
type GetSourceFileAssets_asset_list = {
|
441
|
-
animations?: Array<GetSourceFileAssets_asset_item>;
|
442
|
-
animationGraphs?: Array<GetSourceFileAssets_asset_item>;
|
443
|
-
animationSequences?: Array<GetSourceFileAssets_asset_item>;
|
444
|
-
animationSets?: Array<GetSourceFileAssets_asset_item>;
|
445
|
-
cubemaps?: Array<GetSourceFileAssets_asset_item>;
|
446
|
-
eventMaps?: Array<GetSourceFileAssets_asset_item>;
|
447
|
-
materials?: Array<GetSourceFileAssets_asset_item>;
|
448
|
-
meshes?: Array<GetSourceFileAssets_asset_item>;
|
449
|
-
pointClouds?: Array<GetSourceFileAssets_asset_item>;
|
450
|
-
renderGraphs?: Array<GetSourceFileAssets_asset_item>;
|
451
|
-
scenes?: Array<GetSourceFileAssets_asset_item>;
|
452
|
-
scripts?: Array<GetSourceFileAssets_asset_item>;
|
453
|
-
shaders?: Array<GetSourceFileAssets_asset_item>;
|
454
|
-
skeletons?: Array<GetSourceFileAssets_asset_item>;
|
455
|
-
sounds?: Array<GetSourceFileAssets_asset_item>;
|
456
|
-
textures?: Array<GetSourceFileAssets_asset_item>;
|
457
|
-
volumeMaterials?: Array<GetSourceFileAssets_asset_item>;
|
458
|
-
};
|
459
|
-
type GetSourceFileAssets_asset_item = {
|
460
|
-
asset_id: string;
|
461
|
-
asset_name: string;
|
462
|
-
};
|
463
|
-
declare function getSourceFileAssets({ source_file_id }: {
|
464
|
-
source_file_id: string;
|
465
|
-
}): AxiosPromise<GetSourceFileAssets_asset_list>;
|
466
|
-
type GetUploadTask_UploadTask = {
|
467
|
-
upload_task_id?: string;
|
468
|
-
folder_id?: string;
|
469
|
-
uploaded_at?: string;
|
470
|
-
uploaded_by?: string;
|
471
|
-
progress?: number;
|
472
|
-
status?: "waiting" | "pending" | "converting" | "error";
|
473
|
-
conversion_tasks?: Array<GetUploadTask_ConversionTask>;
|
474
|
-
};
|
475
|
-
type GetUploadTask_ConversionTask = {
|
476
|
-
asset_id?: string;
|
477
|
-
source_file_id?: string;
|
478
|
-
conversion_pipeline?: "auto-detect" | "volume" | "scene" | "texture" | "animation";
|
479
|
-
progress?: number;
|
480
|
-
status?: "waiting" | "pending" | "converting" | "error";
|
481
|
-
};
|
482
|
-
declare function getUploadTask({ upload_task_id }: {
|
483
|
-
upload_task_id: string;
|
484
|
-
}): AxiosPromise<GetUploadTask_UploadTask>;
|
485
|
-
type ListAssets_asset_list = {
|
486
|
-
animations?: Array<ListAssets_asset_item>;
|
487
|
-
animationGraphs?: Array<ListAssets_asset_item>;
|
488
|
-
animationSequences?: Array<ListAssets_asset_item>;
|
489
|
-
animationSets?: Array<ListAssets_asset_item>;
|
490
|
-
cubemaps?: Array<ListAssets_asset_item>;
|
491
|
-
eventMaps?: Array<ListAssets_asset_item>;
|
492
|
-
materials?: Array<ListAssets_asset_item>;
|
493
|
-
meshes?: Array<ListAssets_asset_item>;
|
494
|
-
pointClouds?: Array<ListAssets_asset_item>;
|
495
|
-
renderGraphs?: Array<ListAssets_asset_item>;
|
496
|
-
scenes?: Array<ListAssets_asset_item>;
|
497
|
-
scripts?: Array<ListAssets_asset_item>;
|
498
|
-
shaders?: Array<ListAssets_asset_item>;
|
499
|
-
skeletons?: Array<ListAssets_asset_item>;
|
500
|
-
sounds?: Array<ListAssets_asset_item>;
|
501
|
-
textures?: Array<ListAssets_asset_item>;
|
502
|
-
volumeMaterials?: Array<ListAssets_asset_item>;
|
503
|
-
};
|
504
|
-
type ListAssets_asset_item = {
|
505
|
-
asset_id: string;
|
506
|
-
asset_name: string;
|
507
|
-
};
|
508
|
-
declare function listAssets({ offset, limit }: {
|
509
|
-
offset?: number;
|
510
|
-
limit?: number;
|
511
|
-
}): AxiosPromise<ListAssets_asset_list>;
|
512
|
-
declare function deleteAssets({ assetIds }: {
|
513
|
-
assetIds: Array<string>;
|
514
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
515
|
-
declare function deleteAsset({ asset_container, asset_id }: {
|
516
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
517
|
-
asset_id: string;
|
518
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
519
|
-
type GetAssetSourceFile_SourceFile = {
|
520
|
-
source_file_id?: string;
|
521
|
-
upload_task_id?: string;
|
522
|
-
source_file_original_name?: string;
|
523
|
-
source_file_name?: string;
|
524
|
-
size?: number;
|
525
|
-
};
|
526
|
-
declare function getAssetSourceFile({ asset_container, asset_id }: {
|
527
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
528
|
-
asset_id: string;
|
529
|
-
}): AxiosPromise<GetAssetSourceFile_SourceFile>;
|
530
|
-
type GetAssetDetails_asset_details = {
|
531
|
-
type: "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial";
|
532
|
-
asset_id: string;
|
533
|
-
name: string;
|
534
|
-
created_at?: string;
|
535
|
-
created_by?: GetAssetDetails_Object;
|
536
|
-
last_edited_at?: string;
|
537
|
-
last_edited_by?: GetAssetDetails_Object;
|
538
|
-
contributors?: Array<GetAssetDetails_UserContribution>;
|
539
|
-
};
|
540
|
-
type GetAssetDetails_Object = {
|
541
|
-
user_id: string;
|
542
|
-
username: string;
|
543
|
-
registered_at?: string;
|
544
|
-
};
|
545
|
-
type GetAssetDetails_UserContribution = {
|
546
|
-
user: GetAssetDetails_Object;
|
547
|
-
contribution_count: number;
|
548
|
-
};
|
549
|
-
declare function getAssetDetails({ asset_container, asset_id }: {
|
550
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
551
|
-
asset_id: string;
|
552
|
-
}): AxiosPromise<GetAssetDetails_asset_details>;
|
553
|
-
type GetAssetFolder_Folder = {
|
554
|
-
folder_id: string;
|
555
|
-
parent_folder_id?: string;
|
556
|
-
folder_name: string;
|
557
|
-
created_at?: string;
|
558
|
-
created_by?: GetAssetFolder_Object;
|
559
|
-
subfolders?: Array<GetAssetFolder_Folder>;
|
560
|
-
source_file_count?: number;
|
561
|
-
asset_count?: number;
|
562
|
-
};
|
563
|
-
type GetAssetFolder_Object = {
|
564
|
-
user_id: string;
|
565
|
-
username: string;
|
566
|
-
registered_at?: string;
|
567
|
-
};
|
568
|
-
declare function getAssetFolder({ asset_container, asset_id }: {
|
569
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
570
|
-
asset_id: string;
|
571
|
-
}): AxiosPromise<GetAssetFolder_Folder>;
|
572
|
-
type GetAssetDependencies_Filter = {
|
573
|
-
type?: "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial";
|
574
|
-
};
|
575
|
-
type GetAssetDependencies_Flat = {
|
576
|
-
animations?: Array<GetAssetDependencies_asset_item>;
|
577
|
-
animationGraphs?: Array<GetAssetDependencies_asset_item>;
|
578
|
-
animationSequences?: Array<GetAssetDependencies_asset_item>;
|
579
|
-
animationSets?: Array<GetAssetDependencies_asset_item>;
|
580
|
-
cubemaps?: Array<GetAssetDependencies_asset_item>;
|
581
|
-
eventMaps?: Array<GetAssetDependencies_asset_item>;
|
582
|
-
materials?: Array<GetAssetDependencies_asset_item>;
|
583
|
-
meshes?: Array<GetAssetDependencies_asset_item>;
|
584
|
-
pointClouds?: Array<GetAssetDependencies_asset_item>;
|
585
|
-
renderGraphs?: Array<GetAssetDependencies_asset_item>;
|
586
|
-
scenes?: Array<GetAssetDependencies_asset_item>;
|
587
|
-
scripts?: Array<GetAssetDependencies_asset_item>;
|
588
|
-
shaders?: Array<GetAssetDependencies_asset_item>;
|
589
|
-
skeletons?: Array<GetAssetDependencies_asset_item>;
|
590
|
-
sounds?: Array<GetAssetDependencies_asset_item>;
|
591
|
-
textures?: Array<GetAssetDependencies_asset_item>;
|
592
|
-
volumeMaterials?: Array<GetAssetDependencies_asset_item>;
|
593
|
-
};
|
594
|
-
type GetAssetDependencies_asset_item = {
|
595
|
-
asset_id: string;
|
596
|
-
asset_name: string;
|
597
|
-
};
|
598
|
-
declare function getAssetDependencies({ asset_container, asset_id, format, depth, filter }: {
|
599
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
600
|
-
asset_id: string;
|
601
|
-
format?: StrictUnion<'flat' | 'graph'> & string;
|
602
|
-
depth?: StrictUnion<'all' | 'direct'> & string;
|
603
|
-
filter?: GetAssetDependencies_Filter;
|
604
|
-
}): AxiosPromise<StrictUnion<GetAssetDependencies_Flat | Array<Array<GetAssetDependencies_asset_item>>>>;
|
605
|
-
type GetAssetReferences_Object = {
|
606
|
-
body: GetAssetReferences_Object;
|
607
|
-
};
|
608
|
-
declare function getAssetReferences({ asset_container, asset_id }: {
|
609
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
610
|
-
asset_id: string;
|
611
|
-
}): AxiosPromise<GetAssetReferences_Object>;
|
612
|
-
type GetAssetDescription_Animation = {
|
613
|
-
durationInMs: number;
|
614
|
-
payloadSize: number;
|
615
|
-
animationEventTrack: GetAssetDescription_Object;
|
616
|
-
skeletonRef?: string;
|
617
|
-
};
|
618
|
-
type GetAssetDescription_Object = {
|
619
|
-
eventNames?: Array<string>;
|
620
|
-
eventTimeline?: Array<GetAssetDescription_animation_event>;
|
621
|
-
};
|
622
|
-
type GetAssetDescription_animation_event = {
|
623
|
-
eventIndex?: number;
|
624
|
-
triggerTime?: number;
|
625
|
-
triggerGlobally?: boolean;
|
626
|
-
};
|
627
|
-
type GetAssetDescription_AnimationGraph = {
|
628
|
-
stateMachines?: Array<GetAssetDescription_animation_state_machine_description>;
|
629
|
-
inputDescriptor?: GetAssetDescription_Object;
|
630
|
-
};
|
631
|
-
type GetAssetDescription_animation_state_machine_description = {
|
632
|
-
states?: Array<GetAssetDescription_animation_state_description>;
|
633
|
-
transitions?: Array<GetAssetDescription_transition_description>;
|
634
|
-
};
|
635
|
-
type GetAssetDescription_animation_state_description = {
|
636
|
-
name?: string;
|
637
|
-
nodes?: Array<GetAssetDescription_animation_node_description>;
|
638
|
-
transitionIndices?: Array<number>;
|
639
|
-
};
|
640
|
-
type GetAssetDescription_animation_node_description = {
|
641
|
-
nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
|
642
|
-
inputs?: Array<number>;
|
643
|
-
settings?: StrictUnion<GetAssetDescription_playback_settings_animation_settings | GetAssetDescription_blendspace_1d_settings_animation_settings | GetAssetDescription_blendspace_2d_settings_animation_settings | GetAssetDescription_blend_settings | GetAssetDescription_random_settings | GetAssetDescription_animation_state_machine_settings | GetAssetDescription_ik_two_bone_settings | GetAssetDescription_ik_aim_settings> & any;
|
644
|
-
};
|
645
|
-
type GetAssetDescription_playback_settings_animation_settings = {
|
646
|
-
playbackSpeed?: number;
|
647
|
-
startOffset?: number;
|
648
|
-
loop?: boolean;
|
649
|
-
animationKey?: number;
|
650
|
-
};
|
651
|
-
type GetAssetDescription_blendspace_1d_settings_animation_settings = {
|
652
|
-
playbackSpeed?: number;
|
653
|
-
startOffset?: number;
|
654
|
-
loop?: boolean;
|
655
|
-
controlPoints?: Array<GetAssetDescription_blend_axis>;
|
656
|
-
horizontalAxis?: GetAssetDescription_Object;
|
657
|
-
};
|
658
|
-
type GetAssetDescription_blend_axis = {
|
659
|
-
name?: string;
|
660
|
-
rangeMin?: number;
|
661
|
-
rangeMax?: number;
|
662
|
-
};
|
663
|
-
type GetAssetDescription_blendspace_2d_settings_animation_settings = {
|
664
|
-
playbackSpeed?: number;
|
665
|
-
startOffset?: number;
|
666
|
-
loop?: boolean;
|
667
|
-
controlPoints?: Array<GetAssetDescription_blend_axis>;
|
668
|
-
horizontalAxis?: GetAssetDescription_Object;
|
669
|
-
verticalAxis?: GetAssetDescription_Object;
|
670
|
-
};
|
671
|
-
type GetAssetDescription_blend_settings = {
|
672
|
-
weights?: Array<number>;
|
673
|
-
boneIndices?: Array<number>;
|
674
|
-
};
|
675
|
-
type GetAssetDescription_random_settings = {
|
676
|
-
probabilities?: Array<number>;
|
677
|
-
};
|
678
|
-
type GetAssetDescription_animation_state_machine_settings = {
|
679
|
-
stateMachineIndex?: number;
|
680
|
-
};
|
681
|
-
type GetAssetDescription_ik_two_bone_settings = {
|
682
|
-
ws_poleVector?: Array<number>;
|
683
|
-
targetId?: string;
|
684
|
-
startJoint?: number;
|
685
|
-
midJoint?: number;
|
686
|
-
endJoint?: number;
|
687
|
-
soften?: number;
|
688
|
-
twistAngle?: number;
|
689
|
-
weight?: number;
|
690
|
-
};
|
691
|
-
type GetAssetDescription_ik_aim_settings = {
|
692
|
-
targetNameId?: string;
|
693
|
-
aimingBoneId?: string;
|
694
|
-
chainLength?: number;
|
695
|
-
eyesOffset?: Array<number>;
|
696
|
-
chainWeight?: number;
|
697
|
-
boneWeight?: number;
|
698
|
-
};
|
699
|
-
type GetAssetDescription_transition_description = {
|
700
|
-
durationInMs?: number;
|
701
|
-
exitTime?: number;
|
702
|
-
nextStateIndex?: number;
|
703
|
-
condition?: string;
|
704
|
-
};
|
705
|
-
type GetAssetDescription_AnimationSequence = {
|
706
|
-
inputDescriptor: GetAssetDescription_Object;
|
707
|
-
};
|
708
|
-
type GetAssetDescription_AnimationSet = {
|
709
|
-
animationSet: Array<GetAssetDescription_Object>;
|
710
|
-
animationGraphUUID: string;
|
711
|
-
};
|
712
|
-
type GetAssetDescription_Cubemap = {
|
713
|
-
faces: Array<string>;
|
714
|
-
};
|
715
|
-
type GetAssetDescription_EventMap = {
|
716
|
-
eventDescriptors: Array<GetAssetDescription_Object>;
|
717
|
-
};
|
718
|
-
type GetAssetDescription_Material = {
|
719
|
-
shaderRef: string;
|
720
|
-
skinnedShaderRef: string;
|
721
|
-
dataJson: GetAssetDescription_Object;
|
722
|
-
isDoubleSided: boolean;
|
723
|
-
};
|
724
|
-
type GetAssetDescription_Mesh = {
|
725
|
-
submeshes: Array<GetAssetDescription_submesh_description>;
|
726
|
-
payloadSize: number;
|
727
|
-
};
|
728
|
-
type GetAssetDescription_submesh_description = {
|
729
|
-
boundingBox: GetAssetDescription_Object;
|
730
|
-
channels: Array<GetAssetDescription_channel_description>;
|
731
|
-
payloadSize: number;
|
732
|
-
indexCount: number;
|
733
|
-
vertexCount?: number;
|
734
|
-
};
|
735
|
-
type GetAssetDescription_channel_description = {
|
736
|
-
semantic?: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
|
737
|
-
elementCount?: number;
|
738
|
-
elementType?: "dt_signed" | "dt_unsigned" | "dt_float";
|
739
|
-
elementSize?: number;
|
740
|
-
dataOffset?: number;
|
741
|
-
dataSize?: number;
|
742
|
-
};
|
743
|
-
type GetAssetDescription_PointCloud = {
|
744
|
-
format: "invalid" | "xyz32" | "xyz32_rgb8";
|
745
|
-
payloadTotalSize: number;
|
746
|
-
pointCount: number;
|
747
|
-
translation?: Array<number>;
|
748
|
-
scale?: Array<number>;
|
749
|
-
};
|
750
|
-
type GetAssetDescription_RenderGraph = {
|
751
|
-
renderTargetDescriptions?: Array<GetAssetDescription_render_target_description>;
|
752
|
-
nodeDataDescriptions?: Array<GetAssetDescription_node_data_description>;
|
753
|
-
renderPassDescriptions?: Array<GetAssetDescription_render_pass_description>;
|
754
|
-
graphOrder?: Array<GetAssetDescription_pair_int16_int16>;
|
755
|
-
inputDescriptor?: GetAssetDescription_Object;
|
756
|
-
stencilStates?: Array<GetAssetDescription_VkStencilOpState>;
|
757
|
-
blendStates?: Array<GetAssetDescription_VkPipelineColorBlendAttachmentState>;
|
758
|
-
defaultRenderTargetIndex?: number;
|
759
|
-
occlusionInputDepthRenderTargetIndex?: number;
|
760
|
-
};
|
761
|
-
type GetAssetDescription_render_target_description = {
|
762
|
-
name?: string;
|
763
|
-
format?: GetAssetDescription_Object;
|
764
|
-
sampleCount?: GetAssetDescription_Object;
|
765
|
-
usage?: GetAssetDescription_Object;
|
766
|
-
aspect?: GetAssetDescription_Object;
|
767
|
-
samplerType?: number;
|
768
|
-
mipLevels?: number;
|
769
|
-
extent?: GetAssetDescription_Object;
|
770
|
-
flags?: GetAssetDescription_Object;
|
771
|
-
tiling?: GetAssetDescription_Object;
|
772
|
-
memoryUsage?: GetAssetDescription_Object;
|
773
|
-
memoryType?: GetAssetDescription_Object;
|
774
|
-
};
|
775
|
-
type GetAssetDescription_node_data_description = {
|
776
|
-
name?: string;
|
777
|
-
frameNodeType?: "viewport" | "draw_batch" | "draw_batch_with_materials" | "dispatch_compute" | "blit_image" | "blit_image_pointer_to_dst" | "copy_image" | "resolve_image" | "node_draw_quad" | "generate_mip_chain" | "copy_to_cubemap" | "copy_to_light_cubemap" | "copy_to_reflection_cubemap" | "clear_images" | "timestamp" | "clear_point_cloud_buffer" | "draw_debug_lines" | "draw_skybox" | "draw_xr";
|
778
|
-
inputDepthRenderTargetIndices?: Array<number>;
|
779
|
-
outputDepthRenderTargetIndices?: Array<number>;
|
780
|
-
inputRenderTargetIndices?: Array<number>;
|
781
|
-
outputRenderTargetIndices?: Array<number>;
|
782
|
-
shaderRef?: GetAssetDescription_Object;
|
783
|
-
dataJson?: GetAssetDescription_Object;
|
784
|
-
aliases?: Array<any>;
|
785
|
-
batchType?: "opaque = 1 << 0" | "transparent = 1 << 1" | "static_meshes = 1 << 2" | "static_textured_meshes = 1 << 3" | "all_static_meshes = 1 << 4" | "skinned = 1 << 5" | "selected = 1 << 6" | "do_not_use_material = 1 << 7" | "double_sided = 1 << 8" | "single_sided = 1 << 9" | "pass_occlusion_test = 1 << 10";
|
786
|
-
pipelineDescription?: GetAssetDescription_Object;
|
787
|
-
copyToFaceIndex?: number;
|
788
|
-
drawIndirect?: boolean;
|
789
|
-
conditions?: Array<string>;
|
790
|
-
clearColors?: Array<GetAssetDescription_vec4>;
|
791
|
-
constDataType?: "none" | "material" | "skybox [[deprecated]]" | "debug" | "clear_ssao [[deprecated]]" | "ssao [[deprecated]]" | "blur [[deprecated]]" | "voxel" | "temporal_denoise [[deprecated]]" | "spatial_denoise [[deprecated]]" | "outline [[deprecated]]" | "bloom [[deprecated]]" | "atmosphere [[deprecated]]" | "ssr [[deprecated]]" | "compose_reflections [[deprecated]]" | "compose_outlines [[deprecated]]" | "compose_transparent [[deprecated]]" | "grid_quad [[deprecated]]" | "timestamp [[deprecated]]" | "volumetric_lighting [[deprecated]]" | "color_grading [[deprecated]]" | "exposure [[deprecated]]" | "minmip [[deprecated]]" | "gpu_occlusion_culling" | "cpu_occlusion_culling" | "edge_outline [[deprecated]]" | "point_cloud [[deprecated]]" | "downsample [[deprecated]]" | "upsample_combine [[deprecated]]";
|
792
|
-
};
|
793
|
-
type GetAssetDescription_vec4 = {
|
794
|
-
body: GetAssetDescription_Object;
|
795
|
-
};
|
796
|
-
type GetAssetDescription_render_pass_description = {
|
797
|
-
name?: string;
|
798
|
-
sampleCount?: number;
|
799
|
-
nodeIndices?: Array<number>;
|
800
|
-
colorAttachmentIndices?: Array<number>;
|
801
|
-
depthAttachmentIndex?: number;
|
802
|
-
resolveAttachmentIndices?: Array<number>;
|
803
|
-
colorAttachmentReferences?: Array<GetAssetDescription_VkAttachmentReference>;
|
804
|
-
depthAttachmentReference?: GetAssetDescription_Object;
|
805
|
-
resolveAttachmentReferences?: Array<GetAssetDescription_VkAttachmentReference>;
|
806
|
-
attachmentDescriptions?: Array<GetAssetDescription_VkAttachmentDescription>;
|
807
|
-
attachmentClearColors?: Array<GetAssetDescription_vec4>;
|
808
|
-
};
|
809
|
-
type GetAssetDescription_VkAttachmentReference = {
|
810
|
-
attachment?: number;
|
811
|
-
layout?: GetAssetDescription_Object;
|
812
|
-
};
|
813
|
-
type GetAssetDescription_VkAttachmentDescription = {
|
814
|
-
flags?: GetAssetDescription_Object;
|
815
|
-
format?: GetAssetDescription_Object;
|
816
|
-
samples?: GetAssetDescription_Object;
|
817
|
-
loadOp?: GetAssetDescription_Object;
|
818
|
-
storeOp?: GetAssetDescription_Object;
|
819
|
-
stencilLoadOp?: GetAssetDescription_Object;
|
820
|
-
stencilStoreOp?: GetAssetDescription_Object;
|
821
|
-
initialLayout?: GetAssetDescription_Object;
|
822
|
-
finalLayout?: GetAssetDescription_Object;
|
823
|
-
};
|
824
|
-
type GetAssetDescription_pair_int16_int16 = {
|
825
|
-
body: GetAssetDescription_Object;
|
826
|
-
};
|
827
|
-
type GetAssetDescription_VkStencilOpState = {
|
828
|
-
failOp?: GetAssetDescription_Object;
|
829
|
-
passOp?: GetAssetDescription_Object;
|
830
|
-
depthFailOp?: GetAssetDescription_Object;
|
831
|
-
compareOp?: GetAssetDescription_Object;
|
832
|
-
compareMask?: number;
|
833
|
-
writeMask?: number;
|
834
|
-
reference?: number;
|
835
|
-
};
|
836
|
-
type GetAssetDescription_VkPipelineColorBlendAttachmentState = {
|
837
|
-
blendEnable?: boolean;
|
838
|
-
srcColorBlendFactor?: GetAssetDescription_Object;
|
839
|
-
dstColorBlendFactor?: GetAssetDescription_Object;
|
840
|
-
colorBlendOp?: GetAssetDescription_Object;
|
841
|
-
srcAlphaBlendFactor?: GetAssetDescription_Object;
|
842
|
-
dstAlphaBlendFactor?: GetAssetDescription_Object;
|
843
|
-
alphaBlendOp?: GetAssetDescription_Object;
|
844
|
-
colorWriteMask?: GetAssetDescription_Object;
|
845
|
-
};
|
846
|
-
type GetAssetDescription_Scene = {
|
847
|
-
boundingBox?: GetAssetDescription_Object;
|
848
|
-
entities?: Array<GetAssetDescription_Object>;
|
849
|
-
triangleCount?: number;
|
850
|
-
settings?: GetAssetDescription_Object;
|
851
|
-
animationSequenceInstances?: Array<GetAssetDescription_animation_sequence_instance>;
|
852
|
-
};
|
853
|
-
type GetAssetDescription_animation_sequence_instance = {
|
854
|
-
ref?: string;
|
855
|
-
entities?: Array<string>;
|
856
|
-
dataJSON?: GetAssetDescription_Object;
|
857
|
-
durationInMs?: number;
|
858
|
-
loop?: boolean;
|
859
|
-
};
|
860
|
-
type GetAssetDescription_Script = {
|
861
|
-
inputDescriptor?: GetAssetDescription_Object;
|
862
|
-
eventNames: Array<string>;
|
863
|
-
subScripts?: Array<string>;
|
864
|
-
};
|
865
|
-
type GetAssetDescription_Shader = {
|
866
|
-
payloadSize: number;
|
867
|
-
shaderStages?: number;
|
868
|
-
moduleDescriptions?: Array<GetAssetDescription_shader_module_description>;
|
869
|
-
materialDescriptor?: GetAssetDescription_Object;
|
870
|
-
nodeDataDescriptor?: GetAssetDescription_Object;
|
871
|
-
vertexDescriptor?: Array<GetAssetDescription_vertex_attribute_descriptor>;
|
872
|
-
blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
|
873
|
-
localGroupCount?: Array<number>;
|
874
|
-
optGlobalGroupMultiplier?: Array<number>;
|
875
|
-
optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
|
876
|
-
};
|
877
|
-
type GetAssetDescription_shader_module_description = {
|
878
|
-
shaderStage?: GetAssetDescription_Object;
|
879
|
-
payloadOffset?: number;
|
880
|
-
payloadSize?: number;
|
881
|
-
usedBindings?: number;
|
882
|
-
};
|
883
|
-
type GetAssetDescription_vertex_attribute_descriptor = {
|
884
|
-
semantic?: "position = 1 << 0" | "normal = 1 << 1" | "tex_coord = 1 << 2" | "skin_bone_ids = 1 << 3" | "skin_weights = 1 << 4" | "custom = 1 << 5";
|
885
|
-
binding?: number;
|
886
|
-
location?: number;
|
887
|
-
stride?: number;
|
888
|
-
format?: GetAssetDescription_Object;
|
889
|
-
offset?: number;
|
890
|
-
};
|
891
|
-
type GetAssetDescription_Skeleton = {
|
892
|
-
payloadSize: number;
|
893
|
-
bones: Array<GetAssetDescription_bone_description>;
|
894
|
-
};
|
895
|
-
type GetAssetDescription_bone_description = {
|
896
|
-
name?: string;
|
897
|
-
childrenCount?: number;
|
898
|
-
firstChildIndex?: number;
|
899
|
-
parentIndex?: number;
|
900
|
-
offsetMatrix?: Array<number>;
|
901
|
-
};
|
902
|
-
type GetAssetDescription_Sound = {
|
903
|
-
payloadSize: number;
|
904
|
-
sampleCount: number;
|
905
|
-
durationInMs: number;
|
906
|
-
sampleFrequencyInHz: number;
|
907
|
-
bitDepth: number;
|
908
|
-
channelCount: number;
|
909
|
-
};
|
910
|
-
type GetAssetDescription_Texture = {
|
911
|
-
format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
|
912
|
-
payloadTotalSize: number;
|
913
|
-
mips: Array<GetAssetDescription_mip_description>;
|
914
|
-
};
|
915
|
-
type GetAssetDescription_mip_description = {
|
916
|
-
dimension?: Array<number>;
|
917
|
-
payloadSize?: number;
|
918
|
-
};
|
919
|
-
type GetAssetDescription_VolumeMaterial = {
|
920
|
-
albedoLUT?: Array<GetAssetDescription_control_point>;
|
921
|
-
opacityLUT?: Array<GetAssetDescription_control_point>;
|
922
|
-
metallicLUT?: Array<GetAssetDescription_control_point>;
|
923
|
-
roughnessLUT?: Array<GetAssetDescription_control_point>;
|
924
|
-
rangeMin?: number;
|
925
|
-
rangeMax?: number;
|
926
|
-
};
|
927
|
-
type GetAssetDescription_control_point = {
|
928
|
-
key?: number;
|
929
|
-
value?: StrictUnion<Array<number> | number> & any;
|
930
|
-
};
|
931
|
-
type GetAssetDescription_asset_description = {
|
932
|
-
uuid: string;
|
933
|
-
name: string;
|
934
|
-
};
|
935
|
-
declare function getAssetDescription({ asset_container, asset_id }: {
|
936
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
937
|
-
asset_id: string;
|
938
|
-
}): AxiosPromise<StrictUnion<GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_PointCloud | GetAssetDescription_RenderGraph | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_VolumeMaterial> & GetAssetDescription_asset_description>;
|
939
|
-
type UpdateAssetDescription_Animation = {
|
940
|
-
durationInMs: number;
|
941
|
-
payloadSize: number;
|
942
|
-
animationEventTrack: UpdateAssetDescription_Object;
|
943
|
-
skeletonRef?: string;
|
944
|
-
};
|
945
|
-
type UpdateAssetDescription_Object = {
|
946
|
-
eventNames?: Array<string>;
|
947
|
-
eventTimeline?: Array<UpdateAssetDescription_animation_event>;
|
948
|
-
};
|
949
|
-
type UpdateAssetDescription_animation_event = {
|
950
|
-
eventIndex?: number;
|
951
|
-
triggerTime?: number;
|
952
|
-
triggerGlobally?: boolean;
|
953
|
-
};
|
954
|
-
type UpdateAssetDescription_AnimationGraph = {
|
955
|
-
stateMachines?: Array<UpdateAssetDescription_animation_state_machine_description>;
|
956
|
-
inputDescriptor?: UpdateAssetDescription_Object;
|
957
|
-
};
|
958
|
-
type UpdateAssetDescription_animation_state_machine_description = {
|
959
|
-
states?: Array<UpdateAssetDescription_animation_state_description>;
|
960
|
-
transitions?: Array<UpdateAssetDescription_transition_description>;
|
961
|
-
};
|
962
|
-
type UpdateAssetDescription_animation_state_description = {
|
963
|
-
name?: string;
|
964
|
-
nodes?: Array<UpdateAssetDescription_animation_node_description>;
|
965
|
-
transitionIndices?: Array<number>;
|
966
|
-
};
|
967
|
-
type UpdateAssetDescription_animation_node_description = {
|
968
|
-
nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
|
969
|
-
inputs?: Array<number>;
|
970
|
-
settings?: StrictUnion<UpdateAssetDescription_playback_settings_animation_settings | UpdateAssetDescription_blendspace_1d_settings_animation_settings | UpdateAssetDescription_blendspace_2d_settings_animation_settings | UpdateAssetDescription_blend_settings | UpdateAssetDescription_random_settings | UpdateAssetDescription_animation_state_machine_settings | UpdateAssetDescription_ik_two_bone_settings | UpdateAssetDescription_ik_aim_settings> & any;
|
971
|
-
};
|
972
|
-
type UpdateAssetDescription_playback_settings_animation_settings = {
|
973
|
-
playbackSpeed?: number;
|
974
|
-
startOffset?: number;
|
975
|
-
loop?: boolean;
|
976
|
-
animationKey?: number;
|
977
|
-
};
|
978
|
-
type UpdateAssetDescription_blendspace_1d_settings_animation_settings = {
|
979
|
-
playbackSpeed?: number;
|
980
|
-
startOffset?: number;
|
981
|
-
loop?: boolean;
|
982
|
-
controlPoints?: Array<UpdateAssetDescription_blend_axis>;
|
983
|
-
horizontalAxis?: UpdateAssetDescription_Object;
|
984
|
-
};
|
985
|
-
type UpdateAssetDescription_blend_axis = {
|
986
|
-
name?: string;
|
987
|
-
rangeMin?: number;
|
988
|
-
rangeMax?: number;
|
989
|
-
};
|
990
|
-
type UpdateAssetDescription_blendspace_2d_settings_animation_settings = {
|
991
|
-
playbackSpeed?: number;
|
992
|
-
startOffset?: number;
|
993
|
-
loop?: boolean;
|
994
|
-
controlPoints?: Array<UpdateAssetDescription_blend_axis>;
|
995
|
-
horizontalAxis?: UpdateAssetDescription_Object;
|
996
|
-
verticalAxis?: UpdateAssetDescription_Object;
|
997
|
-
};
|
998
|
-
type UpdateAssetDescription_blend_settings = {
|
999
|
-
weights?: Array<number>;
|
1000
|
-
boneIndices?: Array<number>;
|
1001
|
-
};
|
1002
|
-
type UpdateAssetDescription_random_settings = {
|
1003
|
-
probabilities?: Array<number>;
|
1004
|
-
};
|
1005
|
-
type UpdateAssetDescription_animation_state_machine_settings = {
|
1006
|
-
stateMachineIndex?: number;
|
1007
|
-
};
|
1008
|
-
type UpdateAssetDescription_ik_two_bone_settings = {
|
1009
|
-
ws_poleVector?: Array<number>;
|
1010
|
-
targetId?: string;
|
1011
|
-
startJoint?: number;
|
1012
|
-
midJoint?: number;
|
1013
|
-
endJoint?: number;
|
1014
|
-
soften?: number;
|
1015
|
-
twistAngle?: number;
|
1016
|
-
weight?: number;
|
1017
|
-
};
|
1018
|
-
type UpdateAssetDescription_ik_aim_settings = {
|
1019
|
-
targetNameId?: string;
|
1020
|
-
aimingBoneId?: string;
|
1021
|
-
chainLength?: number;
|
1022
|
-
eyesOffset?: Array<number>;
|
1023
|
-
chainWeight?: number;
|
1024
|
-
boneWeight?: number;
|
1025
|
-
};
|
1026
|
-
type UpdateAssetDescription_transition_description = {
|
1027
|
-
durationInMs?: number;
|
1028
|
-
exitTime?: number;
|
1029
|
-
nextStateIndex?: number;
|
1030
|
-
condition?: string;
|
1031
|
-
};
|
1032
|
-
type UpdateAssetDescription_AnimationSequence = {
|
1033
|
-
inputDescriptor: UpdateAssetDescription_Object;
|
1034
|
-
};
|
1035
|
-
type UpdateAssetDescription_AnimationSet = {
|
1036
|
-
animationSet: Array<UpdateAssetDescription_Object>;
|
1037
|
-
animationGraphUUID: string;
|
1038
|
-
};
|
1039
|
-
type UpdateAssetDescription_Cubemap = {
|
1040
|
-
faces: Array<string>;
|
1041
|
-
};
|
1042
|
-
type UpdateAssetDescription_EventMap = {
|
1043
|
-
eventDescriptors: Array<UpdateAssetDescription_Object>;
|
1044
|
-
};
|
1045
|
-
type UpdateAssetDescription_Material = {
|
1046
|
-
shaderRef: string;
|
1047
|
-
skinnedShaderRef: string;
|
1048
|
-
dataJson: UpdateAssetDescription_Object;
|
1049
|
-
isDoubleSided: boolean;
|
1050
|
-
};
|
1051
|
-
type UpdateAssetDescription_Mesh = {
|
1052
|
-
submeshes: Array<UpdateAssetDescription_submesh_description>;
|
1053
|
-
payloadSize: number;
|
1054
|
-
};
|
1055
|
-
type UpdateAssetDescription_submesh_description = {
|
1056
|
-
boundingBox: UpdateAssetDescription_Object;
|
1057
|
-
channels: Array<UpdateAssetDescription_channel_description>;
|
1058
|
-
payloadSize: number;
|
1059
|
-
indexCount: number;
|
1060
|
-
vertexCount?: number;
|
1061
|
-
};
|
1062
|
-
type UpdateAssetDescription_channel_description = {
|
1063
|
-
semantic?: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
|
1064
|
-
elementCount?: number;
|
1065
|
-
elementType?: "dt_signed" | "dt_unsigned" | "dt_float";
|
1066
|
-
elementSize?: number;
|
1067
|
-
dataOffset?: number;
|
1068
|
-
dataSize?: number;
|
1069
|
-
};
|
1070
|
-
type UpdateAssetDescription_PointCloud = {
|
1071
|
-
format: "invalid" | "xyz32" | "xyz32_rgb8";
|
1072
|
-
payloadTotalSize: number;
|
1073
|
-
pointCount: number;
|
1074
|
-
translation?: Array<number>;
|
1075
|
-
scale?: Array<number>;
|
1076
|
-
};
|
1077
|
-
type UpdateAssetDescription_RenderGraph = {
|
1078
|
-
renderTargetDescriptions?: Array<UpdateAssetDescription_render_target_description>;
|
1079
|
-
nodeDataDescriptions?: Array<UpdateAssetDescription_node_data_description>;
|
1080
|
-
renderPassDescriptions?: Array<UpdateAssetDescription_render_pass_description>;
|
1081
|
-
graphOrder?: Array<UpdateAssetDescription_pair_int16_int16>;
|
1082
|
-
inputDescriptor?: UpdateAssetDescription_Object;
|
1083
|
-
stencilStates?: Array<UpdateAssetDescription_VkStencilOpState>;
|
1084
|
-
blendStates?: Array<UpdateAssetDescription_VkPipelineColorBlendAttachmentState>;
|
1085
|
-
defaultRenderTargetIndex?: number;
|
1086
|
-
occlusionInputDepthRenderTargetIndex?: number;
|
1087
|
-
};
|
1088
|
-
type UpdateAssetDescription_render_target_description = {
|
1089
|
-
name?: string;
|
1090
|
-
format?: UpdateAssetDescription_Object;
|
1091
|
-
sampleCount?: UpdateAssetDescription_Object;
|
1092
|
-
usage?: UpdateAssetDescription_Object;
|
1093
|
-
aspect?: UpdateAssetDescription_Object;
|
1094
|
-
samplerType?: number;
|
1095
|
-
mipLevels?: number;
|
1096
|
-
extent?: UpdateAssetDescription_Object;
|
1097
|
-
flags?: UpdateAssetDescription_Object;
|
1098
|
-
tiling?: UpdateAssetDescription_Object;
|
1099
|
-
memoryUsage?: UpdateAssetDescription_Object;
|
1100
|
-
memoryType?: UpdateAssetDescription_Object;
|
1101
|
-
};
|
1102
|
-
type UpdateAssetDescription_node_data_description = {
|
1103
|
-
name?: string;
|
1104
|
-
frameNodeType?: "viewport" | "draw_batch" | "draw_batch_with_materials" | "dispatch_compute" | "blit_image" | "blit_image_pointer_to_dst" | "copy_image" | "resolve_image" | "node_draw_quad" | "generate_mip_chain" | "copy_to_cubemap" | "copy_to_light_cubemap" | "copy_to_reflection_cubemap" | "clear_images" | "timestamp" | "clear_point_cloud_buffer" | "draw_debug_lines" | "draw_skybox" | "draw_xr";
|
1105
|
-
inputDepthRenderTargetIndices?: Array<number>;
|
1106
|
-
outputDepthRenderTargetIndices?: Array<number>;
|
1107
|
-
inputRenderTargetIndices?: Array<number>;
|
1108
|
-
outputRenderTargetIndices?: Array<number>;
|
1109
|
-
shaderRef?: UpdateAssetDescription_Object;
|
1110
|
-
dataJson?: UpdateAssetDescription_Object;
|
1111
|
-
aliases?: Array<any>;
|
1112
|
-
batchType?: "opaque = 1 << 0" | "transparent = 1 << 1" | "static_meshes = 1 << 2" | "static_textured_meshes = 1 << 3" | "all_static_meshes = 1 << 4" | "skinned = 1 << 5" | "selected = 1 << 6" | "do_not_use_material = 1 << 7" | "double_sided = 1 << 8" | "single_sided = 1 << 9" | "pass_occlusion_test = 1 << 10";
|
1113
|
-
pipelineDescription?: UpdateAssetDescription_Object;
|
1114
|
-
copyToFaceIndex?: number;
|
1115
|
-
drawIndirect?: boolean;
|
1116
|
-
conditions?: Array<string>;
|
1117
|
-
clearColors?: Array<UpdateAssetDescription_vec4>;
|
1118
|
-
constDataType?: "none" | "material" | "skybox [[deprecated]]" | "debug" | "clear_ssao [[deprecated]]" | "ssao [[deprecated]]" | "blur [[deprecated]]" | "voxel" | "temporal_denoise [[deprecated]]" | "spatial_denoise [[deprecated]]" | "outline [[deprecated]]" | "bloom [[deprecated]]" | "atmosphere [[deprecated]]" | "ssr [[deprecated]]" | "compose_reflections [[deprecated]]" | "compose_outlines [[deprecated]]" | "compose_transparent [[deprecated]]" | "grid_quad [[deprecated]]" | "timestamp [[deprecated]]" | "volumetric_lighting [[deprecated]]" | "color_grading [[deprecated]]" | "exposure [[deprecated]]" | "minmip [[deprecated]]" | "gpu_occlusion_culling" | "cpu_occlusion_culling" | "edge_outline [[deprecated]]" | "point_cloud [[deprecated]]" | "downsample [[deprecated]]" | "upsample_combine [[deprecated]]";
|
1119
|
-
};
|
1120
|
-
type UpdateAssetDescription_vec4 = {
|
1121
|
-
body: UpdateAssetDescription_Object;
|
1122
|
-
};
|
1123
|
-
type UpdateAssetDescription_render_pass_description = {
|
1124
|
-
name?: string;
|
1125
|
-
sampleCount?: number;
|
1126
|
-
nodeIndices?: Array<number>;
|
1127
|
-
colorAttachmentIndices?: Array<number>;
|
1128
|
-
depthAttachmentIndex?: number;
|
1129
|
-
resolveAttachmentIndices?: Array<number>;
|
1130
|
-
colorAttachmentReferences?: Array<UpdateAssetDescription_VkAttachmentReference>;
|
1131
|
-
depthAttachmentReference?: UpdateAssetDescription_Object;
|
1132
|
-
resolveAttachmentReferences?: Array<UpdateAssetDescription_VkAttachmentReference>;
|
1133
|
-
attachmentDescriptions?: Array<UpdateAssetDescription_VkAttachmentDescription>;
|
1134
|
-
attachmentClearColors?: Array<UpdateAssetDescription_vec4>;
|
1135
|
-
};
|
1136
|
-
type UpdateAssetDescription_VkAttachmentReference = {
|
1137
|
-
attachment?: number;
|
1138
|
-
layout?: UpdateAssetDescription_Object;
|
1139
|
-
};
|
1140
|
-
type UpdateAssetDescription_VkAttachmentDescription = {
|
1141
|
-
flags?: UpdateAssetDescription_Object;
|
1142
|
-
format?: UpdateAssetDescription_Object;
|
1143
|
-
samples?: UpdateAssetDescription_Object;
|
1144
|
-
loadOp?: UpdateAssetDescription_Object;
|
1145
|
-
storeOp?: UpdateAssetDescription_Object;
|
1146
|
-
stencilLoadOp?: UpdateAssetDescription_Object;
|
1147
|
-
stencilStoreOp?: UpdateAssetDescription_Object;
|
1148
|
-
initialLayout?: UpdateAssetDescription_Object;
|
1149
|
-
finalLayout?: UpdateAssetDescription_Object;
|
1150
|
-
};
|
1151
|
-
type UpdateAssetDescription_pair_int16_int16 = {
|
1152
|
-
body: UpdateAssetDescription_Object;
|
1153
|
-
};
|
1154
|
-
type UpdateAssetDescription_VkStencilOpState = {
|
1155
|
-
failOp?: UpdateAssetDescription_Object;
|
1156
|
-
passOp?: UpdateAssetDescription_Object;
|
1157
|
-
depthFailOp?: UpdateAssetDescription_Object;
|
1158
|
-
compareOp?: UpdateAssetDescription_Object;
|
1159
|
-
compareMask?: number;
|
1160
|
-
writeMask?: number;
|
1161
|
-
reference?: number;
|
1162
|
-
};
|
1163
|
-
type UpdateAssetDescription_VkPipelineColorBlendAttachmentState = {
|
1164
|
-
blendEnable?: boolean;
|
1165
|
-
srcColorBlendFactor?: UpdateAssetDescription_Object;
|
1166
|
-
dstColorBlendFactor?: UpdateAssetDescription_Object;
|
1167
|
-
colorBlendOp?: UpdateAssetDescription_Object;
|
1168
|
-
srcAlphaBlendFactor?: UpdateAssetDescription_Object;
|
1169
|
-
dstAlphaBlendFactor?: UpdateAssetDescription_Object;
|
1170
|
-
alphaBlendOp?: UpdateAssetDescription_Object;
|
1171
|
-
colorWriteMask?: UpdateAssetDescription_Object;
|
1172
|
-
};
|
1173
|
-
type UpdateAssetDescription_Scene = {
|
1174
|
-
boundingBox?: UpdateAssetDescription_Object;
|
1175
|
-
entities?: Array<UpdateAssetDescription_Object>;
|
1176
|
-
triangleCount?: number;
|
1177
|
-
settings?: UpdateAssetDescription_Object;
|
1178
|
-
animationSequenceInstances?: Array<UpdateAssetDescription_animation_sequence_instance>;
|
1179
|
-
};
|
1180
|
-
type UpdateAssetDescription_animation_sequence_instance = {
|
1181
|
-
ref?: string;
|
1182
|
-
entities?: Array<string>;
|
1183
|
-
dataJSON?: UpdateAssetDescription_Object;
|
1184
|
-
durationInMs?: number;
|
1185
|
-
loop?: boolean;
|
1186
|
-
};
|
1187
|
-
type UpdateAssetDescription_Script = {
|
1188
|
-
inputDescriptor?: UpdateAssetDescription_Object;
|
1189
|
-
eventNames: Array<string>;
|
1190
|
-
subScripts?: Array<string>;
|
1191
|
-
};
|
1192
|
-
type UpdateAssetDescription_Shader = {
|
1193
|
-
payloadSize: number;
|
1194
|
-
shaderStages?: number;
|
1195
|
-
moduleDescriptions?: Array<UpdateAssetDescription_shader_module_description>;
|
1196
|
-
materialDescriptor?: UpdateAssetDescription_Object;
|
1197
|
-
nodeDataDescriptor?: UpdateAssetDescription_Object;
|
1198
|
-
vertexDescriptor?: Array<UpdateAssetDescription_vertex_attribute_descriptor>;
|
1199
|
-
blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
|
1200
|
-
localGroupCount?: Array<number>;
|
1201
|
-
optGlobalGroupMultiplier?: Array<number>;
|
1202
|
-
optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
|
1203
|
-
};
|
1204
|
-
type UpdateAssetDescription_shader_module_description = {
|
1205
|
-
shaderStage?: UpdateAssetDescription_Object;
|
1206
|
-
payloadOffset?: number;
|
1207
|
-
payloadSize?: number;
|
1208
|
-
usedBindings?: number;
|
1209
|
-
};
|
1210
|
-
type UpdateAssetDescription_vertex_attribute_descriptor = {
|
1211
|
-
semantic?: "position = 1 << 0" | "normal = 1 << 1" | "tex_coord = 1 << 2" | "skin_bone_ids = 1 << 3" | "skin_weights = 1 << 4" | "custom = 1 << 5";
|
1212
|
-
binding?: number;
|
1213
|
-
location?: number;
|
1214
|
-
stride?: number;
|
1215
|
-
format?: UpdateAssetDescription_Object;
|
1216
|
-
offset?: number;
|
1217
|
-
};
|
1218
|
-
type UpdateAssetDescription_Skeleton = {
|
1219
|
-
payloadSize: number;
|
1220
|
-
bones: Array<UpdateAssetDescription_bone_description>;
|
1221
|
-
};
|
1222
|
-
type UpdateAssetDescription_bone_description = {
|
1223
|
-
name?: string;
|
1224
|
-
childrenCount?: number;
|
1225
|
-
firstChildIndex?: number;
|
1226
|
-
parentIndex?: number;
|
1227
|
-
offsetMatrix?: Array<number>;
|
1228
|
-
};
|
1229
|
-
type UpdateAssetDescription_Sound = {
|
1230
|
-
payloadSize: number;
|
1231
|
-
sampleCount: number;
|
1232
|
-
durationInMs: number;
|
1233
|
-
sampleFrequencyInHz: number;
|
1234
|
-
bitDepth: number;
|
1235
|
-
channelCount: number;
|
1236
|
-
};
|
1237
|
-
type UpdateAssetDescription_Texture = {
|
1238
|
-
format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
|
1239
|
-
payloadTotalSize: number;
|
1240
|
-
mips: Array<UpdateAssetDescription_mip_description>;
|
1241
|
-
};
|
1242
|
-
type UpdateAssetDescription_mip_description = {
|
1243
|
-
dimension?: Array<number>;
|
1244
|
-
payloadSize?: number;
|
1245
|
-
};
|
1246
|
-
type UpdateAssetDescription_VolumeMaterial = {
|
1247
|
-
albedoLUT?: Array<UpdateAssetDescription_control_point>;
|
1248
|
-
opacityLUT?: Array<UpdateAssetDescription_control_point>;
|
1249
|
-
metallicLUT?: Array<UpdateAssetDescription_control_point>;
|
1250
|
-
roughnessLUT?: Array<UpdateAssetDescription_control_point>;
|
1251
|
-
rangeMin?: number;
|
1252
|
-
rangeMax?: number;
|
1253
|
-
};
|
1254
|
-
type UpdateAssetDescription_control_point = {
|
1255
|
-
key?: number;
|
1256
|
-
value?: StrictUnion<Array<number> | number> & any;
|
1257
|
-
};
|
1258
|
-
declare function updateAssetDescription({ asset_container, asset_id, assetDescription }: {
|
1259
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
1260
|
-
asset_id: string;
|
1261
|
-
assetDescription: StrictUnion<UpdateAssetDescription_Animation | UpdateAssetDescription_AnimationGraph | UpdateAssetDescription_AnimationSequence | UpdateAssetDescription_AnimationSet | UpdateAssetDescription_Cubemap | UpdateAssetDescription_EventMap | UpdateAssetDescription_Material | UpdateAssetDescription_Mesh | UpdateAssetDescription_PointCloud | UpdateAssetDescription_RenderGraph | UpdateAssetDescription_Scene | UpdateAssetDescription_Script | UpdateAssetDescription_Shader | UpdateAssetDescription_Skeleton | UpdateAssetDescription_Sound | UpdateAssetDescription_Texture | UpdateAssetDescription_VolumeMaterial> & UpdateAssetDescription_Object;
|
1262
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
1263
|
-
declare function getAssetPayload({ asset_container_with_payload, asset_id }: {
|
1264
|
-
asset_container_with_payload: "animations" | "animationSequences" | "meshes" | "pointClouds" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures";
|
1265
|
-
asset_id: string;
|
1266
|
-
}): AxiosPromise<ArrayBuffer>;
|
1267
|
-
type GetAssetHistory_Object = {
|
1268
|
-
body: GetAssetHistory_Object;
|
1269
|
-
};
|
1270
|
-
declare function getAssetHistory({ asset_container, asset_id }: {
|
1271
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
1272
|
-
asset_id: string;
|
1273
|
-
}): AxiosPromise<GetAssetHistory_Object>;
|
1274
|
-
type GetAssetMeta_Object = {
|
1275
|
-
body: GetAssetMeta_Object;
|
1276
|
-
};
|
1277
|
-
declare function getAssetMeta({ asset_container, asset_id }: {
|
1278
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
1279
|
-
asset_id: string;
|
1280
|
-
}): AxiosPromise<GetAssetMeta_Object>;
|
1281
|
-
declare function getAssetCode({ asset_container_with_code, asset_id }: {
|
1282
|
-
asset_container_with_code: "animationSequences" | "scripts" | "shaders";
|
1283
|
-
asset_id: string;
|
1284
|
-
}): AxiosPromise<string>;
|
1285
|
-
declare function getAssetThumbnail({ asset_container, asset_id, size, default_url }: {
|
1286
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
1287
|
-
asset_id: string;
|
1288
|
-
size: "large" | "medium" | "small" | "tiny";
|
1289
|
-
default_url?: string;
|
1290
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
1291
|
-
declare function setAssetThumbnail({ asset_container, asset_id, body }: {
|
1292
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
1293
|
-
asset_id: string;
|
1294
|
-
body: ArrayBuffer;
|
1295
|
-
}, contentType: 'image/jpg' | 'image/png'): Promise<axios.AxiosResponse<any, any>>;
|
1296
|
-
type GetAssetCustomTypes_Object = {
|
1297
|
-
body: GetAssetCustomTypes_Object;
|
1298
|
-
};
|
1299
|
-
declare function getAssetCustomTypes({ asset_container_with_custom_types, asset_id }: {
|
1300
|
-
asset_container_with_custom_types: "modules";
|
1301
|
-
asset_id: string;
|
1302
|
-
}): AxiosPromise<GetAssetCustomTypes_Object>;
|
1303
|
-
declare function packageAsset({ asset_container, asset_id }: {
|
1304
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
1305
|
-
asset_id: string;
|
1306
|
-
}): AxiosPromise<ArrayBuffer>;
|
1307
|
-
declare function exportAsset({ asset_container_exportable, asset_id, format, scale }: {
|
1308
|
-
asset_container_exportable: "meshes" | "sounds";
|
1309
|
-
asset_id: string;
|
1310
|
-
format: "obj" | "stl";
|
1311
|
-
scale?: number;
|
1312
|
-
}): AxiosPromise<ArrayBuffer>;
|
1313
|
-
type GetSceneSessions_Session = {
|
1314
|
-
session_id: string;
|
1315
|
-
scene_id: string;
|
1316
|
-
scene_name: string;
|
1317
|
-
folder_id: string;
|
1318
|
-
max_users: number;
|
1319
|
-
creator_user_id: string;
|
1320
|
-
created_at: string;
|
1321
|
-
country_code: string;
|
1322
|
-
continent_code: string;
|
1323
|
-
clients: Array<GetSceneSessions_UserInfo>;
|
1324
|
-
};
|
1325
|
-
type GetSceneSessions_UserInfo = {
|
1326
|
-
client_id?: string;
|
1327
|
-
client_type?: StrictUnion<'user' | 'guest'>;
|
1328
|
-
user_id: string;
|
1329
|
-
username: string;
|
1330
|
-
};
|
1331
|
-
declare function getSceneSessions({ scene_id }: {
|
1332
|
-
scene_id: string;
|
1333
|
-
}): AxiosPromise<Array<GetSceneSessions_Session>>;
|
1334
|
-
type GetSceneAabb_Object = {
|
1335
|
-
max: Array<number>;
|
1336
|
-
min: Array<number>;
|
1337
|
-
};
|
1338
|
-
declare function getSceneAABB({ scene_id }: {
|
1339
|
-
scene_id: string;
|
1340
|
-
}): AxiosPromise<GetSceneAabb_Object>;
|
1341
|
-
type GetEntity_animation_controller = {
|
1342
|
-
animation_controller: GetEntity_AnimationController;
|
1343
|
-
};
|
1344
|
-
type GetEntity_AnimationController = {
|
1345
|
-
animationGraphRef: string;
|
1346
|
-
animationSetRef: string;
|
1347
|
-
dataJSON: GetEntity_Json;
|
1348
|
-
rootBoneEntityRef: GetEntity_EntityReference;
|
1349
|
-
rootMotionEnabled: boolean;
|
1350
|
-
};
|
1351
|
-
type GetEntity_Json = {
|
1352
|
-
json: GetEntity_Json;
|
1353
|
-
};
|
1354
|
-
type GetEntity_EntityReference = {
|
1355
|
-
originalEUID: string;
|
1356
|
-
linkage: Array<string>;
|
1357
|
-
};
|
1358
|
-
type GetEntity_bone = {
|
1359
|
-
bone: GetEntity_Bone;
|
1360
|
-
};
|
1361
|
-
type GetEntity_Bone = {
|
1362
|
-
boneIndex: number;
|
1363
|
-
};
|
1364
|
-
type GetEntity_box_geometry = {
|
1365
|
-
box_geometry: GetEntity_BoxGeometry;
|
1366
|
-
};
|
1367
|
-
type GetEntity_BoxGeometry = {
|
1368
|
-
dimension?: Array<number>;
|
1369
|
-
isAdditive?: boolean;
|
1370
|
-
offset?: Array<number>;
|
1371
|
-
};
|
1372
|
-
type GetEntity_camera = {
|
1373
|
-
camera: GetEntity_Camera;
|
1374
|
-
};
|
1375
|
-
type GetEntity_Camera = {
|
1376
|
-
renderGraphRef: string;
|
1377
|
-
renderTargetIndex?: number;
|
1378
|
-
dataJSON: GetEntity_Json;
|
1379
|
-
};
|
1380
|
-
type GetEntity_capsule_geometry = {
|
1381
|
-
capsule_geometry: GetEntity_CapsuleGeometry;
|
1382
|
-
};
|
1383
|
-
type GetEntity_CapsuleGeometry = {
|
1384
|
-
radius?: number;
|
1385
|
-
height?: number;
|
1386
|
-
axis?: number;
|
1387
|
-
isAdditive?: boolean;
|
1388
|
-
offset?: Array<number>;
|
1389
|
-
};
|
1390
|
-
type GetEntity_character_controller = {
|
1391
|
-
character_controller: GetEntity_CharacterController;
|
1392
|
-
};
|
1393
|
-
type GetEntity_CharacterController = {
|
1394
|
-
stepOffset?: number;
|
1395
|
-
slopeLimit?: number;
|
1396
|
-
skinWidth?: number;
|
1397
|
-
velocity?: Array<number>;
|
1398
|
-
};
|
1399
|
-
type GetEntity_collision_geometry_ref = {
|
1400
|
-
collision_geometry_ref: GetEntity_CollisionGeometryRef;
|
1401
|
-
};
|
1402
|
-
type GetEntity_CollisionGeometryRef = {
|
1403
|
-
collisionGeometryRef: string;
|
1404
|
-
};
|
1405
|
-
type GetEntity_cylinder_geometry = {
|
1406
|
-
cylinder_geometry: GetEntity_CylinderGeometry;
|
1407
|
-
};
|
1408
|
-
type GetEntity_CylinderGeometry = {
|
1409
|
-
radius?: number;
|
1410
|
-
height?: number;
|
1411
|
-
axis?: number;
|
1412
|
-
isAdditive?: boolean;
|
1413
|
-
offset?: Array<number>;
|
1414
|
-
};
|
1415
|
-
type GetEntity_debug_name = {
|
1416
|
-
debug_name: GetEntity_Name;
|
1417
|
-
};
|
1418
|
-
type GetEntity_Name = {
|
1419
|
-
value: string;
|
1420
|
-
};
|
1421
|
-
type GetEntity_decal_projector = {
|
1422
|
-
decal_projector: GetEntity_DecalProjector;
|
1423
|
-
};
|
1424
|
-
type GetEntity_DecalProjector = {
|
1425
|
-
zIndex?: number;
|
1426
|
-
};
|
1427
|
-
type GetEntity_environment = {
|
1428
|
-
environment: GetEntity_Environment;
|
1429
|
-
};
|
1430
|
-
type GetEntity_Environment = {
|
1431
|
-
skyboxUUID: string;
|
1432
|
-
radianceUUID: string;
|
1433
|
-
irradianceUUID: string;
|
1434
|
-
};
|
1435
|
-
type GetEntity_joint = {
|
1436
|
-
joint: GetEntity_Joint;
|
1437
|
-
};
|
1438
|
-
type GetEntity_Joint = {
|
1439
|
-
constrainee: GetEntity_EntityReference;
|
1440
|
-
constrainer: GetEntity_EntityReference;
|
1441
|
-
breakForce?: number;
|
1442
|
-
breakTorque?: number;
|
1443
|
-
};
|
1444
|
-
type GetEntity_lineage = {
|
1445
|
-
lineage: GetEntity_Lineage;
|
1446
|
-
};
|
1447
|
-
type GetEntity_Lineage = {
|
1448
|
-
parentUUID: string;
|
1449
|
-
ordinal?: number;
|
1450
|
-
};
|
1451
|
-
type GetEntity_local_aabb = {
|
1452
|
-
local_aabb: GetEntity_LocalAxisAlignedBoundingBox;
|
1453
|
-
};
|
1454
|
-
type GetEntity_LocalAxisAlignedBoundingBox = {
|
1455
|
-
min: Array<number>;
|
1456
|
-
max: Array<number>;
|
1457
|
-
};
|
1458
|
-
type GetEntity_local_transform = {
|
1459
|
-
local_transform: GetEntity_Transform;
|
1460
|
-
};
|
1461
|
-
type GetEntity_Transform = {
|
1462
|
-
position?: Array<number>;
|
1463
|
-
orientation?: Array<number>;
|
1464
|
-
scale?: Array<number>;
|
1465
|
-
eulerOrientation?: Array<number>;
|
1466
|
-
globalEulerOrientation?: Array<number>;
|
1467
|
-
};
|
1468
|
-
type GetEntity_material = {
|
1469
|
-
material: GetEntity_Material;
|
1470
|
-
};
|
1471
|
-
type GetEntity_Material = {
|
1472
|
-
shaderRef: string;
|
1473
|
-
transparencyMode: number;
|
1474
|
-
isDoubleSided: boolean;
|
1475
|
-
dataJSON: GetEntity_Json;
|
1476
|
-
};
|
1477
|
-
type GetEntity_material_ref = {
|
1478
|
-
material_ref: GetEntity_MaterialReference;
|
1479
|
-
};
|
1480
|
-
type GetEntity_MaterialReference = {
|
1481
|
-
value: string;
|
1482
|
-
faceCulling?: number;
|
1483
|
-
};
|
1484
|
-
type GetEntity_mesh_ref = {
|
1485
|
-
mesh_ref: GetEntity_MeshReference;
|
1486
|
-
};
|
1487
|
-
type GetEntity_MeshReference = {
|
1488
|
-
value: string;
|
1489
|
-
submeshIndex?: number;
|
1490
|
-
};
|
1491
|
-
type GetEntity_orthographic_lens = {
|
1492
|
-
orthographic_lens: GetEntity_OrthographicLens;
|
1493
|
-
};
|
1494
|
-
type GetEntity_OrthographicLens = {
|
1495
|
-
left?: number;
|
1496
|
-
right?: number;
|
1497
|
-
top?: number;
|
1498
|
-
bottom?: number;
|
1499
|
-
zNear?: number;
|
1500
|
-
zFar?: number;
|
1501
|
-
};
|
1502
|
-
type GetEntity_overrider = {
|
1503
|
-
overrider: GetEntity_Overrider;
|
1504
|
-
};
|
1505
|
-
type GetEntity_Overrider = {
|
1506
|
-
deleter?: boolean;
|
1507
|
-
entityRef: GetEntity_EntityReference;
|
1508
|
-
componentsToDetach: Array<number>;
|
1509
|
-
};
|
1510
|
-
type GetEntity_perspective_lens = {
|
1511
|
-
perspective_lens: GetEntity_PerspectiveLens;
|
1512
|
-
};
|
1513
|
-
type GetEntity_PerspectiveLens = {
|
1514
|
-
aspectRatio?: number;
|
1515
|
-
fovy?: number;
|
1516
|
-
nearPlane?: number;
|
1517
|
-
farPlane?: number;
|
1518
|
-
};
|
1519
|
-
type GetEntity_physics_material = {
|
1520
|
-
physics_material: GetEntity_PhysicsMaterial;
|
1521
|
-
};
|
1522
|
-
type GetEntity_PhysicsMaterial = {
|
1523
|
-
staticFriction?: number;
|
1524
|
-
dynamicFriction?: number;
|
1525
|
-
restitution?: number;
|
1526
|
-
isTrigger?: boolean;
|
1527
|
-
};
|
1528
|
-
type GetEntity_plane_geometry = {
|
1529
|
-
plane_geometry: GetEntity_PlaneGeometry;
|
1530
|
-
};
|
1531
|
-
type GetEntity_PlaneGeometry = {
|
1532
|
-
distance?: number;
|
1533
|
-
normal?: Array<number>;
|
1534
|
-
};
|
1535
|
-
type GetEntity_point_cloud_ref = {
|
1536
|
-
point_cloud_ref: GetEntity_PointCloudReference;
|
1537
|
-
};
|
1538
|
-
type GetEntity_PointCloudReference = {
|
1539
|
-
value: string;
|
1540
|
-
};
|
1541
|
-
type GetEntity_point_light = {
|
1542
|
-
point_light: GetEntity_Light;
|
1543
|
-
};
|
1544
|
-
type GetEntity_Light = {
|
1545
|
-
color?: Array<number>;
|
1546
|
-
intensity?: number;
|
1547
|
-
range?: number;
|
1548
|
-
isDirectional?: boolean;
|
1549
|
-
isSun?: boolean;
|
1550
|
-
};
|
1551
|
-
type GetEntity_reflection_probe = {
|
1552
|
-
reflection_probe: GetEntity_ReflectionProbe;
|
1553
|
-
};
|
1554
|
-
type GetEntity_ReflectionProbe = {
|
1555
|
-
offset?: Array<number>;
|
1556
|
-
nearDist?: number;
|
1557
|
-
farDist?: number;
|
1558
|
-
quality?: number;
|
1559
|
-
};
|
1560
|
-
type GetEntity_revolute_joint = {
|
1561
|
-
revolute_joint: GetEntity_RevoluteJoint;
|
1562
|
-
};
|
1563
|
-
type GetEntity_RevoluteJoint = {
|
1564
|
-
axis?: Array<number>;
|
1565
|
-
anchor?: Array<number>;
|
1566
|
-
};
|
1567
|
-
type GetEntity_rigid_body = {
|
1568
|
-
rigid_body: GetEntity_RigidBody;
|
1569
|
-
};
|
1570
|
-
type GetEntity_RigidBody = {
|
1571
|
-
mass?: number;
|
1572
|
-
linearDamping?: number;
|
1573
|
-
angularDamping?: number;
|
1574
|
-
friction?: number;
|
1575
|
-
rollingFriction?: number;
|
1576
|
-
spinningFriction?: number;
|
1577
|
-
restitution?: number;
|
1578
|
-
linearSleepingThreshold?: number;
|
1579
|
-
angularSleepingThreshold?: number;
|
1580
|
-
isKinematic?: boolean;
|
1581
|
-
};
|
1582
|
-
type GetEntity_scene_ref = {
|
1583
|
-
scene_ref: GetEntity_SceneReference;
|
1584
|
-
};
|
1585
|
-
type GetEntity_SceneReference = {
|
1586
|
-
value: string;
|
1587
|
-
maxRecursionCount?: number;
|
1588
|
-
};
|
1589
|
-
type GetEntity_script_element = {
|
1590
|
-
script_element: GetEntity_ScriptElement;
|
1591
|
-
};
|
1592
|
-
type GetEntity_ScriptElement = {
|
1593
|
-
scriptRef: string;
|
1594
|
-
dataJSON: GetEntity_Json;
|
1595
|
-
};
|
1596
|
-
type GetEntity_script_map = {
|
1597
|
-
script_map: GetEntity_ScriptMap;
|
1598
|
-
};
|
1599
|
-
type GetEntity_ScriptMap = {
|
1600
|
-
elements: GetEntity_MapScriptElement;
|
1601
|
-
};
|
1602
|
-
type GetEntity_MapScriptElement = {
|
1603
|
-
mapScriptElement: GetEntity_MapScriptElement;
|
1604
|
-
};
|
1605
|
-
type GetEntity_shadow_caster = {
|
1606
|
-
shadow_caster: GetEntity_ShadowCaster;
|
1607
|
-
};
|
1608
|
-
type GetEntity_ShadowCaster = {
|
1609
|
-
bias?: number;
|
1610
|
-
nearDist?: number;
|
1611
|
-
farDist?: number;
|
1612
|
-
quality?: number;
|
1613
|
-
accumulateShadowCascades?: boolean;
|
1614
|
-
};
|
1615
|
-
type GetEntity_entity_components_skeleton_ref = {
|
1616
|
-
skeleton_ref: GetEntity_SkeletonReference;
|
1617
|
-
};
|
1618
|
-
type GetEntity_SkeletonReference = {
|
1619
|
-
value: string;
|
1620
|
-
};
|
1621
|
-
type GetEntity_sound_ref = {
|
1622
|
-
sound_ref: GetEntity_SoundReference;
|
1623
|
-
};
|
1624
|
-
type GetEntity_SoundReference = {
|
1625
|
-
value: string;
|
1626
|
-
volume?: number;
|
1627
|
-
pan?: number;
|
1628
|
-
playSpeed?: number;
|
1629
|
-
looping?: boolean;
|
1630
|
-
};
|
1631
|
-
type GetEntity_sphere_geometry = {
|
1632
|
-
sphere_geometry: GetEntity_SphereGeometry;
|
1633
|
-
};
|
1634
|
-
type GetEntity_SphereGeometry = {
|
1635
|
-
radius?: number;
|
1636
|
-
isAdditive?: boolean;
|
1637
|
-
offset?: Array<number>;
|
1638
|
-
};
|
1639
|
-
type GetEntity_spot_light = {
|
1640
|
-
spot_light: GetEntity_SpotLight;
|
1641
|
-
};
|
1642
|
-
type GetEntity_SpotLight = {
|
1643
|
-
cutoff?: number;
|
1644
|
-
IESProfile: string;
|
1645
|
-
};
|
1646
|
-
type GetEntity_stereoscopic_lens = {
|
1647
|
-
stereoscopic_lens: GetEntity_StereoscopicPerspectiveLens;
|
1648
|
-
};
|
1649
|
-
type GetEntity_StereoscopicPerspectiveLens = {
|
1650
|
-
angleLeft?: number;
|
1651
|
-
angleRight?: number;
|
1652
|
-
angleUp?: number;
|
1653
|
-
angleDown?: number;
|
1654
|
-
nearPlane?: number;
|
1655
|
-
farPlane?: number;
|
1656
|
-
aspectRatio?: number;
|
1657
|
-
};
|
1658
|
-
type GetEntity_tags = {
|
1659
|
-
tags: GetEntity_Tags;
|
1660
|
-
};
|
1661
|
-
type GetEntity_Tags = {
|
1662
|
-
value: Array<string>;
|
1663
|
-
};
|
1664
|
-
type GetEntity_volume_filter = {
|
1665
|
-
volume_filter: GetEntity_VolumeFilter;
|
1666
|
-
};
|
1667
|
-
type GetEntity_VolumeFilter = {
|
1668
|
-
range?: Array<number>;
|
1669
|
-
applyGaussianFiltering?: boolean;
|
1670
|
-
sampleUnfiltered?: boolean;
|
1671
|
-
enableMPR?: boolean;
|
1672
|
-
enable3D?: boolean;
|
1673
|
-
};
|
1674
|
-
type GetEntity_volume_material_ref = {
|
1675
|
-
volume_material_ref: GetEntity_VolumeMaterialReference;
|
1676
|
-
};
|
1677
|
-
type GetEntity_VolumeMaterialReference = {
|
1678
|
-
value: string;
|
1679
|
-
};
|
1680
|
-
type GetEntity_volume_ref = {
|
1681
|
-
volume_ref: GetEntity_VolumeReference;
|
1682
|
-
};
|
1683
|
-
type GetEntity_VolumeReference = {
|
1684
|
-
texture3dRef: string;
|
1685
|
-
};
|
1686
|
-
type GetEntity_Entity = {
|
1687
|
-
euid: GetEntity_EntityUid;
|
1688
|
-
};
|
1689
|
-
type GetEntity_EntityUid = {
|
1690
|
-
value: string;
|
1691
|
-
};
|
1692
|
-
declare function getEntity({ scene_id, entity_id, compute_global_transform }: {
|
1693
|
-
scene_id: string;
|
1694
|
-
entity_id: string;
|
1695
|
-
compute_global_transform?: boolean;
|
1696
|
-
}): AxiosPromise<(GetEntity_animation_controller | GetEntity_bone | GetEntity_box_geometry | GetEntity_camera | GetEntity_capsule_geometry | GetEntity_character_controller | GetEntity_collision_geometry_ref | GetEntity_cylinder_geometry | GetEntity_debug_name | GetEntity_decal_projector | GetEntity_environment | GetEntity_joint | GetEntity_lineage | GetEntity_local_aabb | GetEntity_local_transform | GetEntity_material | GetEntity_material_ref | GetEntity_mesh_ref | GetEntity_orthographic_lens | GetEntity_overrider | GetEntity_perspective_lens | GetEntity_physics_material | GetEntity_plane_geometry | GetEntity_point_cloud_ref | GetEntity_point_light | GetEntity_reflection_probe | GetEntity_revolute_joint | GetEntity_rigid_body | GetEntity_scene_ref | GetEntity_script_element | GetEntity_script_map | GetEntity_shadow_caster | GetEntity_entity_components_skeleton_ref | GetEntity_sound_ref | GetEntity_sphere_geometry | GetEntity_spot_light | GetEntity_stereoscopic_lens | GetEntity_tags | GetEntity_volume_filter | GetEntity_volume_material_ref | GetEntity_volume_ref) & GetEntity_Entity>;
|
1697
|
-
type UpdateEntity_animation_controller = {
|
1698
|
-
animation_controller: UpdateEntity_AnimationController;
|
1699
|
-
};
|
1700
|
-
type UpdateEntity_AnimationController = {
|
1701
|
-
animationGraphRef: string;
|
1702
|
-
animationSetRef: string;
|
1703
|
-
dataJSON: UpdateEntity_Json;
|
1704
|
-
rootBoneEntityRef: UpdateEntity_EntityReference;
|
1705
|
-
rootMotionEnabled: boolean;
|
1706
|
-
};
|
1707
|
-
type UpdateEntity_Json = {
|
1708
|
-
json: UpdateEntity_Json;
|
1709
|
-
};
|
1710
|
-
type UpdateEntity_EntityReference = {
|
1711
|
-
originalEUID: string;
|
1712
|
-
linkage: Array<string>;
|
1713
|
-
};
|
1714
|
-
type UpdateEntity_bone = {
|
1715
|
-
bone: UpdateEntity_Bone;
|
1716
|
-
};
|
1717
|
-
type UpdateEntity_Bone = {
|
1718
|
-
boneIndex: number;
|
1719
|
-
};
|
1720
|
-
type UpdateEntity_box_geometry = {
|
1721
|
-
box_geometry: UpdateEntity_BoxGeometry;
|
1722
|
-
};
|
1723
|
-
type UpdateEntity_BoxGeometry = {
|
1724
|
-
dimension?: Array<number>;
|
1725
|
-
isAdditive?: boolean;
|
1726
|
-
offset?: Array<number>;
|
1727
|
-
};
|
1728
|
-
type UpdateEntity_camera = {
|
1729
|
-
camera: UpdateEntity_Camera;
|
1730
|
-
};
|
1731
|
-
type UpdateEntity_Camera = {
|
1732
|
-
renderGraphRef: string;
|
1733
|
-
renderTargetIndex?: number;
|
1734
|
-
dataJSON: UpdateEntity_Json;
|
1735
|
-
};
|
1736
|
-
type UpdateEntity_capsule_geometry = {
|
1737
|
-
capsule_geometry: UpdateEntity_CapsuleGeometry;
|
1738
|
-
};
|
1739
|
-
type UpdateEntity_CapsuleGeometry = {
|
1740
|
-
radius?: number;
|
1741
|
-
height?: number;
|
1742
|
-
axis?: number;
|
1743
|
-
isAdditive?: boolean;
|
1744
|
-
offset?: Array<number>;
|
1745
|
-
};
|
1746
|
-
type UpdateEntity_character_controller = {
|
1747
|
-
character_controller: UpdateEntity_CharacterController;
|
1748
|
-
};
|
1749
|
-
type UpdateEntity_CharacterController = {
|
1750
|
-
stepOffset?: number;
|
1751
|
-
slopeLimit?: number;
|
1752
|
-
skinWidth?: number;
|
1753
|
-
velocity?: Array<number>;
|
1754
|
-
};
|
1755
|
-
type UpdateEntity_collision_geometry_ref = {
|
1756
|
-
collision_geometry_ref: UpdateEntity_CollisionGeometryRef;
|
1757
|
-
};
|
1758
|
-
type UpdateEntity_CollisionGeometryRef = {
|
1759
|
-
collisionGeometryRef: string;
|
1760
|
-
};
|
1761
|
-
type UpdateEntity_cylinder_geometry = {
|
1762
|
-
cylinder_geometry: UpdateEntity_CylinderGeometry;
|
1763
|
-
};
|
1764
|
-
type UpdateEntity_CylinderGeometry = {
|
1765
|
-
radius?: number;
|
1766
|
-
height?: number;
|
1767
|
-
axis?: number;
|
1768
|
-
isAdditive?: boolean;
|
1769
|
-
offset?: Array<number>;
|
1770
|
-
};
|
1771
|
-
type UpdateEntity_debug_name = {
|
1772
|
-
debug_name: UpdateEntity_Name;
|
1773
|
-
};
|
1774
|
-
type UpdateEntity_Name = {
|
1775
|
-
value: string;
|
1776
|
-
};
|
1777
|
-
type UpdateEntity_decal_projector = {
|
1778
|
-
decal_projector: UpdateEntity_DecalProjector;
|
1779
|
-
};
|
1780
|
-
type UpdateEntity_DecalProjector = {
|
1781
|
-
zIndex?: number;
|
1782
|
-
};
|
1783
|
-
type UpdateEntity_environment = {
|
1784
|
-
environment: UpdateEntity_Environment;
|
1785
|
-
};
|
1786
|
-
type UpdateEntity_Environment = {
|
1787
|
-
skyboxUUID: string;
|
1788
|
-
radianceUUID: string;
|
1789
|
-
irradianceUUID: string;
|
1790
|
-
};
|
1791
|
-
type UpdateEntity_joint = {
|
1792
|
-
joint: UpdateEntity_Joint;
|
1793
|
-
};
|
1794
|
-
type UpdateEntity_Joint = {
|
1795
|
-
constrainee: UpdateEntity_EntityReference;
|
1796
|
-
constrainer: UpdateEntity_EntityReference;
|
1797
|
-
breakForce?: number;
|
1798
|
-
breakTorque?: number;
|
1799
|
-
};
|
1800
|
-
type UpdateEntity_lineage = {
|
1801
|
-
lineage: UpdateEntity_Lineage;
|
1802
|
-
};
|
1803
|
-
type UpdateEntity_Lineage = {
|
1804
|
-
parentUUID: string;
|
1805
|
-
ordinal?: number;
|
1806
|
-
};
|
1807
|
-
type UpdateEntity_local_aabb = {
|
1808
|
-
local_aabb: UpdateEntity_LocalAxisAlignedBoundingBox;
|
1809
|
-
};
|
1810
|
-
type UpdateEntity_LocalAxisAlignedBoundingBox = {
|
1811
|
-
min: Array<number>;
|
1812
|
-
max: Array<number>;
|
1813
|
-
};
|
1814
|
-
type UpdateEntity_local_transform = {
|
1815
|
-
local_transform: UpdateEntity_Transform;
|
1816
|
-
};
|
1817
|
-
type UpdateEntity_Transform = {
|
1818
|
-
position?: Array<number>;
|
1819
|
-
orientation?: Array<number>;
|
1820
|
-
scale?: Array<number>;
|
1821
|
-
eulerOrientation?: Array<number>;
|
1822
|
-
globalEulerOrientation?: Array<number>;
|
1823
|
-
};
|
1824
|
-
type UpdateEntity_material = {
|
1825
|
-
material: UpdateEntity_Material;
|
1826
|
-
};
|
1827
|
-
type UpdateEntity_Material = {
|
1828
|
-
shaderRef: string;
|
1829
|
-
transparencyMode: number;
|
1830
|
-
isDoubleSided: boolean;
|
1831
|
-
dataJSON: UpdateEntity_Json;
|
1832
|
-
};
|
1833
|
-
type UpdateEntity_material_ref = {
|
1834
|
-
material_ref: UpdateEntity_MaterialReference;
|
1835
|
-
};
|
1836
|
-
type UpdateEntity_MaterialReference = {
|
1837
|
-
value: string;
|
1838
|
-
faceCulling?: number;
|
1839
|
-
};
|
1840
|
-
type UpdateEntity_mesh_ref = {
|
1841
|
-
mesh_ref: UpdateEntity_MeshReference;
|
1842
|
-
};
|
1843
|
-
type UpdateEntity_MeshReference = {
|
1844
|
-
value: string;
|
1845
|
-
submeshIndex?: number;
|
1846
|
-
};
|
1847
|
-
type UpdateEntity_orthographic_lens = {
|
1848
|
-
orthographic_lens: UpdateEntity_OrthographicLens;
|
1849
|
-
};
|
1850
|
-
type UpdateEntity_OrthographicLens = {
|
1851
|
-
left?: number;
|
1852
|
-
right?: number;
|
1853
|
-
top?: number;
|
1854
|
-
bottom?: number;
|
1855
|
-
zNear?: number;
|
1856
|
-
zFar?: number;
|
1857
|
-
};
|
1858
|
-
type UpdateEntity_overrider = {
|
1859
|
-
overrider: UpdateEntity_Overrider;
|
1860
|
-
};
|
1861
|
-
type UpdateEntity_Overrider = {
|
1862
|
-
deleter?: boolean;
|
1863
|
-
entityRef: UpdateEntity_EntityReference;
|
1864
|
-
componentsToDetach: Array<number>;
|
1865
|
-
};
|
1866
|
-
type UpdateEntity_perspective_lens = {
|
1867
|
-
perspective_lens: UpdateEntity_PerspectiveLens;
|
1868
|
-
};
|
1869
|
-
type UpdateEntity_PerspectiveLens = {
|
1870
|
-
aspectRatio?: number;
|
1871
|
-
fovy?: number;
|
1872
|
-
nearPlane?: number;
|
1873
|
-
farPlane?: number;
|
1874
|
-
};
|
1875
|
-
type UpdateEntity_physics_material = {
|
1876
|
-
physics_material: UpdateEntity_PhysicsMaterial;
|
1877
|
-
};
|
1878
|
-
type UpdateEntity_PhysicsMaterial = {
|
1879
|
-
staticFriction?: number;
|
1880
|
-
dynamicFriction?: number;
|
1881
|
-
restitution?: number;
|
1882
|
-
isTrigger?: boolean;
|
1883
|
-
};
|
1884
|
-
type UpdateEntity_plane_geometry = {
|
1885
|
-
plane_geometry: UpdateEntity_PlaneGeometry;
|
1886
|
-
};
|
1887
|
-
type UpdateEntity_PlaneGeometry = {
|
1888
|
-
distance?: number;
|
1889
|
-
normal?: Array<number>;
|
1890
|
-
};
|
1891
|
-
type UpdateEntity_point_cloud_ref = {
|
1892
|
-
point_cloud_ref: UpdateEntity_PointCloudReference;
|
1893
|
-
};
|
1894
|
-
type UpdateEntity_PointCloudReference = {
|
1895
|
-
value: string;
|
1896
|
-
};
|
1897
|
-
type UpdateEntity_point_light = {
|
1898
|
-
point_light: UpdateEntity_Light;
|
1899
|
-
};
|
1900
|
-
type UpdateEntity_Light = {
|
1901
|
-
color?: Array<number>;
|
1902
|
-
intensity?: number;
|
1903
|
-
range?: number;
|
1904
|
-
isDirectional?: boolean;
|
1905
|
-
isSun?: boolean;
|
1906
|
-
};
|
1907
|
-
type UpdateEntity_reflection_probe = {
|
1908
|
-
reflection_probe: UpdateEntity_ReflectionProbe;
|
1909
|
-
};
|
1910
|
-
type UpdateEntity_ReflectionProbe = {
|
1911
|
-
offset?: Array<number>;
|
1912
|
-
nearDist?: number;
|
1913
|
-
farDist?: number;
|
1914
|
-
quality?: number;
|
1915
|
-
};
|
1916
|
-
type UpdateEntity_revolute_joint = {
|
1917
|
-
revolute_joint: UpdateEntity_RevoluteJoint;
|
1918
|
-
};
|
1919
|
-
type UpdateEntity_RevoluteJoint = {
|
1920
|
-
axis?: Array<number>;
|
1921
|
-
anchor?: Array<number>;
|
1922
|
-
};
|
1923
|
-
type UpdateEntity_rigid_body = {
|
1924
|
-
rigid_body: UpdateEntity_RigidBody;
|
1925
|
-
};
|
1926
|
-
type UpdateEntity_RigidBody = {
|
1927
|
-
mass?: number;
|
1928
|
-
linearDamping?: number;
|
1929
|
-
angularDamping?: number;
|
1930
|
-
friction?: number;
|
1931
|
-
rollingFriction?: number;
|
1932
|
-
spinningFriction?: number;
|
1933
|
-
restitution?: number;
|
1934
|
-
linearSleepingThreshold?: number;
|
1935
|
-
angularSleepingThreshold?: number;
|
1936
|
-
isKinematic?: boolean;
|
1937
|
-
};
|
1938
|
-
type UpdateEntity_scene_ref = {
|
1939
|
-
scene_ref: UpdateEntity_SceneReference;
|
1940
|
-
};
|
1941
|
-
type UpdateEntity_SceneReference = {
|
1942
|
-
value: string;
|
1943
|
-
maxRecursionCount?: number;
|
1944
|
-
};
|
1945
|
-
type UpdateEntity_script_element = {
|
1946
|
-
script_element: UpdateEntity_ScriptElement;
|
1947
|
-
};
|
1948
|
-
type UpdateEntity_ScriptElement = {
|
1949
|
-
scriptRef: string;
|
1950
|
-
dataJSON: UpdateEntity_Json;
|
1951
|
-
};
|
1952
|
-
type UpdateEntity_script_map = {
|
1953
|
-
script_map: UpdateEntity_ScriptMap;
|
1954
|
-
};
|
1955
|
-
type UpdateEntity_ScriptMap = {
|
1956
|
-
elements: UpdateEntity_MapScriptElement;
|
1957
|
-
};
|
1958
|
-
type UpdateEntity_MapScriptElement = {
|
1959
|
-
mapScriptElement: UpdateEntity_MapScriptElement;
|
1960
|
-
};
|
1961
|
-
type UpdateEntity_shadow_caster = {
|
1962
|
-
shadow_caster: UpdateEntity_ShadowCaster;
|
1963
|
-
};
|
1964
|
-
type UpdateEntity_ShadowCaster = {
|
1965
|
-
bias?: number;
|
1966
|
-
nearDist?: number;
|
1967
|
-
farDist?: number;
|
1968
|
-
quality?: number;
|
1969
|
-
accumulateShadowCascades?: boolean;
|
1970
|
-
};
|
1971
|
-
type UpdateEntity_entity_components_skeleton_ref = {
|
1972
|
-
skeleton_ref: UpdateEntity_SkeletonReference;
|
1973
|
-
};
|
1974
|
-
type UpdateEntity_SkeletonReference = {
|
1975
|
-
value: string;
|
1976
|
-
};
|
1977
|
-
type UpdateEntity_sound_ref = {
|
1978
|
-
sound_ref: UpdateEntity_SoundReference;
|
1979
|
-
};
|
1980
|
-
type UpdateEntity_SoundReference = {
|
1981
|
-
value: string;
|
1982
|
-
volume?: number;
|
1983
|
-
pan?: number;
|
1984
|
-
playSpeed?: number;
|
1985
|
-
looping?: boolean;
|
1986
|
-
};
|
1987
|
-
type UpdateEntity_sphere_geometry = {
|
1988
|
-
sphere_geometry: UpdateEntity_SphereGeometry;
|
1989
|
-
};
|
1990
|
-
type UpdateEntity_SphereGeometry = {
|
1991
|
-
radius?: number;
|
1992
|
-
isAdditive?: boolean;
|
1993
|
-
offset?: Array<number>;
|
1994
|
-
};
|
1995
|
-
type UpdateEntity_spot_light = {
|
1996
|
-
spot_light: UpdateEntity_SpotLight;
|
1997
|
-
};
|
1998
|
-
type UpdateEntity_SpotLight = {
|
1999
|
-
cutoff?: number;
|
2000
|
-
IESProfile: string;
|
2001
|
-
};
|
2002
|
-
type UpdateEntity_stereoscopic_lens = {
|
2003
|
-
stereoscopic_lens: UpdateEntity_StereoscopicPerspectiveLens;
|
2004
|
-
};
|
2005
|
-
type UpdateEntity_StereoscopicPerspectiveLens = {
|
2006
|
-
angleLeft?: number;
|
2007
|
-
angleRight?: number;
|
2008
|
-
angleUp?: number;
|
2009
|
-
angleDown?: number;
|
2010
|
-
nearPlane?: number;
|
2011
|
-
farPlane?: number;
|
2012
|
-
aspectRatio?: number;
|
2013
|
-
};
|
2014
|
-
type UpdateEntity_tags = {
|
2015
|
-
tags: UpdateEntity_Tags;
|
2016
|
-
};
|
2017
|
-
type UpdateEntity_Tags = {
|
2018
|
-
value: Array<string>;
|
2019
|
-
};
|
2020
|
-
type UpdateEntity_volume_filter = {
|
2021
|
-
volume_filter: UpdateEntity_VolumeFilter;
|
2022
|
-
};
|
2023
|
-
type UpdateEntity_VolumeFilter = {
|
2024
|
-
range?: Array<number>;
|
2025
|
-
applyGaussianFiltering?: boolean;
|
2026
|
-
sampleUnfiltered?: boolean;
|
2027
|
-
enableMPR?: boolean;
|
2028
|
-
enable3D?: boolean;
|
2029
|
-
};
|
2030
|
-
type UpdateEntity_volume_material_ref = {
|
2031
|
-
volume_material_ref: UpdateEntity_VolumeMaterialReference;
|
2032
|
-
};
|
2033
|
-
type UpdateEntity_VolumeMaterialReference = {
|
2034
|
-
value: string;
|
2035
|
-
};
|
2036
|
-
type UpdateEntity_volume_ref = {
|
2037
|
-
volume_ref: UpdateEntity_VolumeReference;
|
2038
|
-
};
|
2039
|
-
type UpdateEntity_VolumeReference = {
|
2040
|
-
texture3dRef: string;
|
2041
|
-
};
|
2042
|
-
type UpdateEntity_Entity = {
|
2043
|
-
euid: UpdateEntity_EntityUid;
|
2044
|
-
};
|
2045
|
-
type UpdateEntity_EntityUid = {
|
2046
|
-
value: string;
|
2047
|
-
};
|
2048
|
-
declare function updateEntity({ scene_id, entity_id, entity }: {
|
2049
|
-
scene_id: string;
|
2050
|
-
entity_id: string;
|
2051
|
-
entity: (UpdateEntity_animation_controller | UpdateEntity_bone | UpdateEntity_box_geometry | UpdateEntity_camera | UpdateEntity_capsule_geometry | UpdateEntity_character_controller | UpdateEntity_collision_geometry_ref | UpdateEntity_cylinder_geometry | UpdateEntity_debug_name | UpdateEntity_decal_projector | UpdateEntity_environment | UpdateEntity_joint | UpdateEntity_lineage | UpdateEntity_local_aabb | UpdateEntity_local_transform | UpdateEntity_material | UpdateEntity_material_ref | UpdateEntity_mesh_ref | UpdateEntity_orthographic_lens | UpdateEntity_overrider | UpdateEntity_perspective_lens | UpdateEntity_physics_material | UpdateEntity_plane_geometry | UpdateEntity_point_cloud_ref | UpdateEntity_point_light | UpdateEntity_reflection_probe | UpdateEntity_revolute_joint | UpdateEntity_rigid_body | UpdateEntity_scene_ref | UpdateEntity_script_element | UpdateEntity_script_map | UpdateEntity_shadow_caster | UpdateEntity_entity_components_skeleton_ref | UpdateEntity_sound_ref | UpdateEntity_sphere_geometry | UpdateEntity_spot_light | UpdateEntity_stereoscopic_lens | UpdateEntity_tags | UpdateEntity_volume_filter | UpdateEntity_volume_material_ref | UpdateEntity_volume_ref) & UpdateEntity_Entity;
|
2052
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
2053
|
-
declare function deleteEntity({ scene_id, entity_id }: {
|
2054
|
-
scene_id: string;
|
2055
|
-
entity_id: string;
|
2056
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
2057
|
-
type CreateSession_Object = {
|
2058
|
-
session_id?: string;
|
2059
|
-
};
|
2060
|
-
declare function createSession({ scene_id }: {
|
2061
|
-
scene_id?: string;
|
2062
|
-
}): AxiosPromise<CreateSession_Object>;
|
2063
|
-
type GetSession_Session = {
|
2064
|
-
session_id: string;
|
2065
|
-
scene_id: string;
|
2066
|
-
scene_name: string;
|
2067
|
-
folder_id: string;
|
2068
|
-
max_users: number;
|
2069
|
-
creator_user_id: string;
|
2070
|
-
created_at: string;
|
2071
|
-
country_code: string;
|
2072
|
-
continent_code: string;
|
2073
|
-
clients: Array<GetSession_UserInfo>;
|
2074
|
-
};
|
2075
|
-
type GetSession_UserInfo = {
|
2076
|
-
client_id?: string;
|
2077
|
-
client_type?: StrictUnion<'user' | 'guest'>;
|
2078
|
-
user_id: string;
|
2079
|
-
username: string;
|
2080
|
-
};
|
2081
|
-
declare function getSession({ session_id }: {
|
2082
|
-
session_id: string;
|
2083
|
-
}): AxiosPromise<GetSession_Session>;
|
2084
|
-
declare function killSession({ session_id }: {
|
2085
|
-
session_id: string;
|
2086
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
2087
|
-
type JoinSession_SessionToken = {
|
2088
|
-
session_token?: string;
|
2089
|
-
endpoint_info?: JoinSession_Object;
|
2090
|
-
};
|
2091
|
-
type JoinSession_Object = {
|
2092
|
-
ip?: string;
|
2093
|
-
port?: number;
|
2094
|
-
ssl_port?: number;
|
2095
|
-
};
|
2096
|
-
declare function joinSession({ session_id }: {
|
2097
|
-
session_id: string;
|
2098
|
-
}): AxiosPromise<JoinSession_SessionToken>;
|
2099
|
-
declare function kickClientFromSession({ session_id, client_id }: {
|
2100
|
-
session_id: string;
|
2101
|
-
client_id: string;
|
2102
|
-
}): Promise<axios.AxiosResponse<any, any>>;
|
2103
|
-
type JoinSessionAsGuest_SessionToken = {
|
2104
|
-
session_token?: string;
|
2105
|
-
endpoint_info?: JoinSessionAsGuest_Object;
|
2106
|
-
};
|
2107
|
-
type JoinSessionAsGuest_Object = {
|
2108
|
-
ip?: string;
|
2109
|
-
port?: number;
|
2110
|
-
ssl_port?: number;
|
2111
|
-
};
|
2112
|
-
declare function joinSessionAsGuest(): AxiosPromise<JoinSessionAsGuest_SessionToken>;
|
2113
|
-
type GenerateGuestToken_GuestToken = {
|
2114
|
-
guest_token?: string;
|
2115
|
-
};
|
2116
|
-
declare function generateGuestToken({ session_id }: {
|
2117
|
-
session_id: string;
|
2118
|
-
}): AxiosPromise<GenerateGuestToken_GuestToken>;
|
2119
|
-
|
2120
|
-
declare function setApiKey(apiKey: string): void;
|
2121
|
-
declare function setUserToken(userToken: string): void;
|
2122
|
-
declare function setBaseUrl(url: string): void;
|
1
|
+
export declare function setApiKey(apiKey: string): void;
|
2
|
+
export declare function setUserToken(userToken: string): void;
|
3
|
+
export declare function setBaseUrl(url: string): void;
|
2123
4
|
declare abstract class ServiceError extends Error {
|
2124
5
|
errorCode: number;
|
2125
6
|
httpCode: number;
|
2126
7
|
message: string;
|
2127
8
|
constructor(errorCode: number, httpCode: number, message: string);
|
2128
9
|
}
|
2129
|
-
declare class ApiError extends ServiceError {
|
10
|
+
export declare class ApiError extends ServiceError {
|
2130
11
|
serviceError: unknown;
|
2131
12
|
constructor(errorCode: number, status: number, message: string, serviceError: unknown);
|
2132
13
|
}
|
2133
|
-
declare class UnexpectedServiceError extends ServiceError {
|
14
|
+
export declare class UnexpectedServiceError extends ServiceError {
|
2134
15
|
unexpectedError: unknown;
|
2135
16
|
constructor(status: number, unexpectedError: unknown);
|
2136
17
|
}
|
2137
|
-
|
2138
|
-
export { ApiError, CreateAsset_AssetDescription, CreateAsset_Object, CreateAsset_asset_item, CreateFolder_Folder, CreateFolder_Folder_Writable, CreateFolder_Object, CreateGroup_GroupMember_GroupAccess, CreateGroup_GroupMember_GroupAccess_Writable, CreateGroup_Group_GroupInfo, CreateSession_Object, CreateSubfolder_Folder, CreateSubfolder_Folder_Writable, CreateSubfolder_Object, DeleteUser_Object, GenerateGuestToken_GuestToken, GenerateUserToken_Token, GetAssetCustomTypes_Object, GetAssetDependencies_Filter, GetAssetDependencies_Flat, GetAssetDependencies_asset_item, GetAssetDescription_Animation, GetAssetDescription_AnimationGraph, GetAssetDescription_AnimationSequence, GetAssetDescription_AnimationSet, GetAssetDescription_Cubemap, GetAssetDescription_EventMap, GetAssetDescription_Material, GetAssetDescription_Mesh, GetAssetDescription_Object, GetAssetDescription_PointCloud, GetAssetDescription_RenderGraph, GetAssetDescription_Scene, GetAssetDescription_Script, GetAssetDescription_Shader, GetAssetDescription_Skeleton, GetAssetDescription_Sound, GetAssetDescription_Texture, GetAssetDescription_VkAttachmentDescription, GetAssetDescription_VkAttachmentReference, GetAssetDescription_VkPipelineColorBlendAttachmentState, GetAssetDescription_VkStencilOpState, GetAssetDescription_VolumeMaterial, GetAssetDescription_animation_event, GetAssetDescription_animation_node_description, GetAssetDescription_animation_sequence_instance, GetAssetDescription_animation_state_description, GetAssetDescription_animation_state_machine_description, GetAssetDescription_animation_state_machine_settings, GetAssetDescription_asset_description, GetAssetDescription_blend_axis, GetAssetDescription_blend_settings, GetAssetDescription_blendspace_1d_settings_animation_settings, GetAssetDescription_blendspace_2d_settings_animation_settings, GetAssetDescription_bone_description, GetAssetDescription_channel_description, GetAssetDescription_control_point, GetAssetDescription_ik_aim_settings, GetAssetDescription_ik_two_bone_settings, GetAssetDescription_mip_description, GetAssetDescription_node_data_description, GetAssetDescription_pair_int16_int16, GetAssetDescription_playback_settings_animation_settings, GetAssetDescription_random_settings, GetAssetDescription_render_pass_description, GetAssetDescription_render_target_description, GetAssetDescription_shader_module_description, GetAssetDescription_submesh_description, GetAssetDescription_transition_description, GetAssetDescription_vec4, GetAssetDescription_vertex_attribute_descriptor, GetAssetDetails_Object, GetAssetDetails_UserContribution, GetAssetDetails_asset_details, GetAssetFolder_Folder, GetAssetFolder_Object, GetAssetHistory_Object, GetAssetMeta_Object, GetAssetReferences_Object, GetAssetSourceFile_SourceFile, GetEntity_AnimationController, GetEntity_Bone, GetEntity_BoxGeometry, GetEntity_Camera, GetEntity_CapsuleGeometry, GetEntity_CharacterController, GetEntity_CollisionGeometryRef, GetEntity_CylinderGeometry, GetEntity_DecalProjector, GetEntity_Entity, GetEntity_EntityReference, GetEntity_EntityUid, GetEntity_Environment, GetEntity_Joint, GetEntity_Json, GetEntity_Light, GetEntity_Lineage, GetEntity_LocalAxisAlignedBoundingBox, GetEntity_MapScriptElement, GetEntity_Material, GetEntity_MaterialReference, GetEntity_MeshReference, GetEntity_Name, GetEntity_OrthographicLens, GetEntity_Overrider, GetEntity_PerspectiveLens, GetEntity_PhysicsMaterial, GetEntity_PlaneGeometry, GetEntity_PointCloudReference, GetEntity_ReflectionProbe, GetEntity_RevoluteJoint, GetEntity_RigidBody, GetEntity_SceneReference, GetEntity_ScriptElement, GetEntity_ScriptMap, GetEntity_ShadowCaster, GetEntity_SkeletonReference, GetEntity_SoundReference, GetEntity_SphereGeometry, GetEntity_SpotLight, GetEntity_StereoscopicPerspectiveLens, GetEntity_Tags, GetEntity_Transform, GetEntity_VolumeFilter, GetEntity_VolumeMaterialReference, GetEntity_VolumeReference, GetEntity_animation_controller, GetEntity_bone, GetEntity_box_geometry, GetEntity_camera, GetEntity_capsule_geometry, GetEntity_character_controller, GetEntity_collision_geometry_ref, GetEntity_cylinder_geometry, GetEntity_debug_name, GetEntity_decal_projector, GetEntity_entity_components_skeleton_ref, GetEntity_environment, GetEntity_joint, GetEntity_lineage, GetEntity_local_aabb, GetEntity_local_transform, GetEntity_material, GetEntity_material_ref, GetEntity_mesh_ref, GetEntity_orthographic_lens, GetEntity_overrider, GetEntity_perspective_lens, GetEntity_physics_material, GetEntity_plane_geometry, GetEntity_point_cloud_ref, GetEntity_point_light, GetEntity_reflection_probe, GetEntity_revolute_joint, GetEntity_rigid_body, GetEntity_scene_ref, GetEntity_script_element, GetEntity_script_map, GetEntity_shadow_caster, GetEntity_sound_ref, GetEntity_sphere_geometry, GetEntity_spot_light, GetEntity_stereoscopic_lens, GetEntity_tags, GetEntity_volume_filter, GetEntity_volume_material_ref, GetEntity_volume_ref, GetFolderAssets_asset_item, GetFolderAssets_asset_list, GetFolderInfo_Folder, GetFolderInfo_Object, GetGroup_GroupMember_GroupAccess, GetGroup_Group_GroupInfo, GetSceneAabb_Object, GetSceneSessions_Session, GetSceneSessions_UserInfo, GetSession_Session, GetSession_UserInfo, GetSessionsInFolder_Session, GetSessionsInFolder_UserInfo, GetSourceFileAssets_asset_item, GetSourceFileAssets_asset_list, GetSourceFileDetails_SourceFile, GetSourceFilesInFolder_SourceFile, GetUploadTask_ConversionTask, GetUploadTask_UploadTask, GetUploadTasksInFolder_ConversionTask, GetUploadTasksInFolder_UploadTask, GetUserGroups_GroupMember_GroupAccess, GetUserGroups_Group_GroupInfo, GetUserUploadTasks_ConversionTask, GetUserUploadTasks_UploadTask, GetUser_User_UserInfo, JoinSessionAsGuest_Object, JoinSessionAsGuest_SessionToken, JoinSession_Object, JoinSession_SessionToken, ListAssets_asset_item, ListAssets_asset_list, ListFolderAccesses_GroupInfo_FolderAccess, ListFolderAccesses_Object, ListFolderAccesses_UserInfo_FolderAccess, ListFolderSubFolders_Folder, ListFolderSubFolders_Object, ListFolders_Folder, ListFolders_Object, ListSourceFiles_SourceFile, ListUsers_User_UserInfo, RegisterUser_User_UserInfo, UnexpectedServiceError, UpdateAssetDescription_Animation, UpdateAssetDescription_AnimationGraph, UpdateAssetDescription_AnimationSequence, UpdateAssetDescription_AnimationSet, UpdateAssetDescription_Cubemap, UpdateAssetDescription_EventMap, UpdateAssetDescription_Material, UpdateAssetDescription_Mesh, UpdateAssetDescription_Object, UpdateAssetDescription_PointCloud, UpdateAssetDescription_RenderGraph, UpdateAssetDescription_Scene, UpdateAssetDescription_Script, UpdateAssetDescription_Shader, UpdateAssetDescription_Skeleton, UpdateAssetDescription_Sound, UpdateAssetDescription_Texture, UpdateAssetDescription_VkAttachmentDescription, UpdateAssetDescription_VkAttachmentReference, UpdateAssetDescription_VkPipelineColorBlendAttachmentState, UpdateAssetDescription_VkStencilOpState, UpdateAssetDescription_VolumeMaterial, UpdateAssetDescription_animation_event, UpdateAssetDescription_animation_node_description, UpdateAssetDescription_animation_sequence_instance, UpdateAssetDescription_animation_state_description, UpdateAssetDescription_animation_state_machine_description, UpdateAssetDescription_animation_state_machine_settings, UpdateAssetDescription_blend_axis, UpdateAssetDescription_blend_settings, UpdateAssetDescription_blendspace_1d_settings_animation_settings, UpdateAssetDescription_blendspace_2d_settings_animation_settings, UpdateAssetDescription_bone_description, UpdateAssetDescription_channel_description, UpdateAssetDescription_control_point, UpdateAssetDescription_ik_aim_settings, UpdateAssetDescription_ik_two_bone_settings, UpdateAssetDescription_mip_description, UpdateAssetDescription_node_data_description, UpdateAssetDescription_pair_int16_int16, UpdateAssetDescription_playback_settings_animation_settings, UpdateAssetDescription_random_settings, UpdateAssetDescription_render_pass_description, UpdateAssetDescription_render_target_description, UpdateAssetDescription_shader_module_description, UpdateAssetDescription_submesh_description, UpdateAssetDescription_transition_description, UpdateAssetDescription_vec4, UpdateAssetDescription_vertex_attribute_descriptor, UpdateEntity_AnimationController, UpdateEntity_Bone, UpdateEntity_BoxGeometry, UpdateEntity_Camera, UpdateEntity_CapsuleGeometry, UpdateEntity_CharacterController, UpdateEntity_CollisionGeometryRef, UpdateEntity_CylinderGeometry, UpdateEntity_DecalProjector, UpdateEntity_Entity, UpdateEntity_EntityReference, UpdateEntity_EntityUid, UpdateEntity_Environment, UpdateEntity_Joint, UpdateEntity_Json, UpdateEntity_Light, UpdateEntity_Lineage, UpdateEntity_LocalAxisAlignedBoundingBox, UpdateEntity_MapScriptElement, UpdateEntity_Material, UpdateEntity_MaterialReference, UpdateEntity_MeshReference, UpdateEntity_Name, UpdateEntity_OrthographicLens, UpdateEntity_Overrider, UpdateEntity_PerspectiveLens, UpdateEntity_PhysicsMaterial, UpdateEntity_PlaneGeometry, UpdateEntity_PointCloudReference, UpdateEntity_ReflectionProbe, UpdateEntity_RevoluteJoint, UpdateEntity_RigidBody, UpdateEntity_SceneReference, UpdateEntity_ScriptElement, UpdateEntity_ScriptMap, UpdateEntity_ShadowCaster, UpdateEntity_SkeletonReference, UpdateEntity_SoundReference, UpdateEntity_SphereGeometry, UpdateEntity_SpotLight, UpdateEntity_StereoscopicPerspectiveLens, UpdateEntity_Tags, UpdateEntity_Transform, UpdateEntity_VolumeFilter, UpdateEntity_VolumeMaterialReference, UpdateEntity_VolumeReference, UpdateEntity_animation_controller, UpdateEntity_bone, UpdateEntity_box_geometry, UpdateEntity_camera, UpdateEntity_capsule_geometry, UpdateEntity_character_controller, UpdateEntity_collision_geometry_ref, UpdateEntity_cylinder_geometry, UpdateEntity_debug_name, UpdateEntity_decal_projector, UpdateEntity_entity_components_skeleton_ref, UpdateEntity_environment, UpdateEntity_joint, UpdateEntity_lineage, UpdateEntity_local_aabb, UpdateEntity_local_transform, UpdateEntity_material, UpdateEntity_material_ref, UpdateEntity_mesh_ref, UpdateEntity_orthographic_lens, UpdateEntity_overrider, UpdateEntity_perspective_lens, UpdateEntity_physics_material, UpdateEntity_plane_geometry, UpdateEntity_point_cloud_ref, UpdateEntity_point_light, UpdateEntity_reflection_probe, UpdateEntity_revolute_joint, UpdateEntity_rigid_body, UpdateEntity_scene_ref, UpdateEntity_script_element, UpdateEntity_script_map, UpdateEntity_shadow_caster, UpdateEntity_sound_ref, UpdateEntity_sphere_geometry, UpdateEntity_spot_light, UpdateEntity_stereoscopic_lens, UpdateEntity_tags, UpdateEntity_volume_filter, UpdateEntity_volume_material_ref, UpdateEntity_volume_ref, UploadSourceFiles_Object, axiosInstance, createAsset, createFolder, createGroup, createSession, createSubfolder, deleteAsset, deleteAssets, deleteEntity, deleteFolder, deleteGroup, deleteSourceFiles, deleteUser, downloadSourceFile, exportAsset, generateGuestToken, generateUserToken, getAssetCode, getAssetCustomTypes, getAssetDependencies, getAssetDescription, getAssetDetails, getAssetFolder, getAssetHistory, getAssetMeta, getAssetPayload, getAssetReferences, getAssetSourceFile, getAssetThumbnail, getEntity, getFolderAssets, getFolderInfo, getGroup, getSceneAABB, getSceneSessions, getSession, getSessionsInFolder, getSourceFileAssets, getSourceFileDetails, getSourceFilesInFolder, getUploadTask, getUploadTasksInFolder, getUser, getUserGroups, getUserUploadTasks, grantMemberAccessToFolder, grantMemberAccessToGroup, joinSession, joinSessionAsGuest, kickClientFromSession, killSession, listAssets, listFolderAccesses, listFolderSubFolders, listFolders, listSourceFiles, listUsers, moveAssets, moveFolders, moveSourceFiles, packageAsset, registerUser, revokeMemberAccessToFolder, revokeMemberAccessToGroup, setApiKey, setAssetThumbnail, setBaseURL, setBaseUrl, setUserToken, updateAssetDescription, updateEntity, updateFolder, updateGroupDescription, updateSourceFileDetails, updateUser, uploadSourceFiles };
|
18
|
+
export * from './_prebuild/wrapper';
|