@3dverse/api 0.3.6 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_prebuild/wrapper.d.ts +227 -692
- package/dist/index.js +8 -6
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +7 -5
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
|
@@ -91,7 +91,7 @@ export type GetUserUploadTasks_UploadTask = {
|
|
|
91
91
|
uploaded_at: string;
|
|
92
92
|
uploaded_by: string;
|
|
93
93
|
progress: number;
|
|
94
|
-
|
|
94
|
+
download_progress?: number;
|
|
95
95
|
status: "waiting" | "downloading" | "pending" | "converting" | "error";
|
|
96
96
|
conversion_tasks: Array<GetUserUploadTasks_ConversionTask>;
|
|
97
97
|
};
|
|
@@ -337,7 +337,7 @@ export type GetUploadTasksInFolder_UploadTask = {
|
|
|
337
337
|
uploaded_at: string;
|
|
338
338
|
uploaded_by: string;
|
|
339
339
|
progress: number;
|
|
340
|
-
|
|
340
|
+
download_progress?: number;
|
|
341
341
|
status: "waiting" | "downloading" | "pending" | "converting" | "error";
|
|
342
342
|
conversion_tasks: Array<GetUploadTasksInFolder_ConversionTask>;
|
|
343
343
|
};
|
|
@@ -354,29 +354,35 @@ export declare function getUploadTasksInFolder({ folder_id, offset, limit }: {
|
|
|
354
354
|
limit?: number;
|
|
355
355
|
}): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>;
|
|
356
356
|
export type GetFolderAssets_Filter = {
|
|
357
|
-
asset_type?: (Array<"animation" | "
|
|
357
|
+
asset_type?: (Array<"action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material"> | "action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material");
|
|
358
358
|
asset_name?: string;
|
|
359
359
|
};
|
|
360
|
-
export type
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
360
|
+
export type GetFolderAssets__index_AssetList_AssetList = {
|
|
361
|
+
action_maps?: Array<GetFolderAssets_Object>;
|
|
362
|
+
algorithms?: Array<GetFolderAssets_Object>;
|
|
363
|
+
animation_graphs?: Array<GetFolderAssets_Object>;
|
|
364
|
+
animation_sequences?: Array<GetFolderAssets_Object>;
|
|
365
|
+
animation_sets?: Array<GetFolderAssets_Object>;
|
|
366
|
+
animations?: Array<GetFolderAssets_Object>;
|
|
367
|
+
collision_geometries?: Array<GetFolderAssets_Object>;
|
|
368
|
+
cubemaps?: Array<GetFolderAssets_Object>;
|
|
369
|
+
event_maps?: Array<GetFolderAssets_Object>;
|
|
370
|
+
materials?: Array<GetFolderAssets_Object>;
|
|
371
|
+
meshes?: Array<GetFolderAssets_Object>;
|
|
372
|
+
modules?: Array<GetFolderAssets_Object>;
|
|
373
|
+
point_clouds?: Array<GetFolderAssets_Object>;
|
|
374
|
+
render_graphs?: Array<GetFolderAssets_Object>;
|
|
375
|
+
scenes?: Array<GetFolderAssets_Object>;
|
|
376
|
+
scripts?: Array<GetFolderAssets_Object>;
|
|
377
|
+
shaders?: Array<GetFolderAssets_Object>;
|
|
378
|
+
skeletons?: Array<GetFolderAssets_Object>;
|
|
379
|
+
sounds?: Array<GetFolderAssets_Object>;
|
|
380
|
+
textures?: Array<GetFolderAssets_Object>;
|
|
381
|
+
textures_1d?: Array<GetFolderAssets_Object>;
|
|
382
|
+
textures_3d?: Array<GetFolderAssets_Object>;
|
|
383
|
+
volume_materials?: Array<GetFolderAssets_Object>;
|
|
384
|
+
};
|
|
385
|
+
export type GetFolderAssets_Object = {
|
|
380
386
|
asset_id: string;
|
|
381
387
|
name: string;
|
|
382
388
|
};
|
|
@@ -385,7 +391,7 @@ export declare function getFolderAssets({ folder_id, offset, limit, filter }: {
|
|
|
385
391
|
offset?: number;
|
|
386
392
|
limit?: number;
|
|
387
393
|
filter?: GetFolderAssets_Filter;
|
|
388
|
-
}): AxiosPromise<
|
|
394
|
+
}): AxiosPromise<GetFolderAssets__index_AssetList_AssetList>;
|
|
389
395
|
export declare function moveAssets({ folder_id, assetIds }: {
|
|
390
396
|
folder_id: string;
|
|
391
397
|
assetIds: Array<string>;
|
|
@@ -399,7 +405,7 @@ export type CreateAsset_AssetDuplication = {
|
|
|
399
405
|
options?: CreateAsset_DuplicationOptions;
|
|
400
406
|
};
|
|
401
407
|
export type CreateAsset_DuplicationOptions = {
|
|
402
|
-
asset_types?: Array<"animation" | "
|
|
408
|
+
asset_types?: Array<"action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material">;
|
|
403
409
|
max_depth?: number;
|
|
404
410
|
};
|
|
405
411
|
export type CreateAsset_AssetDuplicationResult = {
|
|
@@ -412,7 +418,7 @@ export type CreateAsset_SourceToCopyAssetIdMap = {
|
|
|
412
418
|
};
|
|
413
419
|
export declare function createAsset({ folder_id, asset_container_creatable, assetCreationOptions }: {
|
|
414
420
|
folder_id: string;
|
|
415
|
-
asset_container_creatable: "
|
|
421
|
+
asset_container_creatable: "action_maps" | "algorithms" | "animation_graphs" | "animation_sequences" | "cubemaps" | "event_maps" | "materials" | "modules" | "render_graphs" | "scenes" | "scripts" | "shaders" | "volume_materials";
|
|
416
422
|
assetCreationOptions: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication>;
|
|
417
423
|
}): AxiosPromise<CreateAsset_AssetDuplicationResult>;
|
|
418
424
|
export type GetSessionsInFolder_Session = {
|
|
@@ -467,39 +473,45 @@ export declare function updateSourceFileDetails({ source_file_id, name }: {
|
|
|
467
473
|
source_file_id: string;
|
|
468
474
|
name?: string;
|
|
469
475
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
470
|
-
export type
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
476
|
+
export type GetSourceFileAssets__index_AssetList_AssetList = {
|
|
477
|
+
action_maps?: Array<GetSourceFileAssets_Object>;
|
|
478
|
+
algorithms?: Array<GetSourceFileAssets_Object>;
|
|
479
|
+
animation_graphs?: Array<GetSourceFileAssets_Object>;
|
|
480
|
+
animation_sequences?: Array<GetSourceFileAssets_Object>;
|
|
481
|
+
animation_sets?: Array<GetSourceFileAssets_Object>;
|
|
482
|
+
animations?: Array<GetSourceFileAssets_Object>;
|
|
483
|
+
collision_geometries?: Array<GetSourceFileAssets_Object>;
|
|
484
|
+
cubemaps?: Array<GetSourceFileAssets_Object>;
|
|
485
|
+
event_maps?: Array<GetSourceFileAssets_Object>;
|
|
486
|
+
materials?: Array<GetSourceFileAssets_Object>;
|
|
487
|
+
meshes?: Array<GetSourceFileAssets_Object>;
|
|
488
|
+
modules?: Array<GetSourceFileAssets_Object>;
|
|
489
|
+
point_clouds?: Array<GetSourceFileAssets_Object>;
|
|
490
|
+
render_graphs?: Array<GetSourceFileAssets_Object>;
|
|
491
|
+
scenes?: Array<GetSourceFileAssets_Object>;
|
|
492
|
+
scripts?: Array<GetSourceFileAssets_Object>;
|
|
493
|
+
shaders?: Array<GetSourceFileAssets_Object>;
|
|
494
|
+
skeletons?: Array<GetSourceFileAssets_Object>;
|
|
495
|
+
sounds?: Array<GetSourceFileAssets_Object>;
|
|
496
|
+
textures?: Array<GetSourceFileAssets_Object>;
|
|
497
|
+
textures_1d?: Array<GetSourceFileAssets_Object>;
|
|
498
|
+
textures_3d?: Array<GetSourceFileAssets_Object>;
|
|
499
|
+
volume_materials?: Array<GetSourceFileAssets_Object>;
|
|
500
|
+
};
|
|
501
|
+
export type GetSourceFileAssets_Object = {
|
|
490
502
|
asset_id: string;
|
|
491
503
|
name: string;
|
|
492
504
|
};
|
|
493
505
|
export declare function getSourceFileAssets({ source_file_id }: {
|
|
494
506
|
source_file_id: string;
|
|
495
|
-
}): AxiosPromise<
|
|
507
|
+
}): AxiosPromise<GetSourceFileAssets__index_AssetList_AssetList>;
|
|
496
508
|
export type GetUploadTask_UploadTask = {
|
|
497
509
|
upload_task_id: string;
|
|
498
510
|
folder_id: string;
|
|
499
511
|
uploaded_at: string;
|
|
500
512
|
uploaded_by: string;
|
|
501
513
|
progress: number;
|
|
502
|
-
|
|
514
|
+
download_progress?: number;
|
|
503
515
|
status: "waiting" | "downloading" | "pending" | "converting" | "error";
|
|
504
516
|
conversion_tasks: Array<GetUploadTask_ConversionTask>;
|
|
505
517
|
};
|
|
@@ -513,38 +525,44 @@ export type GetUploadTask_ConversionTask = {
|
|
|
513
525
|
export declare function getUploadTask({ upload_task_id }: {
|
|
514
526
|
upload_task_id: string;
|
|
515
527
|
}): AxiosPromise<GetUploadTask_UploadTask>;
|
|
516
|
-
export type
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
528
|
+
export type ListAssets__index_AssetList_AssetList = {
|
|
529
|
+
action_maps?: Array<ListAssets_Object>;
|
|
530
|
+
algorithms?: Array<ListAssets_Object>;
|
|
531
|
+
animation_graphs?: Array<ListAssets_Object>;
|
|
532
|
+
animation_sequences?: Array<ListAssets_Object>;
|
|
533
|
+
animation_sets?: Array<ListAssets_Object>;
|
|
534
|
+
animations?: Array<ListAssets_Object>;
|
|
535
|
+
collision_geometries?: Array<ListAssets_Object>;
|
|
536
|
+
cubemaps?: Array<ListAssets_Object>;
|
|
537
|
+
event_maps?: Array<ListAssets_Object>;
|
|
538
|
+
materials?: Array<ListAssets_Object>;
|
|
539
|
+
meshes?: Array<ListAssets_Object>;
|
|
540
|
+
modules?: Array<ListAssets_Object>;
|
|
541
|
+
point_clouds?: Array<ListAssets_Object>;
|
|
542
|
+
render_graphs?: Array<ListAssets_Object>;
|
|
543
|
+
scenes?: Array<ListAssets_Object>;
|
|
544
|
+
scripts?: Array<ListAssets_Object>;
|
|
545
|
+
shaders?: Array<ListAssets_Object>;
|
|
546
|
+
skeletons?: Array<ListAssets_Object>;
|
|
547
|
+
sounds?: Array<ListAssets_Object>;
|
|
548
|
+
textures?: Array<ListAssets_Object>;
|
|
549
|
+
textures_1d?: Array<ListAssets_Object>;
|
|
550
|
+
textures_3d?: Array<ListAssets_Object>;
|
|
551
|
+
volume_materials?: Array<ListAssets_Object>;
|
|
552
|
+
};
|
|
553
|
+
export type ListAssets_Object = {
|
|
536
554
|
asset_id: string;
|
|
537
555
|
name: string;
|
|
538
556
|
};
|
|
539
557
|
export declare function listAssets({ offset, limit }: {
|
|
540
558
|
offset?: number;
|
|
541
559
|
limit?: number;
|
|
542
|
-
}): AxiosPromise<
|
|
560
|
+
}): AxiosPromise<ListAssets__index_AssetList_AssetList>;
|
|
543
561
|
export declare function deleteAssets({ assetIds }: {
|
|
544
562
|
assetIds: Array<string>;
|
|
545
563
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
546
564
|
export declare function deleteAsset({ asset_container, asset_id }: {
|
|
547
|
-
asset_container: "animations" | "
|
|
565
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
548
566
|
asset_id: string;
|
|
549
567
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
550
568
|
export type GetAssetSourceFile_SourceFile = {
|
|
@@ -555,32 +573,32 @@ export type GetAssetSourceFile_SourceFile = {
|
|
|
555
573
|
size?: number;
|
|
556
574
|
};
|
|
557
575
|
export declare function getAssetSourceFile({ asset_container, asset_id }: {
|
|
558
|
-
asset_container: "animations" | "
|
|
576
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
559
577
|
asset_id: string;
|
|
560
578
|
}): AxiosPromise<GetAssetSourceFile_SourceFile>;
|
|
561
|
-
export type
|
|
562
|
-
type: "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial";
|
|
579
|
+
export type GetAssetDetails__index_AssetDetails_AssetDetails = {
|
|
563
580
|
asset_id: string;
|
|
564
|
-
|
|
581
|
+
contributors?: Array<GetAssetDetails_Contributor>;
|
|
565
582
|
created_at?: string;
|
|
566
583
|
created_by?: GetAssetDetails_Object;
|
|
567
584
|
last_edited_at?: string;
|
|
568
585
|
last_edited_by?: GetAssetDetails_Object;
|
|
569
|
-
|
|
586
|
+
name: string;
|
|
587
|
+
type: "action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material";
|
|
588
|
+
};
|
|
589
|
+
export type GetAssetDetails_Contributor = {
|
|
590
|
+
contribution_count: number;
|
|
591
|
+
user: GetAssetDetails_Object;
|
|
570
592
|
};
|
|
571
593
|
export type GetAssetDetails_Object = {
|
|
594
|
+
registered_at: string;
|
|
572
595
|
user_id: string;
|
|
573
596
|
username: string;
|
|
574
|
-
registered_at?: string;
|
|
575
|
-
};
|
|
576
|
-
export type GetAssetDetails_UserContribution = {
|
|
577
|
-
user: GetAssetDetails_Object;
|
|
578
|
-
contribution_count: number;
|
|
579
597
|
};
|
|
580
598
|
export declare function getAssetDetails({ asset_container, asset_id }: {
|
|
581
|
-
asset_container: "animations" | "
|
|
599
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
582
600
|
asset_id: string;
|
|
583
|
-
}): AxiosPromise<
|
|
601
|
+
}): AxiosPromise<GetAssetDetails__index_AssetDetails_AssetDetails>;
|
|
584
602
|
export type GetAssetFolder_Folder = {
|
|
585
603
|
folder_id: string;
|
|
586
604
|
parent_folder_id?: string;
|
|
@@ -597,717 +615,234 @@ export type GetAssetFolder_Object = {
|
|
|
597
615
|
registered_at?: string;
|
|
598
616
|
};
|
|
599
617
|
export declare function getAssetFolder({ asset_container, asset_id }: {
|
|
600
|
-
asset_container: "animations" | "
|
|
618
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
601
619
|
asset_id: string;
|
|
602
620
|
}): AxiosPromise<GetAssetFolder_Folder>;
|
|
603
621
|
export type GetAssetDependencies_Filter = {
|
|
604
|
-
asset_type?: "animation" | "
|
|
622
|
+
asset_type?: "action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material";
|
|
605
623
|
};
|
|
606
624
|
export type GetAssetDependencies_Flat = {
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
625
|
+
action_maps?: Array<GetAssetDependencies_Object>;
|
|
626
|
+
algorithms?: Array<GetAssetDependencies_Object>;
|
|
627
|
+
animation_graphs?: Array<GetAssetDependencies_Object>;
|
|
628
|
+
animation_sequences?: Array<GetAssetDependencies_Object>;
|
|
629
|
+
animation_sets?: Array<GetAssetDependencies_Object>;
|
|
630
|
+
animations?: Array<GetAssetDependencies_Object>;
|
|
631
|
+
collision_geometries?: Array<GetAssetDependencies_Object>;
|
|
632
|
+
cubemaps?: Array<GetAssetDependencies_Object>;
|
|
633
|
+
event_maps?: Array<GetAssetDependencies_Object>;
|
|
634
|
+
materials?: Array<GetAssetDependencies_Object>;
|
|
635
|
+
meshes?: Array<GetAssetDependencies_Object>;
|
|
636
|
+
modules?: Array<GetAssetDependencies_Object>;
|
|
637
|
+
point_clouds?: Array<GetAssetDependencies_Object>;
|
|
638
|
+
render_graphs?: Array<GetAssetDependencies_Object>;
|
|
639
|
+
scenes?: Array<GetAssetDependencies_Object>;
|
|
640
|
+
scripts?: Array<GetAssetDependencies_Object>;
|
|
641
|
+
shaders?: Array<GetAssetDependencies_Object>;
|
|
642
|
+
skeletons?: Array<GetAssetDependencies_Object>;
|
|
643
|
+
sounds?: Array<GetAssetDependencies_Object>;
|
|
644
|
+
textures?: Array<GetAssetDependencies_Object>;
|
|
645
|
+
textures_1d?: Array<GetAssetDependencies_Object>;
|
|
646
|
+
textures_3d?: Array<GetAssetDependencies_Object>;
|
|
647
|
+
volume_materials?: Array<GetAssetDependencies_Object>;
|
|
648
|
+
};
|
|
649
|
+
export type GetAssetDependencies_Object = {
|
|
650
|
+
asset_id: string;
|
|
651
|
+
name: string;
|
|
652
|
+
};
|
|
653
|
+
export type GetAssetDependencies__index_AssetItem_AssetItem = {
|
|
626
654
|
asset_id: string;
|
|
627
655
|
name: string;
|
|
656
|
+
asset_type: "action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material";
|
|
628
657
|
};
|
|
629
658
|
export declare function getAssetDependencies({ asset_container, asset_id, format, depth, filter }: {
|
|
630
|
-
asset_container: "animations" | "
|
|
659
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
631
660
|
asset_id: string;
|
|
632
661
|
format?: StrictUnion<'flat' | 'graph'>;
|
|
633
662
|
depth?: StrictUnion<'all' | 'direct'>;
|
|
634
663
|
filter?: GetAssetDependencies_Filter;
|
|
635
|
-
}): AxiosPromise<
|
|
664
|
+
}): AxiosPromise<(GetAssetDependencies_Flat | Array<Array<GetAssetDependencies__index_AssetItem_AssetItem>>)>;
|
|
636
665
|
export declare function getAssetReferences({ asset_container, asset_id }: {
|
|
637
|
-
asset_container: "animations" | "
|
|
666
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
638
667
|
asset_id: string;
|
|
639
668
|
}): AxiosPromise<object>;
|
|
669
|
+
export type GetAssetDescription_ActionMap = {
|
|
670
|
+
actions: GetAssetDescription_Object;
|
|
671
|
+
};
|
|
672
|
+
export type GetAssetDescription_Object = {
|
|
673
|
+
[action_name: string]: object;
|
|
674
|
+
};
|
|
675
|
+
export type GetAssetDescription_Algorithm = {
|
|
676
|
+
inputDescriptor: Array<object>;
|
|
677
|
+
outputDescriptor: Array<object>;
|
|
678
|
+
};
|
|
640
679
|
export type GetAssetDescription_Animation = {
|
|
680
|
+
animationEventTrack: GetAssetDescription_Object;
|
|
641
681
|
durationInMs: number;
|
|
642
682
|
payloadSize: number;
|
|
643
|
-
animationEventTrack: GetAssetDescription_Object;
|
|
644
683
|
skeletonRef?: string;
|
|
645
684
|
};
|
|
646
|
-
export type GetAssetDescription_Object = {
|
|
647
|
-
eventNames?: Array<string>;
|
|
648
|
-
eventTimeline?: Array<GetAssetDescription_animation_event>;
|
|
649
|
-
};
|
|
650
|
-
export type GetAssetDescription_animation_event = {
|
|
651
|
-
eventIndex?: number;
|
|
652
|
-
triggerTime?: number;
|
|
653
|
-
triggerGlobally?: boolean;
|
|
654
|
-
};
|
|
655
685
|
export type GetAssetDescription_AnimationGraph = {
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
};
|
|
659
|
-
export type GetAssetDescription_animation_state_machine_description = {
|
|
660
|
-
states?: Array<GetAssetDescription_animation_state_description>;
|
|
661
|
-
transitions?: Array<GetAssetDescription_transition_description>;
|
|
662
|
-
};
|
|
663
|
-
export type GetAssetDescription_animation_state_description = {
|
|
664
|
-
name?: string;
|
|
665
|
-
nodes?: Array<GetAssetDescription_animation_node_description>;
|
|
666
|
-
transitionIndices?: Array<number>;
|
|
667
|
-
};
|
|
668
|
-
export type GetAssetDescription_animation_node_description = {
|
|
669
|
-
nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
|
|
670
|
-
inputs?: Array<number>;
|
|
671
|
-
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>;
|
|
672
|
-
};
|
|
673
|
-
export type GetAssetDescription_playback_settings_animation_settings = {
|
|
674
|
-
playbackSpeed?: number;
|
|
675
|
-
startOffset?: number;
|
|
676
|
-
loop?: boolean;
|
|
677
|
-
animationKey?: number;
|
|
678
|
-
};
|
|
679
|
-
export type GetAssetDescription_blendspace_1d_settings_animation_settings = {
|
|
680
|
-
playbackSpeed?: number;
|
|
681
|
-
startOffset?: number;
|
|
682
|
-
loop?: boolean;
|
|
683
|
-
controlPoints?: Array<GetAssetDescription_blend_axis>;
|
|
684
|
-
horizontalAxis?: GetAssetDescription_Object;
|
|
685
|
-
};
|
|
686
|
-
export type GetAssetDescription_blend_axis = {
|
|
687
|
-
name?: string;
|
|
688
|
-
rangeMin?: number;
|
|
689
|
-
rangeMax?: number;
|
|
690
|
-
};
|
|
691
|
-
export type GetAssetDescription_blendspace_2d_settings_animation_settings = {
|
|
692
|
-
playbackSpeed?: number;
|
|
693
|
-
startOffset?: number;
|
|
694
|
-
loop?: boolean;
|
|
695
|
-
controlPoints?: Array<GetAssetDescription_blend_axis>;
|
|
696
|
-
horizontalAxis?: GetAssetDescription_Object;
|
|
697
|
-
verticalAxis?: GetAssetDescription_Object;
|
|
698
|
-
};
|
|
699
|
-
export type GetAssetDescription_blend_settings = {
|
|
700
|
-
weights?: Array<number>;
|
|
701
|
-
boneIndices?: Array<number>;
|
|
702
|
-
};
|
|
703
|
-
export type GetAssetDescription_random_settings = {
|
|
704
|
-
probabilities?: Array<number>;
|
|
705
|
-
};
|
|
706
|
-
export type GetAssetDescription_animation_state_machine_settings = {
|
|
707
|
-
stateMachineIndex?: number;
|
|
708
|
-
};
|
|
709
|
-
export type GetAssetDescription_ik_two_bone_settings = {
|
|
710
|
-
ws_poleVector?: Array<number>;
|
|
711
|
-
targetId?: string;
|
|
712
|
-
startJoint?: number;
|
|
713
|
-
midJoint?: number;
|
|
714
|
-
endJoint?: number;
|
|
715
|
-
soften?: number;
|
|
716
|
-
twistAngle?: number;
|
|
717
|
-
weight?: number;
|
|
718
|
-
};
|
|
719
|
-
export type GetAssetDescription_ik_aim_settings = {
|
|
720
|
-
targetNameId?: string;
|
|
721
|
-
aimingBoneId?: string;
|
|
722
|
-
chainLength?: number;
|
|
723
|
-
eyesOffset?: Array<number>;
|
|
724
|
-
chainWeight?: number;
|
|
725
|
-
boneWeight?: number;
|
|
726
|
-
};
|
|
727
|
-
export type GetAssetDescription_transition_description = {
|
|
728
|
-
durationInMs?: number;
|
|
729
|
-
exitTime?: number;
|
|
730
|
-
nextStateIndex?: number;
|
|
731
|
-
condition?: string;
|
|
686
|
+
inputDescriptor: object;
|
|
687
|
+
stateMachines: Array<GetAssetDescription_Object>;
|
|
732
688
|
};
|
|
733
689
|
export type GetAssetDescription_AnimationSequence = {
|
|
734
690
|
inputDescriptor: object;
|
|
735
691
|
};
|
|
736
692
|
export type GetAssetDescription_AnimationSet = {
|
|
737
|
-
animationSet: Array<GetAssetDescription_Object>;
|
|
738
693
|
animationGraphUUID: string;
|
|
694
|
+
animationSet: GetAssetDescription_Object;
|
|
695
|
+
};
|
|
696
|
+
export type GetAssetDescription_CollisionGeometry = {
|
|
697
|
+
geometryType: StrictUnion<0 | 1>;
|
|
698
|
+
payloadSize: number;
|
|
739
699
|
};
|
|
740
700
|
export type GetAssetDescription_Cubemap = {
|
|
741
701
|
faces: Array<string>;
|
|
742
702
|
};
|
|
743
703
|
export type GetAssetDescription_EventMap = {
|
|
744
|
-
eventDescriptors:
|
|
704
|
+
eventDescriptors: GetAssetDescription_Object;
|
|
745
705
|
};
|
|
746
706
|
export type GetAssetDescription_Material = {
|
|
747
|
-
shaderRef: string;
|
|
748
|
-
skinnedShaderRef: string;
|
|
749
707
|
dataJson: object;
|
|
750
708
|
isDoubleSided: boolean;
|
|
709
|
+
shaderRef: string;
|
|
710
|
+
skinnedShaderRef: string;
|
|
751
711
|
};
|
|
752
712
|
export type GetAssetDescription_Mesh = {
|
|
753
|
-
submeshes: Array<GetAssetDescription_submesh_description>;
|
|
754
713
|
payloadSize: number;
|
|
714
|
+
submeshes: Array<GetAssetDescription_Submesh>;
|
|
755
715
|
};
|
|
756
|
-
export type
|
|
757
|
-
boundingBox:
|
|
758
|
-
channels: Array<
|
|
759
|
-
payloadSize: number;
|
|
716
|
+
export type GetAssetDescription_Submesh = {
|
|
717
|
+
boundingBox: GetAssetDescription_BoundingBox;
|
|
718
|
+
channels: Array<GetAssetDescription_Channel>;
|
|
760
719
|
indexCount: number;
|
|
761
|
-
|
|
720
|
+
payloadSize: number;
|
|
721
|
+
vertexCount: number;
|
|
762
722
|
};
|
|
763
|
-
export type
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
dataOffset
|
|
769
|
-
dataSize
|
|
723
|
+
export type GetAssetDescription_BoundingBox = {
|
|
724
|
+
max: Array<number>;
|
|
725
|
+
min: Array<number>;
|
|
726
|
+
};
|
|
727
|
+
export type GetAssetDescription_Channel = {
|
|
728
|
+
dataOffset: number;
|
|
729
|
+
dataSize: number;
|
|
730
|
+
elementCount: number;
|
|
731
|
+
elementSize: number;
|
|
732
|
+
elementType: StrictUnion<0 | 1 | 2> & number;
|
|
733
|
+
semantic: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
|
|
734
|
+
};
|
|
735
|
+
export type GetAssetDescription_Module = {
|
|
736
|
+
functions: GetAssetDescription_Object;
|
|
770
737
|
};
|
|
771
738
|
export type GetAssetDescription_PointCloud = {
|
|
772
739
|
format: "invalid" | "xyz32" | "xyz32_rgb8";
|
|
773
740
|
payloadTotalSize: number;
|
|
774
741
|
pointCount: number;
|
|
775
|
-
translation?: Array<number>;
|
|
776
742
|
scale?: Array<number>;
|
|
777
|
-
|
|
778
|
-
export type GetAssetDescription_RenderGraph = {
|
|
779
|
-
renderTargetDescriptions?: Array<GetAssetDescription_render_target_description>;
|
|
780
|
-
nodeDataDescriptions?: Array<GetAssetDescription_node_data_description>;
|
|
781
|
-
renderPassDescriptions?: Array<GetAssetDescription_render_pass_description>;
|
|
782
|
-
graphOrder?: Array<object>;
|
|
783
|
-
inputDescriptor?: object;
|
|
784
|
-
stencilStates?: Array<GetAssetDescription_VkStencilOpState>;
|
|
785
|
-
blendStates?: Array<GetAssetDescription_VkPipelineColorBlendAttachmentState>;
|
|
786
|
-
defaultRenderTargetIndex?: number;
|
|
787
|
-
occlusionInputDepthRenderTargetIndex?: number;
|
|
788
|
-
};
|
|
789
|
-
export type GetAssetDescription_render_target_description = {
|
|
790
|
-
name?: string;
|
|
791
|
-
format?: object;
|
|
792
|
-
sampleCount?: object;
|
|
793
|
-
usage?: object;
|
|
794
|
-
aspect?: object;
|
|
795
|
-
samplerType?: number;
|
|
796
|
-
mipLevels?: number;
|
|
797
|
-
extent?: object;
|
|
798
|
-
flags?: object;
|
|
799
|
-
tiling?: object;
|
|
800
|
-
memoryUsage?: object;
|
|
801
|
-
memoryType?: object;
|
|
802
|
-
};
|
|
803
|
-
export type GetAssetDescription_node_data_description = {
|
|
804
|
-
name?: string;
|
|
805
|
-
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";
|
|
806
|
-
inputDepthRenderTargetIndices?: Array<number>;
|
|
807
|
-
outputDepthRenderTargetIndices?: Array<number>;
|
|
808
|
-
inputRenderTargetIndices?: Array<number>;
|
|
809
|
-
outputRenderTargetIndices?: Array<number>;
|
|
810
|
-
shaderRef?: object;
|
|
811
|
-
dataJson?: object;
|
|
812
|
-
aliases?: Array<any>;
|
|
813
|
-
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";
|
|
814
|
-
pipelineDescription?: GetAssetDescription_Object;
|
|
815
|
-
copyToFaceIndex?: number;
|
|
816
|
-
drawIndirect?: boolean;
|
|
817
|
-
conditions?: Array<string>;
|
|
818
|
-
clearColors?: Array<object>;
|
|
819
|
-
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]]";
|
|
820
|
-
};
|
|
821
|
-
export type GetAssetDescription_render_pass_description = {
|
|
822
|
-
name?: string;
|
|
823
|
-
sampleCount?: number;
|
|
824
|
-
nodeIndices?: Array<number>;
|
|
825
|
-
colorAttachmentIndices?: Array<number>;
|
|
826
|
-
depthAttachmentIndex?: number;
|
|
827
|
-
resolveAttachmentIndices?: Array<number>;
|
|
828
|
-
colorAttachmentReferences?: Array<GetAssetDescription_VkAttachmentReference>;
|
|
829
|
-
depthAttachmentReference?: GetAssetDescription_Object;
|
|
830
|
-
resolveAttachmentReferences?: Array<GetAssetDescription_VkAttachmentReference>;
|
|
831
|
-
attachmentDescriptions?: Array<GetAssetDescription_VkAttachmentDescription>;
|
|
832
|
-
attachmentClearColors?: Array<object>;
|
|
833
|
-
};
|
|
834
|
-
export type GetAssetDescription_VkAttachmentReference = {
|
|
835
|
-
attachment?: number;
|
|
836
|
-
layout?: object;
|
|
837
|
-
};
|
|
838
|
-
export type GetAssetDescription_VkAttachmentDescription = {
|
|
839
|
-
flags?: object;
|
|
840
|
-
format?: object;
|
|
841
|
-
samples?: object;
|
|
842
|
-
loadOp?: object;
|
|
843
|
-
storeOp?: object;
|
|
844
|
-
stencilLoadOp?: object;
|
|
845
|
-
stencilStoreOp?: object;
|
|
846
|
-
initialLayout?: object;
|
|
847
|
-
finalLayout?: object;
|
|
848
|
-
};
|
|
849
|
-
export type GetAssetDescription_VkStencilOpState = {
|
|
850
|
-
failOp?: object;
|
|
851
|
-
passOp?: object;
|
|
852
|
-
depthFailOp?: object;
|
|
853
|
-
compareOp?: object;
|
|
854
|
-
compareMask?: number;
|
|
855
|
-
writeMask?: number;
|
|
856
|
-
reference?: number;
|
|
857
|
-
};
|
|
858
|
-
export type GetAssetDescription_VkPipelineColorBlendAttachmentState = {
|
|
859
|
-
blendEnable?: boolean;
|
|
860
|
-
srcColorBlendFactor?: object;
|
|
861
|
-
dstColorBlendFactor?: object;
|
|
862
|
-
colorBlendOp?: object;
|
|
863
|
-
srcAlphaBlendFactor?: object;
|
|
864
|
-
dstAlphaBlendFactor?: object;
|
|
865
|
-
alphaBlendOp?: object;
|
|
866
|
-
colorWriteMask?: object;
|
|
743
|
+
translation?: Array<number>;
|
|
867
744
|
};
|
|
868
745
|
export type GetAssetDescription_Scene = {
|
|
869
746
|
aabb: GetAssetDescription_Aabb;
|
|
747
|
+
animationSequenceInstances?: Array<GetAssetDescription_Object>;
|
|
870
748
|
entities: Array<object>;
|
|
871
|
-
triangleCount: number;
|
|
872
749
|
settings?: object;
|
|
873
|
-
|
|
750
|
+
triangleCount: number;
|
|
874
751
|
};
|
|
875
752
|
export type GetAssetDescription_Aabb = {
|
|
876
|
-
min: Array<number>;
|
|
877
753
|
max: Array<number>;
|
|
878
|
-
|
|
879
|
-
export type GetAssetDescription_animation_sequence_instance = {
|
|
880
|
-
ref?: string;
|
|
881
|
-
entities?: Array<string>;
|
|
882
|
-
dataJSON?: object;
|
|
883
|
-
durationInMs?: number;
|
|
884
|
-
loop?: boolean;
|
|
754
|
+
min: Array<number>;
|
|
885
755
|
};
|
|
886
756
|
export type GetAssetDescription_Script = {
|
|
887
|
-
inputDescriptor?: object;
|
|
888
757
|
eventNames: Array<string>;
|
|
758
|
+
inputDescriptor?: object;
|
|
889
759
|
subScripts?: Array<string>;
|
|
890
760
|
};
|
|
891
761
|
export type GetAssetDescription_Shader = {
|
|
892
|
-
payloadSize: number;
|
|
893
|
-
shaderStages?: number;
|
|
894
|
-
moduleDescriptions?: Array<GetAssetDescription_shader_module_description>;
|
|
895
|
-
materialDescriptor?: object;
|
|
896
|
-
nodeDataDescriptor?: object;
|
|
897
|
-
vertexDescriptor?: Array<GetAssetDescription_vertex_attribute_descriptor>;
|
|
898
762
|
blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
|
|
899
763
|
localGroupCount?: Array<number>;
|
|
764
|
+
materialDescriptor?: object;
|
|
765
|
+
moduleDescriptions?: Array<GetAssetDescription_Object>;
|
|
766
|
+
nodeDataDescriptor?: object;
|
|
900
767
|
optGlobalGroupMultiplier?: Array<number>;
|
|
901
768
|
optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
payloadOffset?: number;
|
|
906
|
-
payloadSize?: number;
|
|
907
|
-
usedBindings?: number;
|
|
908
|
-
};
|
|
909
|
-
export type GetAssetDescription_vertex_attribute_descriptor = {
|
|
910
|
-
semantic?: "position = 1 << 0" | "normal = 1 << 1" | "tex_coord = 1 << 2" | "skin_bone_ids = 1 << 3" | "skin_weights = 1 << 4" | "custom = 1 << 5";
|
|
911
|
-
binding?: number;
|
|
912
|
-
location?: number;
|
|
913
|
-
stride?: number;
|
|
914
|
-
format?: object;
|
|
915
|
-
offset?: number;
|
|
769
|
+
payloadSize: number;
|
|
770
|
+
shaderStages?: number;
|
|
771
|
+
vertexDescriptor?: Array<GetAssetDescription_Object>;
|
|
916
772
|
};
|
|
917
773
|
export type GetAssetDescription_Skeleton = {
|
|
774
|
+
bones: Array<GetAssetDescription_Object>;
|
|
918
775
|
payloadSize: number;
|
|
919
|
-
bones: Array<GetAssetDescription_bone_description>;
|
|
920
|
-
};
|
|
921
|
-
export type GetAssetDescription_bone_description = {
|
|
922
|
-
name?: string;
|
|
923
|
-
childrenCount?: number;
|
|
924
|
-
firstChildIndex?: number;
|
|
925
|
-
parentIndex?: number;
|
|
926
|
-
offsetMatrix?: Array<number>;
|
|
927
776
|
};
|
|
928
777
|
export type GetAssetDescription_Sound = {
|
|
778
|
+
bitDepth: number;
|
|
779
|
+
channelCount: number;
|
|
780
|
+
durationInMs: number;
|
|
929
781
|
payloadSize: number;
|
|
930
782
|
sampleCount: number;
|
|
931
|
-
durationInMs: number;
|
|
932
783
|
sampleFrequencyInHz: number;
|
|
933
|
-
bitDepth: number;
|
|
934
|
-
channelCount: number;
|
|
935
784
|
};
|
|
936
785
|
export type GetAssetDescription_Texture = {
|
|
937
786
|
format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
|
|
787
|
+
mips: Array<GetAssetDescription_Object>;
|
|
938
788
|
payloadTotalSize: number;
|
|
939
|
-
mips: Array<GetAssetDescription_mip_description>;
|
|
940
789
|
};
|
|
941
|
-
export type
|
|
942
|
-
|
|
943
|
-
|
|
790
|
+
export type GetAssetDescription_Texture_1D = {
|
|
791
|
+
format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
|
|
792
|
+
mips: Array<GetAssetDescription_Object>;
|
|
793
|
+
payloadTotalSize: number;
|
|
794
|
+
};
|
|
795
|
+
export type GetAssetDescription_Texture_3D = {
|
|
796
|
+
format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
|
|
797
|
+
mips: Array<GetAssetDescription_Object>;
|
|
798
|
+
payloadTotalSize: number;
|
|
799
|
+
voxelDimensions?: Array<number>;
|
|
944
800
|
};
|
|
945
801
|
export type GetAssetDescription_VolumeMaterial = {
|
|
946
|
-
albedoLUT?: Array<
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
rangeMin
|
|
951
|
-
|
|
952
|
-
};
|
|
953
|
-
export type
|
|
954
|
-
key?: number;
|
|
955
|
-
value?: StrictUnion<Array<number> | number>;
|
|
956
|
-
};
|
|
957
|
-
export type GetAssetDescription_asset_description = {
|
|
958
|
-
uuid: string;
|
|
802
|
+
albedoLUT?: Array<GetAssetDescription_Object>;
|
|
803
|
+
metallicLUT?: Array<GetAssetDescription_Object>;
|
|
804
|
+
opacityLUT?: Array<GetAssetDescription_Object>;
|
|
805
|
+
rangeMax: number;
|
|
806
|
+
rangeMin: number;
|
|
807
|
+
roughnessLUT?: Array<GetAssetDescription_Object>;
|
|
808
|
+
};
|
|
809
|
+
export type GetAssetDescription__index_AssetDescription_AssetDescription = {
|
|
959
810
|
name: string;
|
|
811
|
+
uuid: string;
|
|
960
812
|
};
|
|
961
813
|
export declare function getAssetDescription({ asset_container, asset_id }: {
|
|
962
|
-
asset_container: "animations" | "
|
|
814
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
963
815
|
asset_id: string;
|
|
964
|
-
}): AxiosPromise<StrictUnion<GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh |
|
|
965
|
-
export
|
|
966
|
-
|
|
967
|
-
payloadSize: number;
|
|
968
|
-
animationEventTrack: UpdateAssetDescription_Object;
|
|
969
|
-
skeletonRef?: string;
|
|
970
|
-
};
|
|
971
|
-
export type UpdateAssetDescription_Object = {
|
|
972
|
-
eventNames?: Array<string>;
|
|
973
|
-
eventTimeline?: Array<UpdateAssetDescription_animation_event>;
|
|
974
|
-
};
|
|
975
|
-
export type UpdateAssetDescription_animation_event = {
|
|
976
|
-
eventIndex?: number;
|
|
977
|
-
triggerTime?: number;
|
|
978
|
-
triggerGlobally?: boolean;
|
|
979
|
-
};
|
|
980
|
-
export type UpdateAssetDescription_AnimationGraph = {
|
|
981
|
-
stateMachines?: Array<UpdateAssetDescription_animation_state_machine_description>;
|
|
982
|
-
inputDescriptor?: object;
|
|
983
|
-
};
|
|
984
|
-
export type UpdateAssetDescription_animation_state_machine_description = {
|
|
985
|
-
states?: Array<UpdateAssetDescription_animation_state_description>;
|
|
986
|
-
transitions?: Array<UpdateAssetDescription_transition_description>;
|
|
987
|
-
};
|
|
988
|
-
export type UpdateAssetDescription_animation_state_description = {
|
|
989
|
-
name?: string;
|
|
990
|
-
nodes?: Array<UpdateAssetDescription_animation_node_description>;
|
|
991
|
-
transitionIndices?: Array<number>;
|
|
992
|
-
};
|
|
993
|
-
export type UpdateAssetDescription_animation_node_description = {
|
|
994
|
-
nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
|
|
995
|
-
inputs?: Array<number>;
|
|
996
|
-
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>;
|
|
997
|
-
};
|
|
998
|
-
export type UpdateAssetDescription_playback_settings_animation_settings = {
|
|
999
|
-
playbackSpeed?: number;
|
|
1000
|
-
startOffset?: number;
|
|
1001
|
-
loop?: boolean;
|
|
1002
|
-
animationKey?: number;
|
|
1003
|
-
};
|
|
1004
|
-
export type UpdateAssetDescription_blendspace_1d_settings_animation_settings = {
|
|
1005
|
-
playbackSpeed?: number;
|
|
1006
|
-
startOffset?: number;
|
|
1007
|
-
loop?: boolean;
|
|
1008
|
-
controlPoints?: Array<UpdateAssetDescription_blend_axis>;
|
|
1009
|
-
horizontalAxis?: UpdateAssetDescription_Object;
|
|
1010
|
-
};
|
|
1011
|
-
export type UpdateAssetDescription_blend_axis = {
|
|
1012
|
-
name?: string;
|
|
1013
|
-
rangeMin?: number;
|
|
1014
|
-
rangeMax?: number;
|
|
1015
|
-
};
|
|
1016
|
-
export type UpdateAssetDescription_blendspace_2d_settings_animation_settings = {
|
|
1017
|
-
playbackSpeed?: number;
|
|
1018
|
-
startOffset?: number;
|
|
1019
|
-
loop?: boolean;
|
|
1020
|
-
controlPoints?: Array<UpdateAssetDescription_blend_axis>;
|
|
1021
|
-
horizontalAxis?: UpdateAssetDescription_Object;
|
|
1022
|
-
verticalAxis?: UpdateAssetDescription_Object;
|
|
1023
|
-
};
|
|
1024
|
-
export type UpdateAssetDescription_blend_settings = {
|
|
1025
|
-
weights?: Array<number>;
|
|
1026
|
-
boneIndices?: Array<number>;
|
|
1027
|
-
};
|
|
1028
|
-
export type UpdateAssetDescription_random_settings = {
|
|
1029
|
-
probabilities?: Array<number>;
|
|
1030
|
-
};
|
|
1031
|
-
export type UpdateAssetDescription_animation_state_machine_settings = {
|
|
1032
|
-
stateMachineIndex?: number;
|
|
1033
|
-
};
|
|
1034
|
-
export type UpdateAssetDescription_ik_two_bone_settings = {
|
|
1035
|
-
ws_poleVector?: Array<number>;
|
|
1036
|
-
targetId?: string;
|
|
1037
|
-
startJoint?: number;
|
|
1038
|
-
midJoint?: number;
|
|
1039
|
-
endJoint?: number;
|
|
1040
|
-
soften?: number;
|
|
1041
|
-
twistAngle?: number;
|
|
1042
|
-
weight?: number;
|
|
1043
|
-
};
|
|
1044
|
-
export type UpdateAssetDescription_ik_aim_settings = {
|
|
1045
|
-
targetNameId?: string;
|
|
1046
|
-
aimingBoneId?: string;
|
|
1047
|
-
chainLength?: number;
|
|
1048
|
-
eyesOffset?: Array<number>;
|
|
1049
|
-
chainWeight?: number;
|
|
1050
|
-
boneWeight?: number;
|
|
1051
|
-
};
|
|
1052
|
-
export type UpdateAssetDescription_transition_description = {
|
|
1053
|
-
durationInMs?: number;
|
|
1054
|
-
exitTime?: number;
|
|
1055
|
-
nextStateIndex?: number;
|
|
1056
|
-
condition?: string;
|
|
1057
|
-
};
|
|
1058
|
-
export type UpdateAssetDescription_AnimationSequence = {
|
|
1059
|
-
inputDescriptor: object;
|
|
1060
|
-
};
|
|
1061
|
-
export type UpdateAssetDescription_AnimationSet = {
|
|
1062
|
-
animationSet: Array<UpdateAssetDescription_Object>;
|
|
1063
|
-
animationGraphUUID: string;
|
|
1064
|
-
};
|
|
1065
|
-
export type UpdateAssetDescription_Cubemap = {
|
|
1066
|
-
faces: Array<string>;
|
|
1067
|
-
};
|
|
1068
|
-
export type UpdateAssetDescription_EventMap = {
|
|
1069
|
-
eventDescriptors: Array<UpdateAssetDescription_Object>;
|
|
1070
|
-
};
|
|
1071
|
-
export type UpdateAssetDescription_Material = {
|
|
1072
|
-
shaderRef: string;
|
|
1073
|
-
skinnedShaderRef: string;
|
|
1074
|
-
dataJson: object;
|
|
1075
|
-
isDoubleSided: boolean;
|
|
1076
|
-
};
|
|
1077
|
-
export type UpdateAssetDescription_Mesh = {
|
|
1078
|
-
submeshes: Array<UpdateAssetDescription_submesh_description>;
|
|
1079
|
-
payloadSize: number;
|
|
1080
|
-
};
|
|
1081
|
-
export type UpdateAssetDescription_submesh_description = {
|
|
1082
|
-
boundingBox: object;
|
|
1083
|
-
channels: Array<UpdateAssetDescription_channel_description>;
|
|
1084
|
-
payloadSize: number;
|
|
1085
|
-
indexCount: number;
|
|
1086
|
-
vertexCount?: number;
|
|
1087
|
-
};
|
|
1088
|
-
export type UpdateAssetDescription_channel_description = {
|
|
1089
|
-
semantic?: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
|
|
1090
|
-
elementCount?: number;
|
|
1091
|
-
elementType?: "dt_signed" | "dt_unsigned" | "dt_float";
|
|
1092
|
-
elementSize?: number;
|
|
1093
|
-
dataOffset?: number;
|
|
1094
|
-
dataSize?: number;
|
|
1095
|
-
};
|
|
1096
|
-
export type UpdateAssetDescription_PointCloud = {
|
|
1097
|
-
format: "invalid" | "xyz32" | "xyz32_rgb8";
|
|
1098
|
-
payloadTotalSize: number;
|
|
1099
|
-
pointCount: number;
|
|
1100
|
-
translation?: Array<number>;
|
|
1101
|
-
scale?: Array<number>;
|
|
1102
|
-
};
|
|
1103
|
-
export type UpdateAssetDescription_RenderGraph = {
|
|
1104
|
-
renderTargetDescriptions?: Array<UpdateAssetDescription_render_target_description>;
|
|
1105
|
-
nodeDataDescriptions?: Array<UpdateAssetDescription_node_data_description>;
|
|
1106
|
-
renderPassDescriptions?: Array<UpdateAssetDescription_render_pass_description>;
|
|
1107
|
-
graphOrder?: Array<object>;
|
|
1108
|
-
inputDescriptor?: object;
|
|
1109
|
-
stencilStates?: Array<UpdateAssetDescription_VkStencilOpState>;
|
|
1110
|
-
blendStates?: Array<UpdateAssetDescription_VkPipelineColorBlendAttachmentState>;
|
|
1111
|
-
defaultRenderTargetIndex?: number;
|
|
1112
|
-
occlusionInputDepthRenderTargetIndex?: number;
|
|
1113
|
-
};
|
|
1114
|
-
export type UpdateAssetDescription_render_target_description = {
|
|
1115
|
-
name?: string;
|
|
1116
|
-
format?: object;
|
|
1117
|
-
sampleCount?: object;
|
|
1118
|
-
usage?: object;
|
|
1119
|
-
aspect?: object;
|
|
1120
|
-
samplerType?: number;
|
|
1121
|
-
mipLevels?: number;
|
|
1122
|
-
extent?: object;
|
|
1123
|
-
flags?: object;
|
|
1124
|
-
tiling?: object;
|
|
1125
|
-
memoryUsage?: object;
|
|
1126
|
-
memoryType?: object;
|
|
1127
|
-
};
|
|
1128
|
-
export type UpdateAssetDescription_node_data_description = {
|
|
1129
|
-
name?: string;
|
|
1130
|
-
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";
|
|
1131
|
-
inputDepthRenderTargetIndices?: Array<number>;
|
|
1132
|
-
outputDepthRenderTargetIndices?: Array<number>;
|
|
1133
|
-
inputRenderTargetIndices?: Array<number>;
|
|
1134
|
-
outputRenderTargetIndices?: Array<number>;
|
|
1135
|
-
shaderRef?: object;
|
|
1136
|
-
dataJson?: object;
|
|
1137
|
-
aliases?: Array<any>;
|
|
1138
|
-
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";
|
|
1139
|
-
pipelineDescription?: UpdateAssetDescription_Object;
|
|
1140
|
-
copyToFaceIndex?: number;
|
|
1141
|
-
drawIndirect?: boolean;
|
|
1142
|
-
conditions?: Array<string>;
|
|
1143
|
-
clearColors?: Array<object>;
|
|
1144
|
-
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]]";
|
|
1145
|
-
};
|
|
1146
|
-
export type UpdateAssetDescription_render_pass_description = {
|
|
1147
|
-
name?: string;
|
|
1148
|
-
sampleCount?: number;
|
|
1149
|
-
nodeIndices?: Array<number>;
|
|
1150
|
-
colorAttachmentIndices?: Array<number>;
|
|
1151
|
-
depthAttachmentIndex?: number;
|
|
1152
|
-
resolveAttachmentIndices?: Array<number>;
|
|
1153
|
-
colorAttachmentReferences?: Array<UpdateAssetDescription_VkAttachmentReference>;
|
|
1154
|
-
depthAttachmentReference?: UpdateAssetDescription_Object;
|
|
1155
|
-
resolveAttachmentReferences?: Array<UpdateAssetDescription_VkAttachmentReference>;
|
|
1156
|
-
attachmentDescriptions?: Array<UpdateAssetDescription_VkAttachmentDescription>;
|
|
1157
|
-
attachmentClearColors?: Array<object>;
|
|
1158
|
-
};
|
|
1159
|
-
export type UpdateAssetDescription_VkAttachmentReference = {
|
|
1160
|
-
attachment?: number;
|
|
1161
|
-
layout?: object;
|
|
1162
|
-
};
|
|
1163
|
-
export type UpdateAssetDescription_VkAttachmentDescription = {
|
|
1164
|
-
flags?: object;
|
|
1165
|
-
format?: object;
|
|
1166
|
-
samples?: object;
|
|
1167
|
-
loadOp?: object;
|
|
1168
|
-
storeOp?: object;
|
|
1169
|
-
stencilLoadOp?: object;
|
|
1170
|
-
stencilStoreOp?: object;
|
|
1171
|
-
initialLayout?: object;
|
|
1172
|
-
finalLayout?: object;
|
|
1173
|
-
};
|
|
1174
|
-
export type UpdateAssetDescription_VkStencilOpState = {
|
|
1175
|
-
failOp?: object;
|
|
1176
|
-
passOp?: object;
|
|
1177
|
-
depthFailOp?: object;
|
|
1178
|
-
compareOp?: object;
|
|
1179
|
-
compareMask?: number;
|
|
1180
|
-
writeMask?: number;
|
|
1181
|
-
reference?: number;
|
|
1182
|
-
};
|
|
1183
|
-
export type UpdateAssetDescription_VkPipelineColorBlendAttachmentState = {
|
|
1184
|
-
blendEnable?: boolean;
|
|
1185
|
-
srcColorBlendFactor?: object;
|
|
1186
|
-
dstColorBlendFactor?: object;
|
|
1187
|
-
colorBlendOp?: object;
|
|
1188
|
-
srcAlphaBlendFactor?: object;
|
|
1189
|
-
dstAlphaBlendFactor?: object;
|
|
1190
|
-
alphaBlendOp?: object;
|
|
1191
|
-
colorWriteMask?: object;
|
|
1192
|
-
};
|
|
1193
|
-
export type UpdateAssetDescription_Scene = {
|
|
1194
|
-
aabb: UpdateAssetDescription_Aabb;
|
|
1195
|
-
entities: Array<object>;
|
|
1196
|
-
triangleCount: number;
|
|
1197
|
-
settings?: object;
|
|
1198
|
-
animationSequenceInstances?: Array<UpdateAssetDescription_animation_sequence_instance>;
|
|
1199
|
-
};
|
|
1200
|
-
export type UpdateAssetDescription_Aabb = {
|
|
1201
|
-
min: Array<number>;
|
|
1202
|
-
max: Array<number>;
|
|
1203
|
-
};
|
|
1204
|
-
export type UpdateAssetDescription_animation_sequence_instance = {
|
|
1205
|
-
ref?: string;
|
|
1206
|
-
entities?: Array<string>;
|
|
1207
|
-
dataJSON?: object;
|
|
1208
|
-
durationInMs?: number;
|
|
1209
|
-
loop?: boolean;
|
|
1210
|
-
};
|
|
1211
|
-
export type UpdateAssetDescription_Script = {
|
|
1212
|
-
inputDescriptor?: object;
|
|
1213
|
-
eventNames: Array<string>;
|
|
1214
|
-
subScripts?: Array<string>;
|
|
1215
|
-
};
|
|
1216
|
-
export type UpdateAssetDescription_Shader = {
|
|
1217
|
-
payloadSize: number;
|
|
1218
|
-
shaderStages?: number;
|
|
1219
|
-
moduleDescriptions?: Array<UpdateAssetDescription_shader_module_description>;
|
|
1220
|
-
materialDescriptor?: object;
|
|
1221
|
-
nodeDataDescriptor?: object;
|
|
1222
|
-
vertexDescriptor?: Array<UpdateAssetDescription_vertex_attribute_descriptor>;
|
|
1223
|
-
blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
|
|
1224
|
-
localGroupCount?: Array<number>;
|
|
1225
|
-
optGlobalGroupMultiplier?: Array<number>;
|
|
1226
|
-
optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
|
|
1227
|
-
};
|
|
1228
|
-
export type UpdateAssetDescription_shader_module_description = {
|
|
1229
|
-
shaderStage?: object;
|
|
1230
|
-
payloadOffset?: number;
|
|
1231
|
-
payloadSize?: number;
|
|
1232
|
-
usedBindings?: number;
|
|
1233
|
-
};
|
|
1234
|
-
export type UpdateAssetDescription_vertex_attribute_descriptor = {
|
|
1235
|
-
semantic?: "position = 1 << 0" | "normal = 1 << 1" | "tex_coord = 1 << 2" | "skin_bone_ids = 1 << 3" | "skin_weights = 1 << 4" | "custom = 1 << 5";
|
|
1236
|
-
binding?: number;
|
|
1237
|
-
location?: number;
|
|
1238
|
-
stride?: number;
|
|
1239
|
-
format?: object;
|
|
1240
|
-
offset?: number;
|
|
1241
|
-
};
|
|
1242
|
-
export type UpdateAssetDescription_Skeleton = {
|
|
1243
|
-
payloadSize: number;
|
|
1244
|
-
bones: Array<UpdateAssetDescription_bone_description>;
|
|
1245
|
-
};
|
|
1246
|
-
export type UpdateAssetDescription_bone_description = {
|
|
1247
|
-
name?: string;
|
|
1248
|
-
childrenCount?: number;
|
|
1249
|
-
firstChildIndex?: number;
|
|
1250
|
-
parentIndex?: number;
|
|
1251
|
-
offsetMatrix?: Array<number>;
|
|
1252
|
-
};
|
|
1253
|
-
export type UpdateAssetDescription_Sound = {
|
|
1254
|
-
payloadSize: number;
|
|
1255
|
-
sampleCount: number;
|
|
1256
|
-
durationInMs: number;
|
|
1257
|
-
sampleFrequencyInHz: number;
|
|
1258
|
-
bitDepth: number;
|
|
1259
|
-
channelCount: number;
|
|
1260
|
-
};
|
|
1261
|
-
export type UpdateAssetDescription_Texture = {
|
|
1262
|
-
format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
|
|
1263
|
-
payloadTotalSize: number;
|
|
1264
|
-
mips: Array<UpdateAssetDescription_mip_description>;
|
|
1265
|
-
};
|
|
1266
|
-
export type UpdateAssetDescription_mip_description = {
|
|
1267
|
-
dimension?: Array<number>;
|
|
1268
|
-
payloadSize?: number;
|
|
1269
|
-
};
|
|
1270
|
-
export type UpdateAssetDescription_VolumeMaterial = {
|
|
1271
|
-
albedoLUT?: Array<UpdateAssetDescription_control_point>;
|
|
1272
|
-
opacityLUT?: Array<UpdateAssetDescription_control_point>;
|
|
1273
|
-
metallicLUT?: Array<UpdateAssetDescription_control_point>;
|
|
1274
|
-
roughnessLUT?: Array<UpdateAssetDescription_control_point>;
|
|
1275
|
-
rangeMin?: number;
|
|
1276
|
-
rangeMax?: number;
|
|
1277
|
-
};
|
|
1278
|
-
export type UpdateAssetDescription_control_point = {
|
|
1279
|
-
key?: number;
|
|
1280
|
-
value?: StrictUnion<Array<number> | number>;
|
|
1281
|
-
};
|
|
1282
|
-
export declare function updateAssetDescription({ asset_container, asset_id, assetDescription }: {
|
|
1283
|
-
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
|
816
|
+
}): AxiosPromise<StrictUnion<GetAssetDescription_ActionMap | GetAssetDescription_Algorithm | GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_CollisionGeometry | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_Module | GetAssetDescription_PointCloud | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_Texture_1D | GetAssetDescription_Texture_3D | GetAssetDescription_VolumeMaterial> & GetAssetDescription__index_AssetDescription_AssetDescription>;
|
|
817
|
+
export declare function renameAsset({ asset_container, asset_id, name }: {
|
|
818
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
1284
819
|
asset_id: string;
|
|
1285
|
-
|
|
820
|
+
name?: string;
|
|
1286
821
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
1287
822
|
export declare function getAssetPayload({ asset_container_with_payload, asset_id }: {
|
|
1288
|
-
asset_container_with_payload: "animations" | "
|
|
823
|
+
asset_container_with_payload: "animations" | "animation_sequences" | "collision_geometries" | "meshes" | "point_clouds" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d";
|
|
1289
824
|
asset_id: string;
|
|
1290
825
|
}): AxiosPromise<ArrayBuffer>;
|
|
1291
826
|
export declare function getAssetHistory({ asset_container, asset_id }: {
|
|
1292
|
-
asset_container: "animations" | "
|
|
827
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
1293
828
|
asset_id: string;
|
|
1294
829
|
}): AxiosPromise<object>;
|
|
1295
830
|
export declare function getAssetMeta({ asset_container, asset_id }: {
|
|
1296
|
-
asset_container: "animations" | "
|
|
831
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
1297
832
|
asset_id: string;
|
|
1298
833
|
}): AxiosPromise<object>;
|
|
1299
834
|
export declare function getAssetCode({ asset_container_with_code, asset_id }: {
|
|
1300
|
-
asset_container_with_code: "
|
|
835
|
+
asset_container_with_code: "algorithms" | "animation_sequences" | "modules" | "scripts" | "shaders";
|
|
1301
836
|
asset_id: string;
|
|
1302
837
|
}): AxiosPromise<string>;
|
|
1303
838
|
export declare function getAssetThumbnail({ asset_container, asset_id, size, default_url }: {
|
|
1304
|
-
asset_container: "animations" | "
|
|
839
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
1305
840
|
asset_id: string;
|
|
1306
841
|
size: "large" | "medium" | "small" | "tiny";
|
|
1307
842
|
default_url?: string;
|
|
1308
843
|
}): AxiosPromise<ArrayBuffer>;
|
|
1309
844
|
export declare function setAssetThumbnail({ asset_container, asset_id, body }: {
|
|
1310
|
-
asset_container: "animations" | "
|
|
845
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
1311
846
|
asset_id: string;
|
|
1312
847
|
body: ArrayBuffer;
|
|
1313
848
|
}, contentType: 'image/jpg' | 'image/png'): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -1316,7 +851,7 @@ export declare function getAssetCustomTypes({ asset_container_with_custom_types,
|
|
|
1316
851
|
asset_id: string;
|
|
1317
852
|
}): AxiosPromise<object>;
|
|
1318
853
|
export declare function packageAsset({ asset_container, asset_id }: {
|
|
1319
|
-
asset_container: "animations" | "
|
|
854
|
+
asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
|
|
1320
855
|
asset_id: string;
|
|
1321
856
|
}): AxiosPromise<ArrayBuffer>;
|
|
1322
857
|
export declare function exportAsset({ asset_container_exportable, asset_id, format, scale }: {
|
|
@@ -1623,7 +1158,7 @@ export type GetEntity_ShadowCaster = {
|
|
|
1623
1158
|
cascadeMaxZ?: number;
|
|
1624
1159
|
accumulateShadowCascades?: boolean;
|
|
1625
1160
|
};
|
|
1626
|
-
export type
|
|
1161
|
+
export type GetEntity_skeleton_ref = {
|
|
1627
1162
|
skeleton_ref: GetEntity_SkeletonReference;
|
|
1628
1163
|
};
|
|
1629
1164
|
export type GetEntity_SkeletonReference = {
|
|
@@ -1704,7 +1239,7 @@ export declare function getEntity({ scene_id, entity_id, compute_global_transfor
|
|
|
1704
1239
|
scene_id: string;
|
|
1705
1240
|
entity_id: string;
|
|
1706
1241
|
compute_global_transform?: boolean;
|
|
1707
|
-
}): 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 |
|
|
1242
|
+
}): 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_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>;
|
|
1708
1243
|
export type UpdateEntity_animation_controller = {
|
|
1709
1244
|
animation_controller: UpdateEntity_AnimationController;
|
|
1710
1245
|
};
|
|
@@ -1975,7 +1510,7 @@ export type UpdateEntity_ShadowCaster = {
|
|
|
1975
1510
|
cascadeMaxZ?: number;
|
|
1976
1511
|
accumulateShadowCascades?: boolean;
|
|
1977
1512
|
};
|
|
1978
|
-
export type
|
|
1513
|
+
export type UpdateEntity_skeleton_ref = {
|
|
1979
1514
|
skeleton_ref: UpdateEntity_SkeletonReference;
|
|
1980
1515
|
};
|
|
1981
1516
|
export type UpdateEntity_SkeletonReference = {
|
|
@@ -2049,7 +1584,7 @@ export type UpdateEntity_VolumeReference = {
|
|
|
2049
1584
|
export declare function updateEntity({ scene_id, entity_id, entityComponents }: {
|
|
2050
1585
|
scene_id: string;
|
|
2051
1586
|
entity_id: string;
|
|
2052
|
-
entityComponents: (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 |
|
|
1587
|
+
entityComponents: (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_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);
|
|
2053
1588
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2054
1589
|
export declare function deleteEntity({ scene_id, entity_id }: {
|
|
2055
1590
|
scene_id: string;
|