@3dverse/api 0.3.6 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_prebuild/wrapper.d.ts +210 -694
- 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,215 @@ 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 = {
|
626
650
|
asset_id: string;
|
627
651
|
name: string;
|
628
652
|
};
|
653
|
+
export type GetAssetDependencies__index_AssetItem_AssetItem = {
|
654
|
+
asset_id: string;
|
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";
|
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_Object>;
|
755
715
|
};
|
756
|
-
export type
|
757
|
-
|
758
|
-
channels: Array<GetAssetDescription_channel_description>;
|
759
|
-
payloadSize: number;
|
760
|
-
indexCount: number;
|
761
|
-
vertexCount?: number;
|
762
|
-
};
|
763
|
-
export type GetAssetDescription_channel_description = {
|
764
|
-
semantic?: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
|
765
|
-
elementCount?: number;
|
766
|
-
elementType?: "dt_signed" | "dt_unsigned" | "dt_float";
|
767
|
-
elementSize?: number;
|
768
|
-
dataOffset?: number;
|
769
|
-
dataSize?: number;
|
716
|
+
export type GetAssetDescription_Module = {
|
717
|
+
functions: GetAssetDescription_Object;
|
770
718
|
};
|
771
719
|
export type GetAssetDescription_PointCloud = {
|
772
720
|
format: "invalid" | "xyz32" | "xyz32_rgb8";
|
773
721
|
payloadTotalSize: number;
|
774
722
|
pointCount: number;
|
775
|
-
translation?: Array<number>;
|
776
723
|
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;
|
724
|
+
translation?: Array<number>;
|
867
725
|
};
|
868
726
|
export type GetAssetDescription_Scene = {
|
869
727
|
aabb: GetAssetDescription_Aabb;
|
728
|
+
animationSequenceInstances?: Array<GetAssetDescription_Object>;
|
870
729
|
entities: Array<object>;
|
871
|
-
triangleCount: number;
|
872
730
|
settings?: object;
|
873
|
-
|
731
|
+
triangleCount: number;
|
874
732
|
};
|
875
733
|
export type GetAssetDescription_Aabb = {
|
876
|
-
min: Array<number>;
|
877
734
|
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;
|
735
|
+
min: Array<number>;
|
885
736
|
};
|
886
737
|
export type GetAssetDescription_Script = {
|
887
|
-
inputDescriptor?: object;
|
888
738
|
eventNames: Array<string>;
|
739
|
+
inputDescriptor?: object;
|
889
740
|
subScripts?: Array<string>;
|
890
741
|
};
|
891
742
|
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
743
|
blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
|
899
744
|
localGroupCount?: Array<number>;
|
745
|
+
materialDescriptor?: object;
|
746
|
+
moduleDescriptions?: Array<GetAssetDescription_Object>;
|
747
|
+
nodeDataDescriptor?: object;
|
900
748
|
optGlobalGroupMultiplier?: Array<number>;
|
901
749
|
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;
|
750
|
+
payloadSize: number;
|
751
|
+
shaderStages?: number;
|
752
|
+
vertexDescriptor?: Array<GetAssetDescription_Object>;
|
916
753
|
};
|
917
754
|
export type GetAssetDescription_Skeleton = {
|
755
|
+
bones: Array<GetAssetDescription_Object>;
|
918
756
|
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
757
|
};
|
928
758
|
export type GetAssetDescription_Sound = {
|
759
|
+
bitDepth: number;
|
760
|
+
channelCount: number;
|
761
|
+
durationInMs: number;
|
929
762
|
payloadSize: number;
|
930
763
|
sampleCount: number;
|
931
|
-
durationInMs: number;
|
932
764
|
sampleFrequencyInHz: number;
|
933
|
-
bitDepth: number;
|
934
|
-
channelCount: number;
|
935
765
|
};
|
936
766
|
export type GetAssetDescription_Texture = {
|
937
767
|
format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
|
768
|
+
mips: Array<GetAssetDescription_Object>;
|
938
769
|
payloadTotalSize: number;
|
939
|
-
mips: Array<GetAssetDescription_mip_description>;
|
940
770
|
};
|
941
|
-
export type
|
942
|
-
|
943
|
-
|
771
|
+
export type GetAssetDescription_Texture_1D = {
|
772
|
+
format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
|
773
|
+
mips: Array<GetAssetDescription_Object>;
|
774
|
+
payloadTotalSize: number;
|
775
|
+
};
|
776
|
+
export type GetAssetDescription_Texture_3D = {
|
777
|
+
format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
|
778
|
+
mips: Array<GetAssetDescription_Object>;
|
779
|
+
payloadTotalSize: number;
|
780
|
+
voxelDimensions?: Array<number>;
|
944
781
|
};
|
945
782
|
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;
|
783
|
+
albedoLUT?: Array<GetAssetDescription_Object>;
|
784
|
+
metallicLUT?: Array<GetAssetDescription_Object>;
|
785
|
+
opacityLUT?: Array<GetAssetDescription_Object>;
|
786
|
+
rangeMax: number;
|
787
|
+
rangeMin: number;
|
788
|
+
roughnessLUT?: Array<GetAssetDescription_Object>;
|
789
|
+
};
|
790
|
+
export type GetAssetDescription__index_AssetDescription_AssetDescription = {
|
959
791
|
name: string;
|
792
|
+
uuid: string;
|
960
793
|
};
|
961
794
|
export declare function getAssetDescription({ asset_container, asset_id }: {
|
962
|
-
asset_container: "animations" | "
|
795
|
+
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
796
|
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";
|
797
|
+
}): 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>;
|
798
|
+
export declare function renameAsset({ asset_container, asset_id, name }: {
|
799
|
+
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
800
|
asset_id: string;
|
1285
|
-
|
801
|
+
name?: string;
|
1286
802
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
1287
803
|
export declare function getAssetPayload({ asset_container_with_payload, asset_id }: {
|
1288
|
-
asset_container_with_payload: "animations" | "
|
804
|
+
asset_container_with_payload: "animations" | "animation_sequences" | "collision_geometries" | "meshes" | "point_clouds" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d";
|
1289
805
|
asset_id: string;
|
1290
806
|
}): AxiosPromise<ArrayBuffer>;
|
1291
807
|
export declare function getAssetHistory({ asset_container, asset_id }: {
|
1292
|
-
asset_container: "animations" | "
|
808
|
+
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
809
|
asset_id: string;
|
1294
810
|
}): AxiosPromise<object>;
|
1295
811
|
export declare function getAssetMeta({ asset_container, asset_id }: {
|
1296
|
-
asset_container: "animations" | "
|
812
|
+
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
813
|
asset_id: string;
|
1298
814
|
}): AxiosPromise<object>;
|
1299
815
|
export declare function getAssetCode({ asset_container_with_code, asset_id }: {
|
1300
|
-
asset_container_with_code: "
|
816
|
+
asset_container_with_code: "algorithms" | "animation_sequences" | "modules" | "scripts" | "shaders";
|
1301
817
|
asset_id: string;
|
1302
818
|
}): AxiosPromise<string>;
|
1303
819
|
export declare function getAssetThumbnail({ asset_container, asset_id, size, default_url }: {
|
1304
|
-
asset_container: "animations" | "
|
820
|
+
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
821
|
asset_id: string;
|
1306
822
|
size: "large" | "medium" | "small" | "tiny";
|
1307
823
|
default_url?: string;
|
1308
824
|
}): AxiosPromise<ArrayBuffer>;
|
1309
825
|
export declare function setAssetThumbnail({ asset_container, asset_id, body }: {
|
1310
|
-
asset_container: "animations" | "
|
826
|
+
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
827
|
asset_id: string;
|
1312
828
|
body: ArrayBuffer;
|
1313
829
|
}, contentType: 'image/jpg' | 'image/png'): Promise<import("axios").AxiosResponse<any, any>>;
|
@@ -1316,7 +832,7 @@ export declare function getAssetCustomTypes({ asset_container_with_custom_types,
|
|
1316
832
|
asset_id: string;
|
1317
833
|
}): AxiosPromise<object>;
|
1318
834
|
export declare function packageAsset({ asset_container, asset_id }: {
|
1319
|
-
asset_container: "animations" | "
|
835
|
+
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
836
|
asset_id: string;
|
1321
837
|
}): AxiosPromise<ArrayBuffer>;
|
1322
838
|
export declare function exportAsset({ asset_container_exportable, asset_id, format, scale }: {
|
@@ -1623,7 +1139,7 @@ export type GetEntity_ShadowCaster = {
|
|
1623
1139
|
cascadeMaxZ?: number;
|
1624
1140
|
accumulateShadowCascades?: boolean;
|
1625
1141
|
};
|
1626
|
-
export type
|
1142
|
+
export type GetEntity_skeleton_ref = {
|
1627
1143
|
skeleton_ref: GetEntity_SkeletonReference;
|
1628
1144
|
};
|
1629
1145
|
export type GetEntity_SkeletonReference = {
|
@@ -1704,7 +1220,7 @@ export declare function getEntity({ scene_id, entity_id, compute_global_transfor
|
|
1704
1220
|
scene_id: string;
|
1705
1221
|
entity_id: string;
|
1706
1222
|
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 |
|
1223
|
+
}): 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
1224
|
export type UpdateEntity_animation_controller = {
|
1709
1225
|
animation_controller: UpdateEntity_AnimationController;
|
1710
1226
|
};
|
@@ -1975,7 +1491,7 @@ export type UpdateEntity_ShadowCaster = {
|
|
1975
1491
|
cascadeMaxZ?: number;
|
1976
1492
|
accumulateShadowCascades?: boolean;
|
1977
1493
|
};
|
1978
|
-
export type
|
1494
|
+
export type UpdateEntity_skeleton_ref = {
|
1979
1495
|
skeleton_ref: UpdateEntity_SkeletonReference;
|
1980
1496
|
};
|
1981
1497
|
export type UpdateEntity_SkeletonReference = {
|
@@ -2049,7 +1565,7 @@ export type UpdateEntity_VolumeReference = {
|
|
2049
1565
|
export declare function updateEntity({ scene_id, entity_id, entityComponents }: {
|
2050
1566
|
scene_id: string;
|
2051
1567
|
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 |
|
1568
|
+
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
1569
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
2054
1570
|
export declare function deleteEntity({ scene_id, entity_id }: {
|
2055
1571
|
scene_id: string;
|