@3dverse/api 0.0.4 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +189 -47
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1139 -62
- package/dist/index.esm.js +184 -48
- package/dist/index.esm.js.map +1 -1
- package/package.json +13 -9
- package/index.ts +0 -24
package/dist/index.d.ts
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
import * as axios from 'axios';
|
2
2
|
import { AxiosPromise } from 'axios';
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
4
|
+
type UnionKeys<T> = T extends T ? keyof T : never;
|
5
|
+
type StrictUnionHelper<T, TAll> = T extends any ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;
|
6
|
+
type StrictUnion<T> = StrictUnionHelper<T, T>;
|
7
|
+
declare module 'axios' {
|
8
|
+
interface AxiosRequestConfig<D = any, T = any> {
|
9
|
+
operationId: string;
|
10
|
+
}
|
10
11
|
}
|
12
|
+
declare const axiosInstance: axios.AxiosInstance;
|
11
13
|
declare function setBaseURL(baseURL: string): void;
|
12
14
|
type ListUsers_User_UserInfo = {
|
13
15
|
user_id: string;
|
@@ -80,6 +82,7 @@ type GetUserUploadTasks_UploadTask = {
|
|
80
82
|
conversion_tasks?: Array<GetUserUploadTasks_ConversionTask>;
|
81
83
|
};
|
82
84
|
type GetUserUploadTasks_ConversionTask = {
|
85
|
+
asset_id?: string;
|
83
86
|
source_file_id?: string;
|
84
87
|
conversion_pipeline?: "auto-detect" | "volume" | "scene" | "texture" | "animation";
|
85
88
|
progress?: number;
|
@@ -209,9 +212,9 @@ type GetFolderInfo_Object = {
|
|
209
212
|
declare function getFolderInfo({ folder_id }: {
|
210
213
|
folder_id: string;
|
211
214
|
}): AxiosPromise<GetFolderInfo_Folder>;
|
212
|
-
declare function moveFolders({ folder_id,
|
215
|
+
declare function moveFolders({ folder_id, folderIds }: {
|
213
216
|
folder_id: string;
|
214
|
-
|
217
|
+
folderIds: Array<string>;
|
215
218
|
}): Promise<axios.AxiosResponse<any, any>>;
|
216
219
|
declare function updateFolder({ folder_id, folder_name }: {
|
217
220
|
folder_id: string;
|
@@ -310,9 +313,9 @@ declare function getSourceFilesInFolder({ folder_id, offset, limit }: {
|
|
310
313
|
offset?: number;
|
311
314
|
limit?: number;
|
312
315
|
}): AxiosPromise<Array<GetSourceFilesInFolder_SourceFile>>;
|
313
|
-
declare function moveSourceFiles({ folder_id,
|
316
|
+
declare function moveSourceFiles({ folder_id, sourceFileIds }: {
|
314
317
|
folder_id: string;
|
315
|
-
|
318
|
+
sourceFileIds: Array<string>;
|
316
319
|
}): Promise<axios.AxiosResponse<any, any>>;
|
317
320
|
type GetUploadTasksInFolder_UploadTask = {
|
318
321
|
upload_task_id?: string;
|
@@ -324,6 +327,7 @@ type GetUploadTasksInFolder_UploadTask = {
|
|
324
327
|
conversion_tasks?: Array<GetUploadTasksInFolder_ConversionTask>;
|
325
328
|
};
|
326
329
|
type GetUploadTasksInFolder_ConversionTask = {
|
330
|
+
asset_id?: string;
|
327
331
|
source_file_id?: string;
|
328
332
|
conversion_pipeline?: "auto-detect" | "volume" | "scene" | "texture" | "animation";
|
329
333
|
progress?: number;
|
@@ -357,12 +361,14 @@ type GetFolderAssets_asset_item = {
|
|
357
361
|
asset_id: string;
|
358
362
|
asset_name: string;
|
359
363
|
};
|
360
|
-
declare function getFolderAssets({ folder_id }: {
|
364
|
+
declare function getFolderAssets({ folder_id, offset, limit }: {
|
361
365
|
folder_id: string;
|
366
|
+
offset?: number;
|
367
|
+
limit?: number;
|
362
368
|
}): AxiosPromise<GetFolderAssets_asset_list>;
|
363
|
-
declare function moveAssets({ folder_id,
|
369
|
+
declare function moveAssets({ folder_id, assetIds }: {
|
364
370
|
folder_id: string;
|
365
|
-
|
371
|
+
assetIds: Array<string>;
|
366
372
|
}): Promise<axios.AxiosResponse<any, any>>;
|
367
373
|
type CreateAsset_Object = {
|
368
374
|
copy_from_asset_id: string;
|
@@ -374,10 +380,10 @@ type CreateAsset_asset_item = {
|
|
374
380
|
asset_id: string;
|
375
381
|
asset_name: string;
|
376
382
|
};
|
377
|
-
declare function createAsset({ folder_id, asset_container_creatable,
|
383
|
+
declare function createAsset({ folder_id, asset_container_creatable, assetCreationOptions }: {
|
378
384
|
folder_id: string;
|
379
385
|
asset_container_creatable: "animationGraphs" | "animationSequences" | "cubemaps" | "eventMaps" | "materials" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "volumeMaterials";
|
380
|
-
|
386
|
+
assetCreationOptions: StrictUnion<CreateAsset_Object | CreateAsset_AssetDescription> & any;
|
381
387
|
}): AxiosPromise<CreateAsset_asset_item>;
|
382
388
|
type GetSessionsInFolder_Session = {
|
383
389
|
session_id: string;
|
@@ -393,7 +399,7 @@ type GetSessionsInFolder_Session = {
|
|
393
399
|
};
|
394
400
|
type GetSessionsInFolder_UserInfo = {
|
395
401
|
client_id?: string;
|
396
|
-
client_type?: 'user' | 'guest'
|
402
|
+
client_type?: StrictUnion<'user' | 'guest'>;
|
397
403
|
user_id: string;
|
398
404
|
username: string;
|
399
405
|
};
|
@@ -411,8 +417,8 @@ declare function listSourceFiles({ offset, limit }: {
|
|
411
417
|
offset?: number;
|
412
418
|
limit?: number;
|
413
419
|
}): AxiosPromise<Array<ListSourceFiles_SourceFile>>;
|
414
|
-
declare function deleteSourceFiles({
|
415
|
-
|
420
|
+
declare function deleteSourceFiles({ sourceFileIds }: {
|
421
|
+
sourceFileIds: Array<string>;
|
416
422
|
}): Promise<axios.AxiosResponse<any, any>>;
|
417
423
|
declare function downloadSourceFile({ source_file_id }: {
|
418
424
|
source_file_id: string;
|
@@ -467,6 +473,7 @@ type GetUploadTask_UploadTask = {
|
|
467
473
|
conversion_tasks?: Array<GetUploadTask_ConversionTask>;
|
468
474
|
};
|
469
475
|
type GetUploadTask_ConversionTask = {
|
476
|
+
asset_id?: string;
|
470
477
|
source_file_id?: string;
|
471
478
|
conversion_pipeline?: "auto-detect" | "volume" | "scene" | "texture" | "animation";
|
472
479
|
progress?: number;
|
@@ -502,8 +509,8 @@ declare function listAssets({ offset, limit }: {
|
|
502
509
|
offset?: number;
|
503
510
|
limit?: number;
|
504
511
|
}): AxiosPromise<ListAssets_asset_list>;
|
505
|
-
declare function deleteAssets({
|
506
|
-
|
512
|
+
declare function deleteAssets({ assetIds }: {
|
513
|
+
assetIds: Array<string>;
|
507
514
|
}): Promise<axios.AxiosResponse<any, any>>;
|
508
515
|
declare function deleteAsset({ asset_container, asset_id }: {
|
509
516
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
@@ -562,10 +569,10 @@ declare function getAssetFolder({ asset_container, asset_id }: {
|
|
562
569
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
563
570
|
asset_id: string;
|
564
571
|
}): AxiosPromise<GetAssetFolder_Folder>;
|
565
|
-
type
|
566
|
-
type?:
|
572
|
+
type GetAssetDependencies_Filter = {
|
573
|
+
type?: "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial";
|
567
574
|
};
|
568
|
-
type
|
575
|
+
type GetAssetDependencies_Flat = {
|
569
576
|
animations?: Array<GetAssetDependencies_asset_item>;
|
570
577
|
animationGraphs?: Array<GetAssetDependencies_asset_item>;
|
571
578
|
animationSequences?: Array<GetAssetDependencies_asset_item>;
|
@@ -591,16 +598,18 @@ type GetAssetDependencies_asset_item = {
|
|
591
598
|
declare function getAssetDependencies({ asset_container, asset_id, format, depth, filter }: {
|
592
599
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
593
600
|
asset_id: string;
|
594
|
-
format?: 'flat' | 'graph';
|
595
|
-
depth?: 'all' | 'direct';
|
596
|
-
filter?:
|
597
|
-
}): AxiosPromise<
|
598
|
-
type GetAssetReferences_Object = {
|
601
|
+
format?: StrictUnion<'flat' | 'graph'> & string;
|
602
|
+
depth?: StrictUnion<'all' | 'direct'> & string;
|
603
|
+
filter?: GetAssetDependencies_Filter;
|
604
|
+
}): AxiosPromise<StrictUnion<GetAssetDependencies_Flat | Array<Array<GetAssetDependencies_asset_item>>>>;
|
605
|
+
type GetAssetReferences_Object = {
|
606
|
+
body: GetAssetReferences_Object;
|
607
|
+
};
|
599
608
|
declare function getAssetReferences({ asset_container, asset_id }: {
|
600
609
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
601
610
|
asset_id: string;
|
602
611
|
}): AxiosPromise<GetAssetReferences_Object>;
|
603
|
-
type
|
612
|
+
type GetAssetDescription_Animation = {
|
604
613
|
durationInMs: number;
|
605
614
|
payloadSize: number;
|
606
615
|
animationEventTrack: GetAssetDescription_Object;
|
@@ -615,7 +624,7 @@ type GetAssetDescription_animation_event = {
|
|
615
624
|
triggerTime?: number;
|
616
625
|
triggerGlobally?: boolean;
|
617
626
|
};
|
618
|
-
type
|
627
|
+
type GetAssetDescription_AnimationGraph = {
|
619
628
|
stateMachines?: Array<GetAssetDescription_animation_state_machine_description>;
|
620
629
|
inputDescriptor?: GetAssetDescription_Object;
|
621
630
|
};
|
@@ -631,7 +640,7 @@ type GetAssetDescription_animation_state_description = {
|
|
631
640
|
type GetAssetDescription_animation_node_description = {
|
632
641
|
nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
|
633
642
|
inputs?: Array<number>;
|
634
|
-
settings?: 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;
|
643
|
+
settings?: StrictUnion<GetAssetDescription_playback_settings_animation_settings | GetAssetDescription_blendspace_1d_settings_animation_settings | GetAssetDescription_blendspace_2d_settings_animation_settings | GetAssetDescription_blend_settings | GetAssetDescription_random_settings | GetAssetDescription_animation_state_machine_settings | GetAssetDescription_ik_two_bone_settings | GetAssetDescription_ik_aim_settings> & any;
|
635
644
|
};
|
636
645
|
type GetAssetDescription_playback_settings_animation_settings = {
|
637
646
|
playbackSpeed?: number;
|
@@ -693,26 +702,26 @@ type GetAssetDescription_transition_description = {
|
|
693
702
|
nextStateIndex?: number;
|
694
703
|
condition?: string;
|
695
704
|
};
|
696
|
-
type
|
705
|
+
type GetAssetDescription_AnimationSequence = {
|
697
706
|
inputDescriptor: GetAssetDescription_Object;
|
698
707
|
};
|
699
|
-
type
|
708
|
+
type GetAssetDescription_AnimationSet = {
|
700
709
|
animationSet: Array<GetAssetDescription_Object>;
|
701
710
|
animationGraphUUID: string;
|
702
711
|
};
|
703
|
-
type
|
712
|
+
type GetAssetDescription_Cubemap = {
|
704
713
|
faces: Array<string>;
|
705
714
|
};
|
706
|
-
type
|
715
|
+
type GetAssetDescription_EventMap = {
|
707
716
|
eventDescriptors: Array<GetAssetDescription_Object>;
|
708
717
|
};
|
709
|
-
type
|
718
|
+
type GetAssetDescription_Material = {
|
710
719
|
shaderRef: string;
|
711
720
|
skinnedShaderRef: string;
|
712
721
|
dataJson: GetAssetDescription_Object;
|
713
722
|
isDoubleSided: boolean;
|
714
723
|
};
|
715
|
-
type
|
724
|
+
type GetAssetDescription_Mesh = {
|
716
725
|
submeshes: Array<GetAssetDescription_submesh_description>;
|
717
726
|
payloadSize: number;
|
718
727
|
};
|
@@ -731,14 +740,14 @@ type GetAssetDescription_channel_description = {
|
|
731
740
|
dataOffset?: number;
|
732
741
|
dataSize?: number;
|
733
742
|
};
|
734
|
-
type
|
743
|
+
type GetAssetDescription_PointCloud = {
|
735
744
|
format: "invalid" | "xyz32" | "xyz32_rgb8";
|
736
745
|
payloadTotalSize: number;
|
737
746
|
pointCount: number;
|
738
747
|
translation?: Array<number>;
|
739
748
|
scale?: Array<number>;
|
740
749
|
};
|
741
|
-
type
|
750
|
+
type GetAssetDescription_RenderGraph = {
|
742
751
|
renderTargetDescriptions?: Array<GetAssetDescription_render_target_description>;
|
743
752
|
nodeDataDescriptions?: Array<GetAssetDescription_node_data_description>;
|
744
753
|
renderPassDescriptions?: Array<GetAssetDescription_render_pass_description>;
|
@@ -781,7 +790,9 @@ type GetAssetDescription_node_data_description = {
|
|
781
790
|
clearColors?: Array<GetAssetDescription_vec4>;
|
782
791
|
constDataType?: "none" | "material" | "skybox [[deprecated]]" | "debug" | "clear_ssao [[deprecated]]" | "ssao [[deprecated]]" | "blur [[deprecated]]" | "voxel" | "temporal_denoise [[deprecated]]" | "spatial_denoise [[deprecated]]" | "outline [[deprecated]]" | "bloom [[deprecated]]" | "atmosphere [[deprecated]]" | "ssr [[deprecated]]" | "compose_reflections [[deprecated]]" | "compose_outlines [[deprecated]]" | "compose_transparent [[deprecated]]" | "grid_quad [[deprecated]]" | "timestamp [[deprecated]]" | "volumetric_lighting [[deprecated]]" | "color_grading [[deprecated]]" | "exposure [[deprecated]]" | "minmip [[deprecated]]" | "gpu_occlusion_culling" | "cpu_occlusion_culling" | "edge_outline [[deprecated]]" | "point_cloud [[deprecated]]" | "downsample [[deprecated]]" | "upsample_combine [[deprecated]]";
|
783
792
|
};
|
784
|
-
type GetAssetDescription_vec4 = {
|
793
|
+
type GetAssetDescription_vec4 = {
|
794
|
+
body: GetAssetDescription_Object;
|
795
|
+
};
|
785
796
|
type GetAssetDescription_render_pass_description = {
|
786
797
|
name?: string;
|
787
798
|
sampleCount?: number;
|
@@ -810,7 +821,9 @@ type GetAssetDescription_VkAttachmentDescription = {
|
|
810
821
|
initialLayout?: GetAssetDescription_Object;
|
811
822
|
finalLayout?: GetAssetDescription_Object;
|
812
823
|
};
|
813
|
-
type GetAssetDescription_pair_int16_int16 = {
|
824
|
+
type GetAssetDescription_pair_int16_int16 = {
|
825
|
+
body: GetAssetDescription_Object;
|
826
|
+
};
|
814
827
|
type GetAssetDescription_VkStencilOpState = {
|
815
828
|
failOp?: GetAssetDescription_Object;
|
816
829
|
passOp?: GetAssetDescription_Object;
|
@@ -830,7 +843,7 @@ type GetAssetDescription_VkPipelineColorBlendAttachmentState = {
|
|
830
843
|
alphaBlendOp?: GetAssetDescription_Object;
|
831
844
|
colorWriteMask?: GetAssetDescription_Object;
|
832
845
|
};
|
833
|
-
type
|
846
|
+
type GetAssetDescription_Scene = {
|
834
847
|
boundingBox?: GetAssetDescription_Object;
|
835
848
|
entities?: Array<GetAssetDescription_Object>;
|
836
849
|
triangleCount?: number;
|
@@ -844,12 +857,12 @@ type GetAssetDescription_animation_sequence_instance = {
|
|
844
857
|
durationInMs?: number;
|
845
858
|
loop?: boolean;
|
846
859
|
};
|
847
|
-
type
|
860
|
+
type GetAssetDescription_Script = {
|
848
861
|
inputDescriptor?: GetAssetDescription_Object;
|
849
862
|
eventNames: Array<string>;
|
850
863
|
subScripts?: Array<string>;
|
851
864
|
};
|
852
|
-
type
|
865
|
+
type GetAssetDescription_Shader = {
|
853
866
|
payloadSize: number;
|
854
867
|
shaderStages?: number;
|
855
868
|
moduleDescriptions?: Array<GetAssetDescription_shader_module_description>;
|
@@ -875,7 +888,7 @@ type GetAssetDescription_vertex_attribute_descriptor = {
|
|
875
888
|
format?: GetAssetDescription_Object;
|
876
889
|
offset?: number;
|
877
890
|
};
|
878
|
-
type
|
891
|
+
type GetAssetDescription_Skeleton = {
|
879
892
|
payloadSize: number;
|
880
893
|
bones: Array<GetAssetDescription_bone_description>;
|
881
894
|
};
|
@@ -886,7 +899,7 @@ type GetAssetDescription_bone_description = {
|
|
886
899
|
parentIndex?: number;
|
887
900
|
offsetMatrix?: Array<number>;
|
888
901
|
};
|
889
|
-
type
|
902
|
+
type GetAssetDescription_Sound = {
|
890
903
|
payloadSize: number;
|
891
904
|
sampleCount: number;
|
892
905
|
durationInMs: number;
|
@@ -894,7 +907,7 @@ type GetAssetDescription_sound_asset_schema = {
|
|
894
907
|
bitDepth: number;
|
895
908
|
channelCount: number;
|
896
909
|
};
|
897
|
-
type
|
910
|
+
type GetAssetDescription_Texture = {
|
898
911
|
format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
|
899
912
|
payloadTotalSize: number;
|
900
913
|
mips: Array<GetAssetDescription_mip_description>;
|
@@ -903,7 +916,7 @@ type GetAssetDescription_mip_description = {
|
|
903
916
|
dimension?: Array<number>;
|
904
917
|
payloadSize?: number;
|
905
918
|
};
|
906
|
-
type
|
919
|
+
type GetAssetDescription_VolumeMaterial = {
|
907
920
|
albedoLUT?: Array<GetAssetDescription_control_point>;
|
908
921
|
opacityLUT?: Array<GetAssetDescription_control_point>;
|
909
922
|
metallicLUT?: Array<GetAssetDescription_control_point>;
|
@@ -913,27 +926,354 @@ type GetAssetDescription_volume_material_asset_schema = {
|
|
913
926
|
};
|
914
927
|
type GetAssetDescription_control_point = {
|
915
928
|
key?: number;
|
916
|
-
value?: Array<number> | number;
|
929
|
+
value?: StrictUnion<Array<number> | number> & any;
|
930
|
+
};
|
931
|
+
type GetAssetDescription_asset_description = {
|
932
|
+
uuid: string;
|
933
|
+
name: string;
|
917
934
|
};
|
918
935
|
declare function getAssetDescription({ asset_container, asset_id }: {
|
919
936
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
920
937
|
asset_id: string;
|
921
|
-
}): AxiosPromise<
|
922
|
-
|
938
|
+
}): AxiosPromise<StrictUnion<GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_PointCloud | GetAssetDescription_RenderGraph | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_VolumeMaterial> & GetAssetDescription_asset_description>;
|
939
|
+
type UpdateAssetDescription_Animation = {
|
940
|
+
durationInMs: number;
|
941
|
+
payloadSize: number;
|
942
|
+
animationEventTrack: UpdateAssetDescription_Object;
|
943
|
+
skeletonRef?: string;
|
944
|
+
};
|
945
|
+
type UpdateAssetDescription_Object = {
|
946
|
+
eventNames?: Array<string>;
|
947
|
+
eventTimeline?: Array<UpdateAssetDescription_animation_event>;
|
948
|
+
};
|
949
|
+
type UpdateAssetDescription_animation_event = {
|
950
|
+
eventIndex?: number;
|
951
|
+
triggerTime?: number;
|
952
|
+
triggerGlobally?: boolean;
|
953
|
+
};
|
954
|
+
type UpdateAssetDescription_AnimationGraph = {
|
955
|
+
stateMachines?: Array<UpdateAssetDescription_animation_state_machine_description>;
|
956
|
+
inputDescriptor?: UpdateAssetDescription_Object;
|
957
|
+
};
|
958
|
+
type UpdateAssetDescription_animation_state_machine_description = {
|
959
|
+
states?: Array<UpdateAssetDescription_animation_state_description>;
|
960
|
+
transitions?: Array<UpdateAssetDescription_transition_description>;
|
961
|
+
};
|
962
|
+
type UpdateAssetDescription_animation_state_description = {
|
963
|
+
name?: string;
|
964
|
+
nodes?: Array<UpdateAssetDescription_animation_node_description>;
|
965
|
+
transitionIndices?: Array<number>;
|
966
|
+
};
|
967
|
+
type UpdateAssetDescription_animation_node_description = {
|
968
|
+
nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
|
969
|
+
inputs?: Array<number>;
|
970
|
+
settings?: StrictUnion<UpdateAssetDescription_playback_settings_animation_settings | UpdateAssetDescription_blendspace_1d_settings_animation_settings | UpdateAssetDescription_blendspace_2d_settings_animation_settings | UpdateAssetDescription_blend_settings | UpdateAssetDescription_random_settings | UpdateAssetDescription_animation_state_machine_settings | UpdateAssetDescription_ik_two_bone_settings | UpdateAssetDescription_ik_aim_settings> & any;
|
971
|
+
};
|
972
|
+
type UpdateAssetDescription_playback_settings_animation_settings = {
|
973
|
+
playbackSpeed?: number;
|
974
|
+
startOffset?: number;
|
975
|
+
loop?: boolean;
|
976
|
+
animationKey?: number;
|
977
|
+
};
|
978
|
+
type UpdateAssetDescription_blendspace_1d_settings_animation_settings = {
|
979
|
+
playbackSpeed?: number;
|
980
|
+
startOffset?: number;
|
981
|
+
loop?: boolean;
|
982
|
+
controlPoints?: Array<UpdateAssetDescription_blend_axis>;
|
983
|
+
horizontalAxis?: UpdateAssetDescription_Object;
|
984
|
+
};
|
985
|
+
type UpdateAssetDescription_blend_axis = {
|
986
|
+
name?: string;
|
987
|
+
rangeMin?: number;
|
988
|
+
rangeMax?: number;
|
989
|
+
};
|
990
|
+
type UpdateAssetDescription_blendspace_2d_settings_animation_settings = {
|
991
|
+
playbackSpeed?: number;
|
992
|
+
startOffset?: number;
|
993
|
+
loop?: boolean;
|
994
|
+
controlPoints?: Array<UpdateAssetDescription_blend_axis>;
|
995
|
+
horizontalAxis?: UpdateAssetDescription_Object;
|
996
|
+
verticalAxis?: UpdateAssetDescription_Object;
|
997
|
+
};
|
998
|
+
type UpdateAssetDescription_blend_settings = {
|
999
|
+
weights?: Array<number>;
|
1000
|
+
boneIndices?: Array<number>;
|
1001
|
+
};
|
1002
|
+
type UpdateAssetDescription_random_settings = {
|
1003
|
+
probabilities?: Array<number>;
|
1004
|
+
};
|
1005
|
+
type UpdateAssetDescription_animation_state_machine_settings = {
|
1006
|
+
stateMachineIndex?: number;
|
1007
|
+
};
|
1008
|
+
type UpdateAssetDescription_ik_two_bone_settings = {
|
1009
|
+
ws_poleVector?: Array<number>;
|
1010
|
+
targetId?: string;
|
1011
|
+
startJoint?: number;
|
1012
|
+
midJoint?: number;
|
1013
|
+
endJoint?: number;
|
1014
|
+
soften?: number;
|
1015
|
+
twistAngle?: number;
|
1016
|
+
weight?: number;
|
1017
|
+
};
|
1018
|
+
type UpdateAssetDescription_ik_aim_settings = {
|
1019
|
+
targetNameId?: string;
|
1020
|
+
aimingBoneId?: string;
|
1021
|
+
chainLength?: number;
|
1022
|
+
eyesOffset?: Array<number>;
|
1023
|
+
chainWeight?: number;
|
1024
|
+
boneWeight?: number;
|
1025
|
+
};
|
1026
|
+
type UpdateAssetDescription_transition_description = {
|
1027
|
+
durationInMs?: number;
|
1028
|
+
exitTime?: number;
|
1029
|
+
nextStateIndex?: number;
|
1030
|
+
condition?: string;
|
1031
|
+
};
|
1032
|
+
type UpdateAssetDescription_AnimationSequence = {
|
1033
|
+
inputDescriptor: UpdateAssetDescription_Object;
|
1034
|
+
};
|
1035
|
+
type UpdateAssetDescription_AnimationSet = {
|
1036
|
+
animationSet: Array<UpdateAssetDescription_Object>;
|
1037
|
+
animationGraphUUID: string;
|
1038
|
+
};
|
1039
|
+
type UpdateAssetDescription_Cubemap = {
|
1040
|
+
faces: Array<string>;
|
1041
|
+
};
|
1042
|
+
type UpdateAssetDescription_EventMap = {
|
1043
|
+
eventDescriptors: Array<UpdateAssetDescription_Object>;
|
1044
|
+
};
|
1045
|
+
type UpdateAssetDescription_Material = {
|
1046
|
+
shaderRef: string;
|
1047
|
+
skinnedShaderRef: string;
|
1048
|
+
dataJson: UpdateAssetDescription_Object;
|
1049
|
+
isDoubleSided: boolean;
|
1050
|
+
};
|
1051
|
+
type UpdateAssetDescription_Mesh = {
|
1052
|
+
submeshes: Array<UpdateAssetDescription_submesh_description>;
|
1053
|
+
payloadSize: number;
|
1054
|
+
};
|
1055
|
+
type UpdateAssetDescription_submesh_description = {
|
1056
|
+
boundingBox: UpdateAssetDescription_Object;
|
1057
|
+
channels: Array<UpdateAssetDescription_channel_description>;
|
1058
|
+
payloadSize: number;
|
1059
|
+
indexCount: number;
|
1060
|
+
vertexCount?: number;
|
1061
|
+
};
|
1062
|
+
type UpdateAssetDescription_channel_description = {
|
1063
|
+
semantic?: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
|
1064
|
+
elementCount?: number;
|
1065
|
+
elementType?: "dt_signed" | "dt_unsigned" | "dt_float";
|
1066
|
+
elementSize?: number;
|
1067
|
+
dataOffset?: number;
|
1068
|
+
dataSize?: number;
|
1069
|
+
};
|
1070
|
+
type UpdateAssetDescription_PointCloud = {
|
1071
|
+
format: "invalid" | "xyz32" | "xyz32_rgb8";
|
1072
|
+
payloadTotalSize: number;
|
1073
|
+
pointCount: number;
|
1074
|
+
translation?: Array<number>;
|
1075
|
+
scale?: Array<number>;
|
1076
|
+
};
|
1077
|
+
type UpdateAssetDescription_RenderGraph = {
|
1078
|
+
renderTargetDescriptions?: Array<UpdateAssetDescription_render_target_description>;
|
1079
|
+
nodeDataDescriptions?: Array<UpdateAssetDescription_node_data_description>;
|
1080
|
+
renderPassDescriptions?: Array<UpdateAssetDescription_render_pass_description>;
|
1081
|
+
graphOrder?: Array<UpdateAssetDescription_pair_int16_int16>;
|
1082
|
+
inputDescriptor?: UpdateAssetDescription_Object;
|
1083
|
+
stencilStates?: Array<UpdateAssetDescription_VkStencilOpState>;
|
1084
|
+
blendStates?: Array<UpdateAssetDescription_VkPipelineColorBlendAttachmentState>;
|
1085
|
+
defaultRenderTargetIndex?: number;
|
1086
|
+
occlusionInputDepthRenderTargetIndex?: number;
|
1087
|
+
};
|
1088
|
+
type UpdateAssetDescription_render_target_description = {
|
1089
|
+
name?: string;
|
1090
|
+
format?: UpdateAssetDescription_Object;
|
1091
|
+
sampleCount?: UpdateAssetDescription_Object;
|
1092
|
+
usage?: UpdateAssetDescription_Object;
|
1093
|
+
aspect?: UpdateAssetDescription_Object;
|
1094
|
+
samplerType?: number;
|
1095
|
+
mipLevels?: number;
|
1096
|
+
extent?: UpdateAssetDescription_Object;
|
1097
|
+
flags?: UpdateAssetDescription_Object;
|
1098
|
+
tiling?: UpdateAssetDescription_Object;
|
1099
|
+
memoryUsage?: UpdateAssetDescription_Object;
|
1100
|
+
memoryType?: UpdateAssetDescription_Object;
|
1101
|
+
};
|
1102
|
+
type UpdateAssetDescription_node_data_description = {
|
1103
|
+
name?: string;
|
1104
|
+
frameNodeType?: "viewport" | "draw_batch" | "draw_batch_with_materials" | "dispatch_compute" | "blit_image" | "blit_image_pointer_to_dst" | "copy_image" | "resolve_image" | "node_draw_quad" | "generate_mip_chain" | "copy_to_cubemap" | "copy_to_light_cubemap" | "copy_to_reflection_cubemap" | "clear_images" | "timestamp" | "clear_point_cloud_buffer" | "draw_debug_lines" | "draw_skybox" | "draw_xr";
|
1105
|
+
inputDepthRenderTargetIndices?: Array<number>;
|
1106
|
+
outputDepthRenderTargetIndices?: Array<number>;
|
1107
|
+
inputRenderTargetIndices?: Array<number>;
|
1108
|
+
outputRenderTargetIndices?: Array<number>;
|
1109
|
+
shaderRef?: UpdateAssetDescription_Object;
|
1110
|
+
dataJson?: UpdateAssetDescription_Object;
|
1111
|
+
aliases?: Array<any>;
|
1112
|
+
batchType?: "opaque = 1 << 0" | "transparent = 1 << 1" | "static_meshes = 1 << 2" | "static_textured_meshes = 1 << 3" | "all_static_meshes = 1 << 4" | "skinned = 1 << 5" | "selected = 1 << 6" | "do_not_use_material = 1 << 7" | "double_sided = 1 << 8" | "single_sided = 1 << 9" | "pass_occlusion_test = 1 << 10";
|
1113
|
+
pipelineDescription?: UpdateAssetDescription_Object;
|
1114
|
+
copyToFaceIndex?: number;
|
1115
|
+
drawIndirect?: boolean;
|
1116
|
+
conditions?: Array<string>;
|
1117
|
+
clearColors?: Array<UpdateAssetDescription_vec4>;
|
1118
|
+
constDataType?: "none" | "material" | "skybox [[deprecated]]" | "debug" | "clear_ssao [[deprecated]]" | "ssao [[deprecated]]" | "blur [[deprecated]]" | "voxel" | "temporal_denoise [[deprecated]]" | "spatial_denoise [[deprecated]]" | "outline [[deprecated]]" | "bloom [[deprecated]]" | "atmosphere [[deprecated]]" | "ssr [[deprecated]]" | "compose_reflections [[deprecated]]" | "compose_outlines [[deprecated]]" | "compose_transparent [[deprecated]]" | "grid_quad [[deprecated]]" | "timestamp [[deprecated]]" | "volumetric_lighting [[deprecated]]" | "color_grading [[deprecated]]" | "exposure [[deprecated]]" | "minmip [[deprecated]]" | "gpu_occlusion_culling" | "cpu_occlusion_culling" | "edge_outline [[deprecated]]" | "point_cloud [[deprecated]]" | "downsample [[deprecated]]" | "upsample_combine [[deprecated]]";
|
1119
|
+
};
|
1120
|
+
type UpdateAssetDescription_vec4 = {
|
1121
|
+
body: UpdateAssetDescription_Object;
|
1122
|
+
};
|
1123
|
+
type UpdateAssetDescription_render_pass_description = {
|
1124
|
+
name?: string;
|
1125
|
+
sampleCount?: number;
|
1126
|
+
nodeIndices?: Array<number>;
|
1127
|
+
colorAttachmentIndices?: Array<number>;
|
1128
|
+
depthAttachmentIndex?: number;
|
1129
|
+
resolveAttachmentIndices?: Array<number>;
|
1130
|
+
colorAttachmentReferences?: Array<UpdateAssetDescription_VkAttachmentReference>;
|
1131
|
+
depthAttachmentReference?: UpdateAssetDescription_Object;
|
1132
|
+
resolveAttachmentReferences?: Array<UpdateAssetDescription_VkAttachmentReference>;
|
1133
|
+
attachmentDescriptions?: Array<UpdateAssetDescription_VkAttachmentDescription>;
|
1134
|
+
attachmentClearColors?: Array<UpdateAssetDescription_vec4>;
|
1135
|
+
};
|
1136
|
+
type UpdateAssetDescription_VkAttachmentReference = {
|
1137
|
+
attachment?: number;
|
1138
|
+
layout?: UpdateAssetDescription_Object;
|
1139
|
+
};
|
1140
|
+
type UpdateAssetDescription_VkAttachmentDescription = {
|
1141
|
+
flags?: UpdateAssetDescription_Object;
|
1142
|
+
format?: UpdateAssetDescription_Object;
|
1143
|
+
samples?: UpdateAssetDescription_Object;
|
1144
|
+
loadOp?: UpdateAssetDescription_Object;
|
1145
|
+
storeOp?: UpdateAssetDescription_Object;
|
1146
|
+
stencilLoadOp?: UpdateAssetDescription_Object;
|
1147
|
+
stencilStoreOp?: UpdateAssetDescription_Object;
|
1148
|
+
initialLayout?: UpdateAssetDescription_Object;
|
1149
|
+
finalLayout?: UpdateAssetDescription_Object;
|
1150
|
+
};
|
1151
|
+
type UpdateAssetDescription_pair_int16_int16 = {
|
1152
|
+
body: UpdateAssetDescription_Object;
|
1153
|
+
};
|
1154
|
+
type UpdateAssetDescription_VkStencilOpState = {
|
1155
|
+
failOp?: UpdateAssetDescription_Object;
|
1156
|
+
passOp?: UpdateAssetDescription_Object;
|
1157
|
+
depthFailOp?: UpdateAssetDescription_Object;
|
1158
|
+
compareOp?: UpdateAssetDescription_Object;
|
1159
|
+
compareMask?: number;
|
1160
|
+
writeMask?: number;
|
1161
|
+
reference?: number;
|
1162
|
+
};
|
1163
|
+
type UpdateAssetDescription_VkPipelineColorBlendAttachmentState = {
|
1164
|
+
blendEnable?: boolean;
|
1165
|
+
srcColorBlendFactor?: UpdateAssetDescription_Object;
|
1166
|
+
dstColorBlendFactor?: UpdateAssetDescription_Object;
|
1167
|
+
colorBlendOp?: UpdateAssetDescription_Object;
|
1168
|
+
srcAlphaBlendFactor?: UpdateAssetDescription_Object;
|
1169
|
+
dstAlphaBlendFactor?: UpdateAssetDescription_Object;
|
1170
|
+
alphaBlendOp?: UpdateAssetDescription_Object;
|
1171
|
+
colorWriteMask?: UpdateAssetDescription_Object;
|
1172
|
+
};
|
1173
|
+
type UpdateAssetDescription_Scene = {
|
1174
|
+
boundingBox?: UpdateAssetDescription_Object;
|
1175
|
+
entities?: Array<UpdateAssetDescription_Object>;
|
1176
|
+
triangleCount?: number;
|
1177
|
+
settings?: UpdateAssetDescription_Object;
|
1178
|
+
animationSequenceInstances?: Array<UpdateAssetDescription_animation_sequence_instance>;
|
1179
|
+
};
|
1180
|
+
type UpdateAssetDescription_animation_sequence_instance = {
|
1181
|
+
ref?: string;
|
1182
|
+
entities?: Array<string>;
|
1183
|
+
dataJSON?: UpdateAssetDescription_Object;
|
1184
|
+
durationInMs?: number;
|
1185
|
+
loop?: boolean;
|
1186
|
+
};
|
1187
|
+
type UpdateAssetDescription_Script = {
|
1188
|
+
inputDescriptor?: UpdateAssetDescription_Object;
|
1189
|
+
eventNames: Array<string>;
|
1190
|
+
subScripts?: Array<string>;
|
1191
|
+
};
|
1192
|
+
type UpdateAssetDescription_Shader = {
|
1193
|
+
payloadSize: number;
|
1194
|
+
shaderStages?: number;
|
1195
|
+
moduleDescriptions?: Array<UpdateAssetDescription_shader_module_description>;
|
1196
|
+
materialDescriptor?: UpdateAssetDescription_Object;
|
1197
|
+
nodeDataDescriptor?: UpdateAssetDescription_Object;
|
1198
|
+
vertexDescriptor?: Array<UpdateAssetDescription_vertex_attribute_descriptor>;
|
1199
|
+
blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
|
1200
|
+
localGroupCount?: Array<number>;
|
1201
|
+
optGlobalGroupMultiplier?: Array<number>;
|
1202
|
+
optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
|
1203
|
+
};
|
1204
|
+
type UpdateAssetDescription_shader_module_description = {
|
1205
|
+
shaderStage?: UpdateAssetDescription_Object;
|
1206
|
+
payloadOffset?: number;
|
1207
|
+
payloadSize?: number;
|
1208
|
+
usedBindings?: number;
|
1209
|
+
};
|
1210
|
+
type UpdateAssetDescription_vertex_attribute_descriptor = {
|
1211
|
+
semantic?: "position = 1 << 0" | "normal = 1 << 1" | "tex_coord = 1 << 2" | "skin_bone_ids = 1 << 3" | "skin_weights = 1 << 4" | "custom = 1 << 5";
|
1212
|
+
binding?: number;
|
1213
|
+
location?: number;
|
1214
|
+
stride?: number;
|
1215
|
+
format?: UpdateAssetDescription_Object;
|
1216
|
+
offset?: number;
|
1217
|
+
};
|
1218
|
+
type UpdateAssetDescription_Skeleton = {
|
1219
|
+
payloadSize: number;
|
1220
|
+
bones: Array<UpdateAssetDescription_bone_description>;
|
1221
|
+
};
|
1222
|
+
type UpdateAssetDescription_bone_description = {
|
1223
|
+
name?: string;
|
1224
|
+
childrenCount?: number;
|
1225
|
+
firstChildIndex?: number;
|
1226
|
+
parentIndex?: number;
|
1227
|
+
offsetMatrix?: Array<number>;
|
1228
|
+
};
|
1229
|
+
type UpdateAssetDescription_Sound = {
|
1230
|
+
payloadSize: number;
|
1231
|
+
sampleCount: number;
|
1232
|
+
durationInMs: number;
|
1233
|
+
sampleFrequencyInHz: number;
|
1234
|
+
bitDepth: number;
|
1235
|
+
channelCount: number;
|
1236
|
+
};
|
1237
|
+
type UpdateAssetDescription_Texture = {
|
1238
|
+
format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
|
1239
|
+
payloadTotalSize: number;
|
1240
|
+
mips: Array<UpdateAssetDescription_mip_description>;
|
1241
|
+
};
|
1242
|
+
type UpdateAssetDescription_mip_description = {
|
1243
|
+
dimension?: Array<number>;
|
1244
|
+
payloadSize?: number;
|
1245
|
+
};
|
1246
|
+
type UpdateAssetDescription_VolumeMaterial = {
|
1247
|
+
albedoLUT?: Array<UpdateAssetDescription_control_point>;
|
1248
|
+
opacityLUT?: Array<UpdateAssetDescription_control_point>;
|
1249
|
+
metallicLUT?: Array<UpdateAssetDescription_control_point>;
|
1250
|
+
roughnessLUT?: Array<UpdateAssetDescription_control_point>;
|
1251
|
+
rangeMin?: number;
|
1252
|
+
rangeMax?: number;
|
1253
|
+
};
|
1254
|
+
type UpdateAssetDescription_control_point = {
|
1255
|
+
key?: number;
|
1256
|
+
value?: StrictUnion<Array<number> | number> & any;
|
1257
|
+
};
|
1258
|
+
declare function updateAssetDescription({ asset_container, asset_id, assetDescription }: {
|
923
1259
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
924
1260
|
asset_id: string;
|
925
|
-
|
1261
|
+
assetDescription: StrictUnion<UpdateAssetDescription_Animation | UpdateAssetDescription_AnimationGraph | UpdateAssetDescription_AnimationSequence | UpdateAssetDescription_AnimationSet | UpdateAssetDescription_Cubemap | UpdateAssetDescription_EventMap | UpdateAssetDescription_Material | UpdateAssetDescription_Mesh | UpdateAssetDescription_PointCloud | UpdateAssetDescription_RenderGraph | UpdateAssetDescription_Scene | UpdateAssetDescription_Script | UpdateAssetDescription_Shader | UpdateAssetDescription_Skeleton | UpdateAssetDescription_Sound | UpdateAssetDescription_Texture | UpdateAssetDescription_VolumeMaterial> & UpdateAssetDescription_Object;
|
926
1262
|
}): Promise<axios.AxiosResponse<any, any>>;
|
927
1263
|
declare function getAssetPayload({ asset_container_with_payload, asset_id }: {
|
928
1264
|
asset_container_with_payload: "animations" | "animationSequences" | "meshes" | "pointClouds" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures";
|
929
1265
|
asset_id: string;
|
930
1266
|
}): AxiosPromise<ArrayBuffer>;
|
931
|
-
type GetAssetHistory_Object = {
|
1267
|
+
type GetAssetHistory_Object = {
|
1268
|
+
body: GetAssetHistory_Object;
|
1269
|
+
};
|
932
1270
|
declare function getAssetHistory({ asset_container, asset_id }: {
|
933
1271
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
934
1272
|
asset_id: string;
|
935
1273
|
}): AxiosPromise<GetAssetHistory_Object>;
|
936
|
-
type GetAssetMeta_Object = {
|
1274
|
+
type GetAssetMeta_Object = {
|
1275
|
+
body: GetAssetMeta_Object;
|
1276
|
+
};
|
937
1277
|
declare function getAssetMeta({ asset_container, asset_id }: {
|
938
1278
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
939
1279
|
asset_id: string;
|
@@ -953,7 +1293,9 @@ declare function setAssetThumbnail({ asset_container, asset_id, body }: {
|
|
953
1293
|
asset_id: string;
|
954
1294
|
body: ArrayBuffer;
|
955
1295
|
}, contentType: 'image/jpg' | 'image/png'): Promise<axios.AxiosResponse<any, any>>;
|
956
|
-
type GetAssetCustomTypes_Object = {
|
1296
|
+
type GetAssetCustomTypes_Object = {
|
1297
|
+
body: GetAssetCustomTypes_Object;
|
1298
|
+
};
|
957
1299
|
declare function getAssetCustomTypes({ asset_container_with_custom_types, asset_id }: {
|
958
1300
|
asset_container_with_custom_types: "modules";
|
959
1301
|
asset_id: string;
|
@@ -982,7 +1324,7 @@ type GetSceneSessions_Session = {
|
|
982
1324
|
};
|
983
1325
|
type GetSceneSessions_UserInfo = {
|
984
1326
|
client_id?: string;
|
985
|
-
client_type?: 'user' | 'guest'
|
1327
|
+
client_type?: StrictUnion<'user' | 'guest'>;
|
986
1328
|
user_id: string;
|
987
1329
|
username: string;
|
988
1330
|
};
|
@@ -996,17 +1338,722 @@ type GetSceneAabb_Object = {
|
|
996
1338
|
declare function getSceneAABB({ scene_id }: {
|
997
1339
|
scene_id: string;
|
998
1340
|
}): AxiosPromise<GetSceneAabb_Object>;
|
999
|
-
type
|
1000
|
-
|
1341
|
+
type GetEntity_animation_controller = {
|
1342
|
+
animation_controller: GetEntity_AnimationController;
|
1343
|
+
};
|
1344
|
+
type GetEntity_AnimationController = {
|
1345
|
+
animationGraphRef: string;
|
1346
|
+
animationSetRef: string;
|
1347
|
+
dataJSON: GetEntity_Json;
|
1348
|
+
rootBoneEntityRef: GetEntity_EntityReference;
|
1349
|
+
rootMotionEnabled: boolean;
|
1350
|
+
};
|
1351
|
+
type GetEntity_Json = {
|
1352
|
+
json: GetEntity_Json;
|
1353
|
+
};
|
1354
|
+
type GetEntity_EntityReference = {
|
1355
|
+
originalEUID: string;
|
1356
|
+
linkage: Array<string>;
|
1357
|
+
};
|
1358
|
+
type GetEntity_bone = {
|
1359
|
+
bone: GetEntity_Bone;
|
1360
|
+
};
|
1361
|
+
type GetEntity_Bone = {
|
1362
|
+
boneIndex: number;
|
1363
|
+
};
|
1364
|
+
type GetEntity_box_geometry = {
|
1365
|
+
box_geometry: GetEntity_BoxGeometry;
|
1366
|
+
};
|
1367
|
+
type GetEntity_BoxGeometry = {
|
1368
|
+
dimension?: Array<number>;
|
1369
|
+
isAdditive?: boolean;
|
1370
|
+
offset?: Array<number>;
|
1371
|
+
};
|
1372
|
+
type GetEntity_camera = {
|
1373
|
+
camera: GetEntity_Camera;
|
1374
|
+
};
|
1375
|
+
type GetEntity_Camera = {
|
1376
|
+
renderGraphRef: string;
|
1377
|
+
renderTargetIndex?: number;
|
1378
|
+
dataJSON: GetEntity_Json;
|
1379
|
+
};
|
1380
|
+
type GetEntity_capsule_geometry = {
|
1381
|
+
capsule_geometry: GetEntity_CapsuleGeometry;
|
1382
|
+
};
|
1383
|
+
type GetEntity_CapsuleGeometry = {
|
1384
|
+
radius?: number;
|
1385
|
+
height?: number;
|
1386
|
+
axis?: number;
|
1387
|
+
isAdditive?: boolean;
|
1388
|
+
offset?: Array<number>;
|
1389
|
+
};
|
1390
|
+
type GetEntity_character_controller = {
|
1391
|
+
character_controller: GetEntity_CharacterController;
|
1392
|
+
};
|
1393
|
+
type GetEntity_CharacterController = {
|
1394
|
+
stepOffset?: number;
|
1395
|
+
slopeLimit?: number;
|
1396
|
+
skinWidth?: number;
|
1397
|
+
velocity?: Array<number>;
|
1398
|
+
};
|
1399
|
+
type GetEntity_collision_geometry_ref = {
|
1400
|
+
collision_geometry_ref: GetEntity_CollisionGeometryRef;
|
1401
|
+
};
|
1402
|
+
type GetEntity_CollisionGeometryRef = {
|
1403
|
+
collisionGeometryRef: string;
|
1001
1404
|
};
|
1002
|
-
type
|
1405
|
+
type GetEntity_cylinder_geometry = {
|
1406
|
+
cylinder_geometry: GetEntity_CylinderGeometry;
|
1407
|
+
};
|
1408
|
+
type GetEntity_CylinderGeometry = {
|
1409
|
+
radius?: number;
|
1410
|
+
height?: number;
|
1411
|
+
axis?: number;
|
1412
|
+
isAdditive?: boolean;
|
1413
|
+
offset?: Array<number>;
|
1414
|
+
};
|
1415
|
+
type GetEntity_debug_name = {
|
1416
|
+
debug_name: GetEntity_Name;
|
1417
|
+
};
|
1418
|
+
type GetEntity_Name = {
|
1419
|
+
value: string;
|
1420
|
+
};
|
1421
|
+
type GetEntity_decal_projector = {
|
1422
|
+
decal_projector: GetEntity_DecalProjector;
|
1423
|
+
};
|
1424
|
+
type GetEntity_DecalProjector = {
|
1425
|
+
zIndex?: number;
|
1426
|
+
};
|
1427
|
+
type GetEntity_environment = {
|
1428
|
+
environment: GetEntity_Environment;
|
1429
|
+
};
|
1430
|
+
type GetEntity_Environment = {
|
1431
|
+
skyboxUUID: string;
|
1432
|
+
radianceUUID: string;
|
1433
|
+
irradianceUUID: string;
|
1434
|
+
};
|
1435
|
+
type GetEntity_joint = {
|
1436
|
+
joint: GetEntity_Joint;
|
1437
|
+
};
|
1438
|
+
type GetEntity_Joint = {
|
1439
|
+
constrainee: GetEntity_EntityReference;
|
1440
|
+
constrainer: GetEntity_EntityReference;
|
1441
|
+
breakForce?: number;
|
1442
|
+
breakTorque?: number;
|
1443
|
+
};
|
1444
|
+
type GetEntity_lineage = {
|
1445
|
+
lineage: GetEntity_Lineage;
|
1446
|
+
};
|
1447
|
+
type GetEntity_Lineage = {
|
1448
|
+
parentUUID: string;
|
1449
|
+
ordinal?: number;
|
1450
|
+
};
|
1451
|
+
type GetEntity_local_aabb = {
|
1452
|
+
local_aabb: GetEntity_LocalAxisAlignedBoundingBox;
|
1453
|
+
};
|
1454
|
+
type GetEntity_LocalAxisAlignedBoundingBox = {
|
1455
|
+
min: Array<number>;
|
1456
|
+
max: Array<number>;
|
1457
|
+
};
|
1458
|
+
type GetEntity_local_transform = {
|
1459
|
+
local_transform: GetEntity_Transform;
|
1460
|
+
};
|
1461
|
+
type GetEntity_Transform = {
|
1462
|
+
position?: Array<number>;
|
1463
|
+
orientation?: Array<number>;
|
1464
|
+
scale?: Array<number>;
|
1465
|
+
eulerOrientation?: Array<number>;
|
1466
|
+
globalEulerOrientation?: Array<number>;
|
1467
|
+
};
|
1468
|
+
type GetEntity_material = {
|
1469
|
+
material: GetEntity_Material;
|
1470
|
+
};
|
1471
|
+
type GetEntity_Material = {
|
1472
|
+
shaderRef: string;
|
1473
|
+
transparencyMode: number;
|
1474
|
+
isDoubleSided: boolean;
|
1475
|
+
dataJSON: GetEntity_Json;
|
1476
|
+
};
|
1477
|
+
type GetEntity_material_ref = {
|
1478
|
+
material_ref: GetEntity_MaterialReference;
|
1479
|
+
};
|
1480
|
+
type GetEntity_MaterialReference = {
|
1481
|
+
value: string;
|
1482
|
+
faceCulling?: number;
|
1483
|
+
};
|
1484
|
+
type GetEntity_mesh_ref = {
|
1485
|
+
mesh_ref: GetEntity_MeshReference;
|
1486
|
+
};
|
1487
|
+
type GetEntity_MeshReference = {
|
1488
|
+
value: string;
|
1489
|
+
submeshIndex?: number;
|
1490
|
+
};
|
1491
|
+
type GetEntity_orthographic_lens = {
|
1492
|
+
orthographic_lens: GetEntity_OrthographicLens;
|
1493
|
+
};
|
1494
|
+
type GetEntity_OrthographicLens = {
|
1495
|
+
left?: number;
|
1496
|
+
right?: number;
|
1497
|
+
top?: number;
|
1498
|
+
bottom?: number;
|
1499
|
+
zNear?: number;
|
1500
|
+
zFar?: number;
|
1501
|
+
};
|
1502
|
+
type GetEntity_overrider = {
|
1503
|
+
overrider: GetEntity_Overrider;
|
1504
|
+
};
|
1505
|
+
type GetEntity_Overrider = {
|
1506
|
+
deleter?: boolean;
|
1507
|
+
entityRef: GetEntity_EntityReference;
|
1508
|
+
componentsToDetach: Array<number>;
|
1509
|
+
};
|
1510
|
+
type GetEntity_perspective_lens = {
|
1511
|
+
perspective_lens: GetEntity_PerspectiveLens;
|
1512
|
+
};
|
1513
|
+
type GetEntity_PerspectiveLens = {
|
1514
|
+
aspectRatio?: number;
|
1515
|
+
fovy?: number;
|
1516
|
+
nearPlane?: number;
|
1517
|
+
farPlane?: number;
|
1518
|
+
};
|
1519
|
+
type GetEntity_physics_material = {
|
1520
|
+
physics_material: GetEntity_PhysicsMaterial;
|
1521
|
+
};
|
1522
|
+
type GetEntity_PhysicsMaterial = {
|
1523
|
+
staticFriction?: number;
|
1524
|
+
dynamicFriction?: number;
|
1525
|
+
restitution?: number;
|
1526
|
+
isTrigger?: boolean;
|
1527
|
+
};
|
1528
|
+
type GetEntity_plane_geometry = {
|
1529
|
+
plane_geometry: GetEntity_PlaneGeometry;
|
1530
|
+
};
|
1531
|
+
type GetEntity_PlaneGeometry = {
|
1532
|
+
distance?: number;
|
1533
|
+
normal?: Array<number>;
|
1534
|
+
};
|
1535
|
+
type GetEntity_point_cloud_ref = {
|
1536
|
+
point_cloud_ref: GetEntity_PointCloudReference;
|
1537
|
+
};
|
1538
|
+
type GetEntity_PointCloudReference = {
|
1539
|
+
value: string;
|
1540
|
+
};
|
1541
|
+
type GetEntity_point_light = {
|
1542
|
+
point_light: GetEntity_Light;
|
1543
|
+
};
|
1544
|
+
type GetEntity_Light = {
|
1545
|
+
color?: Array<number>;
|
1546
|
+
intensity?: number;
|
1547
|
+
range?: number;
|
1548
|
+
isDirectional?: boolean;
|
1549
|
+
isSun?: boolean;
|
1550
|
+
};
|
1551
|
+
type GetEntity_reflection_probe = {
|
1552
|
+
reflection_probe: GetEntity_ReflectionProbe;
|
1553
|
+
};
|
1554
|
+
type GetEntity_ReflectionProbe = {
|
1555
|
+
offset?: Array<number>;
|
1556
|
+
nearDist?: number;
|
1557
|
+
farDist?: number;
|
1558
|
+
quality?: number;
|
1559
|
+
};
|
1560
|
+
type GetEntity_revolute_joint = {
|
1561
|
+
revolute_joint: GetEntity_RevoluteJoint;
|
1562
|
+
};
|
1563
|
+
type GetEntity_RevoluteJoint = {
|
1564
|
+
axis?: Array<number>;
|
1565
|
+
anchor?: Array<number>;
|
1566
|
+
};
|
1567
|
+
type GetEntity_rigid_body = {
|
1568
|
+
rigid_body: GetEntity_RigidBody;
|
1569
|
+
};
|
1570
|
+
type GetEntity_RigidBody = {
|
1571
|
+
mass?: number;
|
1572
|
+
linearDamping?: number;
|
1573
|
+
angularDamping?: number;
|
1574
|
+
friction?: number;
|
1575
|
+
rollingFriction?: number;
|
1576
|
+
spinningFriction?: number;
|
1577
|
+
restitution?: number;
|
1578
|
+
linearSleepingThreshold?: number;
|
1579
|
+
angularSleepingThreshold?: number;
|
1580
|
+
isKinematic?: boolean;
|
1581
|
+
};
|
1582
|
+
type GetEntity_scene_ref = {
|
1583
|
+
scene_ref: GetEntity_SceneReference;
|
1584
|
+
};
|
1585
|
+
type GetEntity_SceneReference = {
|
1586
|
+
value: string;
|
1587
|
+
maxRecursionCount?: number;
|
1588
|
+
};
|
1589
|
+
type GetEntity_script_element = {
|
1590
|
+
script_element: GetEntity_ScriptElement;
|
1591
|
+
};
|
1592
|
+
type GetEntity_ScriptElement = {
|
1593
|
+
scriptRef: string;
|
1594
|
+
dataJSON: GetEntity_Json;
|
1595
|
+
};
|
1596
|
+
type GetEntity_script_map = {
|
1597
|
+
script_map: GetEntity_ScriptMap;
|
1598
|
+
};
|
1599
|
+
type GetEntity_ScriptMap = {
|
1600
|
+
elements: GetEntity_MapScriptElement;
|
1601
|
+
};
|
1602
|
+
type GetEntity_MapScriptElement = {
|
1603
|
+
mapScriptElement: GetEntity_MapScriptElement;
|
1604
|
+
};
|
1605
|
+
type GetEntity_shadow_caster = {
|
1606
|
+
shadow_caster: GetEntity_ShadowCaster;
|
1607
|
+
};
|
1608
|
+
type GetEntity_ShadowCaster = {
|
1609
|
+
bias?: number;
|
1610
|
+
nearDist?: number;
|
1611
|
+
farDist?: number;
|
1612
|
+
quality?: number;
|
1613
|
+
accumulateShadowCascades?: boolean;
|
1614
|
+
};
|
1615
|
+
type GetEntity_entity_components_skeleton_ref = {
|
1616
|
+
skeleton_ref: GetEntity_SkeletonReference;
|
1617
|
+
};
|
1618
|
+
type GetEntity_SkeletonReference = {
|
1619
|
+
value: string;
|
1620
|
+
};
|
1621
|
+
type GetEntity_sound_ref = {
|
1622
|
+
sound_ref: GetEntity_SoundReference;
|
1623
|
+
};
|
1624
|
+
type GetEntity_SoundReference = {
|
1625
|
+
value: string;
|
1626
|
+
volume?: number;
|
1627
|
+
pan?: number;
|
1628
|
+
playSpeed?: number;
|
1629
|
+
looping?: boolean;
|
1630
|
+
};
|
1631
|
+
type GetEntity_sphere_geometry = {
|
1632
|
+
sphere_geometry: GetEntity_SphereGeometry;
|
1633
|
+
};
|
1634
|
+
type GetEntity_SphereGeometry = {
|
1635
|
+
radius?: number;
|
1636
|
+
isAdditive?: boolean;
|
1637
|
+
offset?: Array<number>;
|
1638
|
+
};
|
1639
|
+
type GetEntity_spot_light = {
|
1640
|
+
spot_light: GetEntity_SpotLight;
|
1641
|
+
};
|
1642
|
+
type GetEntity_SpotLight = {
|
1643
|
+
cutoff?: number;
|
1644
|
+
IESProfile: string;
|
1645
|
+
};
|
1646
|
+
type GetEntity_stereoscopic_lens = {
|
1647
|
+
stereoscopic_lens: GetEntity_StereoscopicPerspectiveLens;
|
1648
|
+
};
|
1649
|
+
type GetEntity_StereoscopicPerspectiveLens = {
|
1650
|
+
angleLeft?: number;
|
1651
|
+
angleRight?: number;
|
1652
|
+
angleUp?: number;
|
1653
|
+
angleDown?: number;
|
1654
|
+
nearPlane?: number;
|
1655
|
+
farPlane?: number;
|
1656
|
+
aspectRatio?: number;
|
1657
|
+
};
|
1658
|
+
type GetEntity_tags = {
|
1659
|
+
tags: GetEntity_Tags;
|
1660
|
+
};
|
1661
|
+
type GetEntity_Tags = {
|
1662
|
+
value: Array<string>;
|
1663
|
+
};
|
1664
|
+
type GetEntity_volume_filter = {
|
1665
|
+
volume_filter: GetEntity_VolumeFilter;
|
1666
|
+
};
|
1667
|
+
type GetEntity_VolumeFilter = {
|
1668
|
+
range?: Array<number>;
|
1669
|
+
applyGaussianFiltering?: boolean;
|
1670
|
+
sampleUnfiltered?: boolean;
|
1671
|
+
enableMPR?: boolean;
|
1672
|
+
enable3D?: boolean;
|
1673
|
+
};
|
1674
|
+
type GetEntity_volume_material_ref = {
|
1675
|
+
volume_material_ref: GetEntity_VolumeMaterialReference;
|
1676
|
+
};
|
1677
|
+
type GetEntity_VolumeMaterialReference = {
|
1678
|
+
value: string;
|
1679
|
+
};
|
1680
|
+
type GetEntity_volume_ref = {
|
1681
|
+
volume_ref: GetEntity_VolumeReference;
|
1682
|
+
};
|
1683
|
+
type GetEntity_VolumeReference = {
|
1684
|
+
texture3dRef: string;
|
1685
|
+
};
|
1686
|
+
type GetEntity_Entity = {
|
1687
|
+
euid: GetEntity_EntityUid;
|
1688
|
+
};
|
1689
|
+
type GetEntity_EntityUid = {
|
1003
1690
|
value: string;
|
1004
1691
|
};
|
1005
1692
|
declare function getEntity({ scene_id, entity_id, compute_global_transform }: {
|
1006
1693
|
scene_id: string;
|
1007
1694
|
entity_id: string;
|
1008
1695
|
compute_global_transform?: boolean;
|
1009
|
-
}): AxiosPromise<
|
1696
|
+
}): AxiosPromise<(GetEntity_animation_controller | GetEntity_bone | GetEntity_box_geometry | GetEntity_camera | GetEntity_capsule_geometry | GetEntity_character_controller | GetEntity_collision_geometry_ref | GetEntity_cylinder_geometry | GetEntity_debug_name | GetEntity_decal_projector | GetEntity_environment | GetEntity_joint | GetEntity_lineage | GetEntity_local_aabb | GetEntity_local_transform | GetEntity_material | GetEntity_material_ref | GetEntity_mesh_ref | GetEntity_orthographic_lens | GetEntity_overrider | GetEntity_perspective_lens | GetEntity_physics_material | GetEntity_plane_geometry | GetEntity_point_cloud_ref | GetEntity_point_light | GetEntity_reflection_probe | GetEntity_revolute_joint | GetEntity_rigid_body | GetEntity_scene_ref | GetEntity_script_element | GetEntity_script_map | GetEntity_shadow_caster | GetEntity_entity_components_skeleton_ref | GetEntity_sound_ref | GetEntity_sphere_geometry | GetEntity_spot_light | GetEntity_stereoscopic_lens | GetEntity_tags | GetEntity_volume_filter | GetEntity_volume_material_ref | GetEntity_volume_ref) & GetEntity_Entity>;
|
1697
|
+
type UpdateEntity_animation_controller = {
|
1698
|
+
animation_controller: UpdateEntity_AnimationController;
|
1699
|
+
};
|
1700
|
+
type UpdateEntity_AnimationController = {
|
1701
|
+
animationGraphRef: string;
|
1702
|
+
animationSetRef: string;
|
1703
|
+
dataJSON: UpdateEntity_Json;
|
1704
|
+
rootBoneEntityRef: UpdateEntity_EntityReference;
|
1705
|
+
rootMotionEnabled: boolean;
|
1706
|
+
};
|
1707
|
+
type UpdateEntity_Json = {
|
1708
|
+
json: UpdateEntity_Json;
|
1709
|
+
};
|
1710
|
+
type UpdateEntity_EntityReference = {
|
1711
|
+
originalEUID: string;
|
1712
|
+
linkage: Array<string>;
|
1713
|
+
};
|
1714
|
+
type UpdateEntity_bone = {
|
1715
|
+
bone: UpdateEntity_Bone;
|
1716
|
+
};
|
1717
|
+
type UpdateEntity_Bone = {
|
1718
|
+
boneIndex: number;
|
1719
|
+
};
|
1720
|
+
type UpdateEntity_box_geometry = {
|
1721
|
+
box_geometry: UpdateEntity_BoxGeometry;
|
1722
|
+
};
|
1723
|
+
type UpdateEntity_BoxGeometry = {
|
1724
|
+
dimension?: Array<number>;
|
1725
|
+
isAdditive?: boolean;
|
1726
|
+
offset?: Array<number>;
|
1727
|
+
};
|
1728
|
+
type UpdateEntity_camera = {
|
1729
|
+
camera: UpdateEntity_Camera;
|
1730
|
+
};
|
1731
|
+
type UpdateEntity_Camera = {
|
1732
|
+
renderGraphRef: string;
|
1733
|
+
renderTargetIndex?: number;
|
1734
|
+
dataJSON: UpdateEntity_Json;
|
1735
|
+
};
|
1736
|
+
type UpdateEntity_capsule_geometry = {
|
1737
|
+
capsule_geometry: UpdateEntity_CapsuleGeometry;
|
1738
|
+
};
|
1739
|
+
type UpdateEntity_CapsuleGeometry = {
|
1740
|
+
radius?: number;
|
1741
|
+
height?: number;
|
1742
|
+
axis?: number;
|
1743
|
+
isAdditive?: boolean;
|
1744
|
+
offset?: Array<number>;
|
1745
|
+
};
|
1746
|
+
type UpdateEntity_character_controller = {
|
1747
|
+
character_controller: UpdateEntity_CharacterController;
|
1748
|
+
};
|
1749
|
+
type UpdateEntity_CharacterController = {
|
1750
|
+
stepOffset?: number;
|
1751
|
+
slopeLimit?: number;
|
1752
|
+
skinWidth?: number;
|
1753
|
+
velocity?: Array<number>;
|
1754
|
+
};
|
1755
|
+
type UpdateEntity_collision_geometry_ref = {
|
1756
|
+
collision_geometry_ref: UpdateEntity_CollisionGeometryRef;
|
1757
|
+
};
|
1758
|
+
type UpdateEntity_CollisionGeometryRef = {
|
1759
|
+
collisionGeometryRef: string;
|
1760
|
+
};
|
1761
|
+
type UpdateEntity_cylinder_geometry = {
|
1762
|
+
cylinder_geometry: UpdateEntity_CylinderGeometry;
|
1763
|
+
};
|
1764
|
+
type UpdateEntity_CylinderGeometry = {
|
1765
|
+
radius?: number;
|
1766
|
+
height?: number;
|
1767
|
+
axis?: number;
|
1768
|
+
isAdditive?: boolean;
|
1769
|
+
offset?: Array<number>;
|
1770
|
+
};
|
1771
|
+
type UpdateEntity_debug_name = {
|
1772
|
+
debug_name: UpdateEntity_Name;
|
1773
|
+
};
|
1774
|
+
type UpdateEntity_Name = {
|
1775
|
+
value: string;
|
1776
|
+
};
|
1777
|
+
type UpdateEntity_decal_projector = {
|
1778
|
+
decal_projector: UpdateEntity_DecalProjector;
|
1779
|
+
};
|
1780
|
+
type UpdateEntity_DecalProjector = {
|
1781
|
+
zIndex?: number;
|
1782
|
+
};
|
1783
|
+
type UpdateEntity_environment = {
|
1784
|
+
environment: UpdateEntity_Environment;
|
1785
|
+
};
|
1786
|
+
type UpdateEntity_Environment = {
|
1787
|
+
skyboxUUID: string;
|
1788
|
+
radianceUUID: string;
|
1789
|
+
irradianceUUID: string;
|
1790
|
+
};
|
1791
|
+
type UpdateEntity_joint = {
|
1792
|
+
joint: UpdateEntity_Joint;
|
1793
|
+
};
|
1794
|
+
type UpdateEntity_Joint = {
|
1795
|
+
constrainee: UpdateEntity_EntityReference;
|
1796
|
+
constrainer: UpdateEntity_EntityReference;
|
1797
|
+
breakForce?: number;
|
1798
|
+
breakTorque?: number;
|
1799
|
+
};
|
1800
|
+
type UpdateEntity_lineage = {
|
1801
|
+
lineage: UpdateEntity_Lineage;
|
1802
|
+
};
|
1803
|
+
type UpdateEntity_Lineage = {
|
1804
|
+
parentUUID: string;
|
1805
|
+
ordinal?: number;
|
1806
|
+
};
|
1807
|
+
type UpdateEntity_local_aabb = {
|
1808
|
+
local_aabb: UpdateEntity_LocalAxisAlignedBoundingBox;
|
1809
|
+
};
|
1810
|
+
type UpdateEntity_LocalAxisAlignedBoundingBox = {
|
1811
|
+
min: Array<number>;
|
1812
|
+
max: Array<number>;
|
1813
|
+
};
|
1814
|
+
type UpdateEntity_local_transform = {
|
1815
|
+
local_transform: UpdateEntity_Transform;
|
1816
|
+
};
|
1817
|
+
type UpdateEntity_Transform = {
|
1818
|
+
position?: Array<number>;
|
1819
|
+
orientation?: Array<number>;
|
1820
|
+
scale?: Array<number>;
|
1821
|
+
eulerOrientation?: Array<number>;
|
1822
|
+
globalEulerOrientation?: Array<number>;
|
1823
|
+
};
|
1824
|
+
type UpdateEntity_material = {
|
1825
|
+
material: UpdateEntity_Material;
|
1826
|
+
};
|
1827
|
+
type UpdateEntity_Material = {
|
1828
|
+
shaderRef: string;
|
1829
|
+
transparencyMode: number;
|
1830
|
+
isDoubleSided: boolean;
|
1831
|
+
dataJSON: UpdateEntity_Json;
|
1832
|
+
};
|
1833
|
+
type UpdateEntity_material_ref = {
|
1834
|
+
material_ref: UpdateEntity_MaterialReference;
|
1835
|
+
};
|
1836
|
+
type UpdateEntity_MaterialReference = {
|
1837
|
+
value: string;
|
1838
|
+
faceCulling?: number;
|
1839
|
+
};
|
1840
|
+
type UpdateEntity_mesh_ref = {
|
1841
|
+
mesh_ref: UpdateEntity_MeshReference;
|
1842
|
+
};
|
1843
|
+
type UpdateEntity_MeshReference = {
|
1844
|
+
value: string;
|
1845
|
+
submeshIndex?: number;
|
1846
|
+
};
|
1847
|
+
type UpdateEntity_orthographic_lens = {
|
1848
|
+
orthographic_lens: UpdateEntity_OrthographicLens;
|
1849
|
+
};
|
1850
|
+
type UpdateEntity_OrthographicLens = {
|
1851
|
+
left?: number;
|
1852
|
+
right?: number;
|
1853
|
+
top?: number;
|
1854
|
+
bottom?: number;
|
1855
|
+
zNear?: number;
|
1856
|
+
zFar?: number;
|
1857
|
+
};
|
1858
|
+
type UpdateEntity_overrider = {
|
1859
|
+
overrider: UpdateEntity_Overrider;
|
1860
|
+
};
|
1861
|
+
type UpdateEntity_Overrider = {
|
1862
|
+
deleter?: boolean;
|
1863
|
+
entityRef: UpdateEntity_EntityReference;
|
1864
|
+
componentsToDetach: Array<number>;
|
1865
|
+
};
|
1866
|
+
type UpdateEntity_perspective_lens = {
|
1867
|
+
perspective_lens: UpdateEntity_PerspectiveLens;
|
1868
|
+
};
|
1869
|
+
type UpdateEntity_PerspectiveLens = {
|
1870
|
+
aspectRatio?: number;
|
1871
|
+
fovy?: number;
|
1872
|
+
nearPlane?: number;
|
1873
|
+
farPlane?: number;
|
1874
|
+
};
|
1875
|
+
type UpdateEntity_physics_material = {
|
1876
|
+
physics_material: UpdateEntity_PhysicsMaterial;
|
1877
|
+
};
|
1878
|
+
type UpdateEntity_PhysicsMaterial = {
|
1879
|
+
staticFriction?: number;
|
1880
|
+
dynamicFriction?: number;
|
1881
|
+
restitution?: number;
|
1882
|
+
isTrigger?: boolean;
|
1883
|
+
};
|
1884
|
+
type UpdateEntity_plane_geometry = {
|
1885
|
+
plane_geometry: UpdateEntity_PlaneGeometry;
|
1886
|
+
};
|
1887
|
+
type UpdateEntity_PlaneGeometry = {
|
1888
|
+
distance?: number;
|
1889
|
+
normal?: Array<number>;
|
1890
|
+
};
|
1891
|
+
type UpdateEntity_point_cloud_ref = {
|
1892
|
+
point_cloud_ref: UpdateEntity_PointCloudReference;
|
1893
|
+
};
|
1894
|
+
type UpdateEntity_PointCloudReference = {
|
1895
|
+
value: string;
|
1896
|
+
};
|
1897
|
+
type UpdateEntity_point_light = {
|
1898
|
+
point_light: UpdateEntity_Light;
|
1899
|
+
};
|
1900
|
+
type UpdateEntity_Light = {
|
1901
|
+
color?: Array<number>;
|
1902
|
+
intensity?: number;
|
1903
|
+
range?: number;
|
1904
|
+
isDirectional?: boolean;
|
1905
|
+
isSun?: boolean;
|
1906
|
+
};
|
1907
|
+
type UpdateEntity_reflection_probe = {
|
1908
|
+
reflection_probe: UpdateEntity_ReflectionProbe;
|
1909
|
+
};
|
1910
|
+
type UpdateEntity_ReflectionProbe = {
|
1911
|
+
offset?: Array<number>;
|
1912
|
+
nearDist?: number;
|
1913
|
+
farDist?: number;
|
1914
|
+
quality?: number;
|
1915
|
+
};
|
1916
|
+
type UpdateEntity_revolute_joint = {
|
1917
|
+
revolute_joint: UpdateEntity_RevoluteJoint;
|
1918
|
+
};
|
1919
|
+
type UpdateEntity_RevoluteJoint = {
|
1920
|
+
axis?: Array<number>;
|
1921
|
+
anchor?: Array<number>;
|
1922
|
+
};
|
1923
|
+
type UpdateEntity_rigid_body = {
|
1924
|
+
rigid_body: UpdateEntity_RigidBody;
|
1925
|
+
};
|
1926
|
+
type UpdateEntity_RigidBody = {
|
1927
|
+
mass?: number;
|
1928
|
+
linearDamping?: number;
|
1929
|
+
angularDamping?: number;
|
1930
|
+
friction?: number;
|
1931
|
+
rollingFriction?: number;
|
1932
|
+
spinningFriction?: number;
|
1933
|
+
restitution?: number;
|
1934
|
+
linearSleepingThreshold?: number;
|
1935
|
+
angularSleepingThreshold?: number;
|
1936
|
+
isKinematic?: boolean;
|
1937
|
+
};
|
1938
|
+
type UpdateEntity_scene_ref = {
|
1939
|
+
scene_ref: UpdateEntity_SceneReference;
|
1940
|
+
};
|
1941
|
+
type UpdateEntity_SceneReference = {
|
1942
|
+
value: string;
|
1943
|
+
maxRecursionCount?: number;
|
1944
|
+
};
|
1945
|
+
type UpdateEntity_script_element = {
|
1946
|
+
script_element: UpdateEntity_ScriptElement;
|
1947
|
+
};
|
1948
|
+
type UpdateEntity_ScriptElement = {
|
1949
|
+
scriptRef: string;
|
1950
|
+
dataJSON: UpdateEntity_Json;
|
1951
|
+
};
|
1952
|
+
type UpdateEntity_script_map = {
|
1953
|
+
script_map: UpdateEntity_ScriptMap;
|
1954
|
+
};
|
1955
|
+
type UpdateEntity_ScriptMap = {
|
1956
|
+
elements: UpdateEntity_MapScriptElement;
|
1957
|
+
};
|
1958
|
+
type UpdateEntity_MapScriptElement = {
|
1959
|
+
mapScriptElement: UpdateEntity_MapScriptElement;
|
1960
|
+
};
|
1961
|
+
type UpdateEntity_shadow_caster = {
|
1962
|
+
shadow_caster: UpdateEntity_ShadowCaster;
|
1963
|
+
};
|
1964
|
+
type UpdateEntity_ShadowCaster = {
|
1965
|
+
bias?: number;
|
1966
|
+
nearDist?: number;
|
1967
|
+
farDist?: number;
|
1968
|
+
quality?: number;
|
1969
|
+
accumulateShadowCascades?: boolean;
|
1970
|
+
};
|
1971
|
+
type UpdateEntity_entity_components_skeleton_ref = {
|
1972
|
+
skeleton_ref: UpdateEntity_SkeletonReference;
|
1973
|
+
};
|
1974
|
+
type UpdateEntity_SkeletonReference = {
|
1975
|
+
value: string;
|
1976
|
+
};
|
1977
|
+
type UpdateEntity_sound_ref = {
|
1978
|
+
sound_ref: UpdateEntity_SoundReference;
|
1979
|
+
};
|
1980
|
+
type UpdateEntity_SoundReference = {
|
1981
|
+
value: string;
|
1982
|
+
volume?: number;
|
1983
|
+
pan?: number;
|
1984
|
+
playSpeed?: number;
|
1985
|
+
looping?: boolean;
|
1986
|
+
};
|
1987
|
+
type UpdateEntity_sphere_geometry = {
|
1988
|
+
sphere_geometry: UpdateEntity_SphereGeometry;
|
1989
|
+
};
|
1990
|
+
type UpdateEntity_SphereGeometry = {
|
1991
|
+
radius?: number;
|
1992
|
+
isAdditive?: boolean;
|
1993
|
+
offset?: Array<number>;
|
1994
|
+
};
|
1995
|
+
type UpdateEntity_spot_light = {
|
1996
|
+
spot_light: UpdateEntity_SpotLight;
|
1997
|
+
};
|
1998
|
+
type UpdateEntity_SpotLight = {
|
1999
|
+
cutoff?: number;
|
2000
|
+
IESProfile: string;
|
2001
|
+
};
|
2002
|
+
type UpdateEntity_stereoscopic_lens = {
|
2003
|
+
stereoscopic_lens: UpdateEntity_StereoscopicPerspectiveLens;
|
2004
|
+
};
|
2005
|
+
type UpdateEntity_StereoscopicPerspectiveLens = {
|
2006
|
+
angleLeft?: number;
|
2007
|
+
angleRight?: number;
|
2008
|
+
angleUp?: number;
|
2009
|
+
angleDown?: number;
|
2010
|
+
nearPlane?: number;
|
2011
|
+
farPlane?: number;
|
2012
|
+
aspectRatio?: number;
|
2013
|
+
};
|
2014
|
+
type UpdateEntity_tags = {
|
2015
|
+
tags: UpdateEntity_Tags;
|
2016
|
+
};
|
2017
|
+
type UpdateEntity_Tags = {
|
2018
|
+
value: Array<string>;
|
2019
|
+
};
|
2020
|
+
type UpdateEntity_volume_filter = {
|
2021
|
+
volume_filter: UpdateEntity_VolumeFilter;
|
2022
|
+
};
|
2023
|
+
type UpdateEntity_VolumeFilter = {
|
2024
|
+
range?: Array<number>;
|
2025
|
+
applyGaussianFiltering?: boolean;
|
2026
|
+
sampleUnfiltered?: boolean;
|
2027
|
+
enableMPR?: boolean;
|
2028
|
+
enable3D?: boolean;
|
2029
|
+
};
|
2030
|
+
type UpdateEntity_volume_material_ref = {
|
2031
|
+
volume_material_ref: UpdateEntity_VolumeMaterialReference;
|
2032
|
+
};
|
2033
|
+
type UpdateEntity_VolumeMaterialReference = {
|
2034
|
+
value: string;
|
2035
|
+
};
|
2036
|
+
type UpdateEntity_volume_ref = {
|
2037
|
+
volume_ref: UpdateEntity_VolumeReference;
|
2038
|
+
};
|
2039
|
+
type UpdateEntity_VolumeReference = {
|
2040
|
+
texture3dRef: string;
|
2041
|
+
};
|
2042
|
+
type UpdateEntity_Entity = {
|
2043
|
+
euid: UpdateEntity_EntityUid;
|
2044
|
+
};
|
2045
|
+
type UpdateEntity_EntityUid = {
|
2046
|
+
value: string;
|
2047
|
+
};
|
2048
|
+
declare function updateEntity({ scene_id, entity_id, entity }: {
|
2049
|
+
scene_id: string;
|
2050
|
+
entity_id: string;
|
2051
|
+
entity: (UpdateEntity_animation_controller | UpdateEntity_bone | UpdateEntity_box_geometry | UpdateEntity_camera | UpdateEntity_capsule_geometry | UpdateEntity_character_controller | UpdateEntity_collision_geometry_ref | UpdateEntity_cylinder_geometry | UpdateEntity_debug_name | UpdateEntity_decal_projector | UpdateEntity_environment | UpdateEntity_joint | UpdateEntity_lineage | UpdateEntity_local_aabb | UpdateEntity_local_transform | UpdateEntity_material | UpdateEntity_material_ref | UpdateEntity_mesh_ref | UpdateEntity_orthographic_lens | UpdateEntity_overrider | UpdateEntity_perspective_lens | UpdateEntity_physics_material | UpdateEntity_plane_geometry | UpdateEntity_point_cloud_ref | UpdateEntity_point_light | UpdateEntity_reflection_probe | UpdateEntity_revolute_joint | UpdateEntity_rigid_body | UpdateEntity_scene_ref | UpdateEntity_script_element | UpdateEntity_script_map | UpdateEntity_shadow_caster | UpdateEntity_entity_components_skeleton_ref | UpdateEntity_sound_ref | UpdateEntity_sphere_geometry | UpdateEntity_spot_light | UpdateEntity_stereoscopic_lens | UpdateEntity_tags | UpdateEntity_volume_filter | UpdateEntity_volume_material_ref | UpdateEntity_volume_ref) & UpdateEntity_Entity;
|
2052
|
+
}): Promise<axios.AxiosResponse<any, any>>;
|
2053
|
+
declare function deleteEntity({ scene_id, entity_id }: {
|
2054
|
+
scene_id: string;
|
2055
|
+
entity_id: string;
|
2056
|
+
}): Promise<axios.AxiosResponse<any, any>>;
|
1010
2057
|
type CreateSession_Object = {
|
1011
2058
|
session_id?: string;
|
1012
2059
|
};
|
@@ -1027,7 +2074,7 @@ type GetSession_Session = {
|
|
1027
2074
|
};
|
1028
2075
|
type GetSession_UserInfo = {
|
1029
2076
|
client_id?: string;
|
1030
|
-
client_type?: 'user' | 'guest'
|
2077
|
+
client_type?: StrictUnion<'user' | 'guest'>;
|
1031
2078
|
user_id: string;
|
1032
2079
|
username: string;
|
1033
2080
|
};
|
@@ -1053,9 +2100,39 @@ declare function kickClientFromSession({ session_id, client_id }: {
|
|
1053
2100
|
session_id: string;
|
1054
2101
|
client_id: string;
|
1055
2102
|
}): Promise<axios.AxiosResponse<any, any>>;
|
2103
|
+
type JoinSessionAsGuest_SessionToken = {
|
2104
|
+
session_token?: string;
|
2105
|
+
endpoint_info?: JoinSessionAsGuest_Object;
|
2106
|
+
};
|
2107
|
+
type JoinSessionAsGuest_Object = {
|
2108
|
+
ip?: string;
|
2109
|
+
port?: number;
|
2110
|
+
ssl_port?: number;
|
2111
|
+
};
|
2112
|
+
declare function joinSessionAsGuest(): AxiosPromise<JoinSessionAsGuest_SessionToken>;
|
2113
|
+
type GenerateGuestToken_GuestToken = {
|
2114
|
+
guest_token?: string;
|
2115
|
+
};
|
2116
|
+
declare function generateGuestToken({ session_id }: {
|
2117
|
+
session_id: string;
|
2118
|
+
}): AxiosPromise<GenerateGuestToken_GuestToken>;
|
1056
2119
|
|
1057
2120
|
declare function setApiKey(apiKey: string): void;
|
1058
2121
|
declare function setUserToken(userToken: string): void;
|
1059
2122
|
declare function setBaseUrl(url: string): void;
|
2123
|
+
declare abstract class ServiceError extends Error {
|
2124
|
+
errorCode: number;
|
2125
|
+
httpCode: number;
|
2126
|
+
message: string;
|
2127
|
+
constructor(errorCode: number, httpCode: number, message: string);
|
2128
|
+
}
|
2129
|
+
declare class ApiError extends ServiceError {
|
2130
|
+
serviceError: unknown;
|
2131
|
+
constructor(errorCode: number, status: number, message: string, serviceError: unknown);
|
2132
|
+
}
|
2133
|
+
declare class UnexpectedServiceError extends ServiceError {
|
2134
|
+
unexpectedError: unknown;
|
2135
|
+
constructor(status: number, unexpectedError: unknown);
|
2136
|
+
}
|
1060
2137
|
|
1061
|
-
export { ApiError, CreateAsset_AssetDescription, CreateAsset_Object, CreateAsset_asset_item, CreateFolder_Folder, CreateFolder_Folder_Writable, CreateFolder_Object, CreateGroup_GroupMember_GroupAccess, CreateGroup_GroupMember_GroupAccess_Writable, CreateGroup_Group_GroupInfo, CreateSession_Object, CreateSubfolder_Folder, CreateSubfolder_Folder_Writable, CreateSubfolder_Object, DeleteUser_Object, GenerateUserToken_Token, GetAssetCustomTypes_Object, GetAssetDependencies_Object, GetAssetDependencies_asset_item, GetAssetDependencies_asset_list, GetAssetDescription_Object, GetAssetDescription_VkAttachmentDescription, GetAssetDescription_VkAttachmentReference, GetAssetDescription_VkPipelineColorBlendAttachmentState, GetAssetDescription_VkStencilOpState, GetAssetDescription_animation_asset_schema, GetAssetDescription_animation_event, GetAssetDescription_animation_graph_asset_schema, GetAssetDescription_animation_node_description, GetAssetDescription_animation_sequence_asset_schema, GetAssetDescription_animation_sequence_instance, GetAssetDescription_animation_set_asset_schema, GetAssetDescription_animation_state_description, GetAssetDescription_animation_state_machine_description, GetAssetDescription_animation_state_machine_settings, GetAssetDescription_blend_axis, GetAssetDescription_blend_settings, GetAssetDescription_blendspace_1d_settings_animation_settings, GetAssetDescription_blendspace_2d_settings_animation_settings, GetAssetDescription_bone_description, GetAssetDescription_channel_description, GetAssetDescription_control_point, GetAssetDescription_cubemap_asset_schema, GetAssetDescription_event_map_asset_schema, GetAssetDescription_ik_aim_settings, GetAssetDescription_ik_two_bone_settings, GetAssetDescription_material_asset_schema, GetAssetDescription_mesh_asset_schema, GetAssetDescription_mip_description, GetAssetDescription_node_data_description, GetAssetDescription_pair_int16_int16, GetAssetDescription_playback_settings_animation_settings, GetAssetDescription_point_cloud_asset_schema, GetAssetDescription_random_settings, GetAssetDescription_render_graph_asset_schema, GetAssetDescription_render_pass_description, GetAssetDescription_render_target_description, GetAssetDescription_scene_asset_schema, GetAssetDescription_script_asset_schema, GetAssetDescription_shader_asset_schema, GetAssetDescription_shader_module_description, GetAssetDescription_skeleton_asset_schema, GetAssetDescription_sound_asset_schema, GetAssetDescription_submesh_description, GetAssetDescription_texture_asset_schema, GetAssetDescription_transition_description, GetAssetDescription_vec4, GetAssetDescription_vertex_attribute_descriptor, GetAssetDescription_volume_material_asset_schema, GetAssetDetails_Object, GetAssetDetails_UserContribution, GetAssetDetails_asset_details, GetAssetFolder_Folder, GetAssetFolder_Object, GetAssetHistory_Object, GetAssetMeta_Object, GetAssetReferences_Object, GetAssetSourceFile_SourceFile, GetEntity_Object, GetEntity_entity_euid, GetFolderAssets_asset_item, GetFolderAssets_asset_list, GetFolderInfo_Folder, GetFolderInfo_Object, GetGroup_GroupMember_GroupAccess, GetGroup_Group_GroupInfo, GetSceneAabb_Object, GetSceneSessions_Session, GetSceneSessions_UserInfo, GetSession_Session, GetSession_UserInfo, GetSessionsInFolder_Session, GetSessionsInFolder_UserInfo, GetSourceFileAssets_asset_item, GetSourceFileAssets_asset_list, GetSourceFileDetails_SourceFile, GetSourceFilesInFolder_SourceFile, GetUploadTask_ConversionTask, GetUploadTask_UploadTask, GetUploadTasksInFolder_ConversionTask, GetUploadTasksInFolder_UploadTask, GetUserGroups_GroupMember_GroupAccess, GetUserGroups_Group_GroupInfo, GetUserUploadTasks_ConversionTask, GetUserUploadTasks_UploadTask, GetUser_User_UserInfo, JoinSession_Object, JoinSession_SessionToken, ListAssets_asset_item, ListAssets_asset_list, ListFolderAccesses_GroupInfo_FolderAccess, ListFolderAccesses_Object, ListFolderAccesses_UserInfo_FolderAccess, ListFolderSubFolders_Folder, ListFolderSubFolders_Object, ListFolders_Folder, ListFolders_Object, ListSourceFiles_SourceFile, ListUsers_User_UserInfo, RegisterUser_User_UserInfo, UploadSourceFiles_Object, axiosInstance, createAsset, createFolder, createGroup, createSession, createSubfolder, deleteAsset, deleteAssets, deleteFolder, deleteGroup, deleteSourceFiles, deleteUser, downloadSourceFile, exportAsset, generateUserToken, getAssetCode, getAssetCustomTypes, getAssetDependencies, getAssetDescription, getAssetDetails, getAssetFolder, getAssetHistory, getAssetMeta, getAssetPayload, getAssetReferences, getAssetSourceFile, getAssetThumbnail, getEntity, getFolderAssets, getFolderInfo, getGroup, getSceneAABB, getSceneSessions, getSession, getSessionsInFolder, getSourceFileAssets, getSourceFileDetails, getSourceFilesInFolder, getUploadTask, getUploadTasksInFolder, getUser, getUserGroups, getUserUploadTasks, grantMemberAccessToFolder, grantMemberAccessToGroup, joinSession, kickClientFromSession, killSession, listAssets, listFolderAccesses, listFolderSubFolders, listFolders, listSourceFiles, listUsers, moveAssets, moveFolders, moveSourceFiles, packageAsset, registerUser, revokeMemberAccessToFolder, revokeMemberAccessToGroup, setApiKey, setAssetThumbnail, setBaseURL, setBaseUrl, setUserToken, updateAssetDescription, updateFolder, updateGroupDescription, updateSourceFileDetails, updateUser, uploadSourceFiles };
|
2138
|
+
export { ApiError, CreateAsset_AssetDescription, CreateAsset_Object, CreateAsset_asset_item, CreateFolder_Folder, CreateFolder_Folder_Writable, CreateFolder_Object, CreateGroup_GroupMember_GroupAccess, CreateGroup_GroupMember_GroupAccess_Writable, CreateGroup_Group_GroupInfo, CreateSession_Object, CreateSubfolder_Folder, CreateSubfolder_Folder_Writable, CreateSubfolder_Object, DeleteUser_Object, GenerateGuestToken_GuestToken, GenerateUserToken_Token, GetAssetCustomTypes_Object, GetAssetDependencies_Filter, GetAssetDependencies_Flat, GetAssetDependencies_asset_item, GetAssetDescription_Animation, GetAssetDescription_AnimationGraph, GetAssetDescription_AnimationSequence, GetAssetDescription_AnimationSet, GetAssetDescription_Cubemap, GetAssetDescription_EventMap, GetAssetDescription_Material, GetAssetDescription_Mesh, GetAssetDescription_Object, GetAssetDescription_PointCloud, GetAssetDescription_RenderGraph, GetAssetDescription_Scene, GetAssetDescription_Script, GetAssetDescription_Shader, GetAssetDescription_Skeleton, GetAssetDescription_Sound, GetAssetDescription_Texture, GetAssetDescription_VkAttachmentDescription, GetAssetDescription_VkAttachmentReference, GetAssetDescription_VkPipelineColorBlendAttachmentState, GetAssetDescription_VkStencilOpState, GetAssetDescription_VolumeMaterial, GetAssetDescription_animation_event, GetAssetDescription_animation_node_description, GetAssetDescription_animation_sequence_instance, GetAssetDescription_animation_state_description, GetAssetDescription_animation_state_machine_description, GetAssetDescription_animation_state_machine_settings, GetAssetDescription_asset_description, GetAssetDescription_blend_axis, GetAssetDescription_blend_settings, GetAssetDescription_blendspace_1d_settings_animation_settings, GetAssetDescription_blendspace_2d_settings_animation_settings, GetAssetDescription_bone_description, GetAssetDescription_channel_description, GetAssetDescription_control_point, GetAssetDescription_ik_aim_settings, GetAssetDescription_ik_two_bone_settings, GetAssetDescription_mip_description, GetAssetDescription_node_data_description, GetAssetDescription_pair_int16_int16, GetAssetDescription_playback_settings_animation_settings, GetAssetDescription_random_settings, GetAssetDescription_render_pass_description, GetAssetDescription_render_target_description, GetAssetDescription_shader_module_description, GetAssetDescription_submesh_description, GetAssetDescription_transition_description, GetAssetDescription_vec4, GetAssetDescription_vertex_attribute_descriptor, GetAssetDetails_Object, GetAssetDetails_UserContribution, GetAssetDetails_asset_details, GetAssetFolder_Folder, GetAssetFolder_Object, GetAssetHistory_Object, GetAssetMeta_Object, GetAssetReferences_Object, GetAssetSourceFile_SourceFile, GetEntity_AnimationController, GetEntity_Bone, GetEntity_BoxGeometry, GetEntity_Camera, GetEntity_CapsuleGeometry, GetEntity_CharacterController, GetEntity_CollisionGeometryRef, GetEntity_CylinderGeometry, GetEntity_DecalProjector, GetEntity_Entity, GetEntity_EntityReference, GetEntity_EntityUid, GetEntity_Environment, GetEntity_Joint, GetEntity_Json, GetEntity_Light, GetEntity_Lineage, GetEntity_LocalAxisAlignedBoundingBox, GetEntity_MapScriptElement, GetEntity_Material, GetEntity_MaterialReference, GetEntity_MeshReference, GetEntity_Name, GetEntity_OrthographicLens, GetEntity_Overrider, GetEntity_PerspectiveLens, GetEntity_PhysicsMaterial, GetEntity_PlaneGeometry, GetEntity_PointCloudReference, GetEntity_ReflectionProbe, GetEntity_RevoluteJoint, GetEntity_RigidBody, GetEntity_SceneReference, GetEntity_ScriptElement, GetEntity_ScriptMap, GetEntity_ShadowCaster, GetEntity_SkeletonReference, GetEntity_SoundReference, GetEntity_SphereGeometry, GetEntity_SpotLight, GetEntity_StereoscopicPerspectiveLens, GetEntity_Tags, GetEntity_Transform, GetEntity_VolumeFilter, GetEntity_VolumeMaterialReference, GetEntity_VolumeReference, GetEntity_animation_controller, GetEntity_bone, GetEntity_box_geometry, GetEntity_camera, GetEntity_capsule_geometry, GetEntity_character_controller, GetEntity_collision_geometry_ref, GetEntity_cylinder_geometry, GetEntity_debug_name, GetEntity_decal_projector, GetEntity_entity_components_skeleton_ref, GetEntity_environment, GetEntity_joint, GetEntity_lineage, GetEntity_local_aabb, GetEntity_local_transform, GetEntity_material, GetEntity_material_ref, GetEntity_mesh_ref, GetEntity_orthographic_lens, GetEntity_overrider, GetEntity_perspective_lens, GetEntity_physics_material, GetEntity_plane_geometry, GetEntity_point_cloud_ref, GetEntity_point_light, GetEntity_reflection_probe, GetEntity_revolute_joint, GetEntity_rigid_body, GetEntity_scene_ref, GetEntity_script_element, GetEntity_script_map, GetEntity_shadow_caster, GetEntity_sound_ref, GetEntity_sphere_geometry, GetEntity_spot_light, GetEntity_stereoscopic_lens, GetEntity_tags, GetEntity_volume_filter, GetEntity_volume_material_ref, GetEntity_volume_ref, GetFolderAssets_asset_item, GetFolderAssets_asset_list, GetFolderInfo_Folder, GetFolderInfo_Object, GetGroup_GroupMember_GroupAccess, GetGroup_Group_GroupInfo, GetSceneAabb_Object, GetSceneSessions_Session, GetSceneSessions_UserInfo, GetSession_Session, GetSession_UserInfo, GetSessionsInFolder_Session, GetSessionsInFolder_UserInfo, GetSourceFileAssets_asset_item, GetSourceFileAssets_asset_list, GetSourceFileDetails_SourceFile, GetSourceFilesInFolder_SourceFile, GetUploadTask_ConversionTask, GetUploadTask_UploadTask, GetUploadTasksInFolder_ConversionTask, GetUploadTasksInFolder_UploadTask, GetUserGroups_GroupMember_GroupAccess, GetUserGroups_Group_GroupInfo, GetUserUploadTasks_ConversionTask, GetUserUploadTasks_UploadTask, GetUser_User_UserInfo, JoinSessionAsGuest_Object, JoinSessionAsGuest_SessionToken, JoinSession_Object, JoinSession_SessionToken, ListAssets_asset_item, ListAssets_asset_list, ListFolderAccesses_GroupInfo_FolderAccess, ListFolderAccesses_Object, ListFolderAccesses_UserInfo_FolderAccess, ListFolderSubFolders_Folder, ListFolderSubFolders_Object, ListFolders_Folder, ListFolders_Object, ListSourceFiles_SourceFile, ListUsers_User_UserInfo, RegisterUser_User_UserInfo, UnexpectedServiceError, UpdateAssetDescription_Animation, UpdateAssetDescription_AnimationGraph, UpdateAssetDescription_AnimationSequence, UpdateAssetDescription_AnimationSet, UpdateAssetDescription_Cubemap, UpdateAssetDescription_EventMap, UpdateAssetDescription_Material, UpdateAssetDescription_Mesh, UpdateAssetDescription_Object, UpdateAssetDescription_PointCloud, UpdateAssetDescription_RenderGraph, UpdateAssetDescription_Scene, UpdateAssetDescription_Script, UpdateAssetDescription_Shader, UpdateAssetDescription_Skeleton, UpdateAssetDescription_Sound, UpdateAssetDescription_Texture, UpdateAssetDescription_VkAttachmentDescription, UpdateAssetDescription_VkAttachmentReference, UpdateAssetDescription_VkPipelineColorBlendAttachmentState, UpdateAssetDescription_VkStencilOpState, UpdateAssetDescription_VolumeMaterial, UpdateAssetDescription_animation_event, UpdateAssetDescription_animation_node_description, UpdateAssetDescription_animation_sequence_instance, UpdateAssetDescription_animation_state_description, UpdateAssetDescription_animation_state_machine_description, UpdateAssetDescription_animation_state_machine_settings, UpdateAssetDescription_blend_axis, UpdateAssetDescription_blend_settings, UpdateAssetDescription_blendspace_1d_settings_animation_settings, UpdateAssetDescription_blendspace_2d_settings_animation_settings, UpdateAssetDescription_bone_description, UpdateAssetDescription_channel_description, UpdateAssetDescription_control_point, UpdateAssetDescription_ik_aim_settings, UpdateAssetDescription_ik_two_bone_settings, UpdateAssetDescription_mip_description, UpdateAssetDescription_node_data_description, UpdateAssetDescription_pair_int16_int16, UpdateAssetDescription_playback_settings_animation_settings, UpdateAssetDescription_random_settings, UpdateAssetDescription_render_pass_description, UpdateAssetDescription_render_target_description, UpdateAssetDescription_shader_module_description, UpdateAssetDescription_submesh_description, UpdateAssetDescription_transition_description, UpdateAssetDescription_vec4, UpdateAssetDescription_vertex_attribute_descriptor, UpdateEntity_AnimationController, UpdateEntity_Bone, UpdateEntity_BoxGeometry, UpdateEntity_Camera, UpdateEntity_CapsuleGeometry, UpdateEntity_CharacterController, UpdateEntity_CollisionGeometryRef, UpdateEntity_CylinderGeometry, UpdateEntity_DecalProjector, UpdateEntity_Entity, UpdateEntity_EntityReference, UpdateEntity_EntityUid, UpdateEntity_Environment, UpdateEntity_Joint, UpdateEntity_Json, UpdateEntity_Light, UpdateEntity_Lineage, UpdateEntity_LocalAxisAlignedBoundingBox, UpdateEntity_MapScriptElement, UpdateEntity_Material, UpdateEntity_MaterialReference, UpdateEntity_MeshReference, UpdateEntity_Name, UpdateEntity_OrthographicLens, UpdateEntity_Overrider, UpdateEntity_PerspectiveLens, UpdateEntity_PhysicsMaterial, UpdateEntity_PlaneGeometry, UpdateEntity_PointCloudReference, UpdateEntity_ReflectionProbe, UpdateEntity_RevoluteJoint, UpdateEntity_RigidBody, UpdateEntity_SceneReference, UpdateEntity_ScriptElement, UpdateEntity_ScriptMap, UpdateEntity_ShadowCaster, UpdateEntity_SkeletonReference, UpdateEntity_SoundReference, UpdateEntity_SphereGeometry, UpdateEntity_SpotLight, UpdateEntity_StereoscopicPerspectiveLens, UpdateEntity_Tags, UpdateEntity_Transform, UpdateEntity_VolumeFilter, UpdateEntity_VolumeMaterialReference, UpdateEntity_VolumeReference, UpdateEntity_animation_controller, UpdateEntity_bone, UpdateEntity_box_geometry, UpdateEntity_camera, UpdateEntity_capsule_geometry, UpdateEntity_character_controller, UpdateEntity_collision_geometry_ref, UpdateEntity_cylinder_geometry, UpdateEntity_debug_name, UpdateEntity_decal_projector, UpdateEntity_entity_components_skeleton_ref, UpdateEntity_environment, UpdateEntity_joint, UpdateEntity_lineage, UpdateEntity_local_aabb, UpdateEntity_local_transform, UpdateEntity_material, UpdateEntity_material_ref, UpdateEntity_mesh_ref, UpdateEntity_orthographic_lens, UpdateEntity_overrider, UpdateEntity_perspective_lens, UpdateEntity_physics_material, UpdateEntity_plane_geometry, UpdateEntity_point_cloud_ref, UpdateEntity_point_light, UpdateEntity_reflection_probe, UpdateEntity_revolute_joint, UpdateEntity_rigid_body, UpdateEntity_scene_ref, UpdateEntity_script_element, UpdateEntity_script_map, UpdateEntity_shadow_caster, UpdateEntity_sound_ref, UpdateEntity_sphere_geometry, UpdateEntity_spot_light, UpdateEntity_stereoscopic_lens, UpdateEntity_tags, UpdateEntity_volume_filter, UpdateEntity_volume_material_ref, UpdateEntity_volume_ref, UploadSourceFiles_Object, axiosInstance, createAsset, createFolder, createGroup, createSession, createSubfolder, deleteAsset, deleteAssets, deleteEntity, deleteFolder, deleteGroup, deleteSourceFiles, deleteUser, downloadSourceFile, exportAsset, generateGuestToken, generateUserToken, getAssetCode, getAssetCustomTypes, getAssetDependencies, getAssetDescription, getAssetDetails, getAssetFolder, getAssetHistory, getAssetMeta, getAssetPayload, getAssetReferences, getAssetSourceFile, getAssetThumbnail, getEntity, getFolderAssets, getFolderInfo, getGroup, getSceneAABB, getSceneSessions, getSession, getSessionsInFolder, getSourceFileAssets, getSourceFileDetails, getSourceFilesInFolder, getUploadTask, getUploadTasksInFolder, getUser, getUserGroups, getUserUploadTasks, grantMemberAccessToFolder, grantMemberAccessToGroup, joinSession, joinSessionAsGuest, kickClientFromSession, killSession, listAssets, listFolderAccesses, listFolderSubFolders, listFolders, listSourceFiles, listUsers, moveAssets, moveFolders, moveSourceFiles, packageAsset, registerUser, revokeMemberAccessToFolder, revokeMemberAccessToGroup, setApiKey, setAssetThumbnail, setBaseURL, setBaseUrl, setUserToken, updateAssetDescription, updateEntity, updateFolder, updateGroupDescription, updateSourceFileDetails, updateUser, uploadSourceFiles };
|