@3dverse/api 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_prebuild/wrapper.d.ts +110 -152
- package/dist/index.js.map +2 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
|
@@ -633,13 +633,10 @@ export declare function getAssetDependencies({ asset_container, asset_id, format
|
|
|
633
633
|
depth?: StrictUnion<'all' | 'direct'>;
|
|
634
634
|
filter?: GetAssetDependencies_Filter;
|
|
635
635
|
}): AxiosPromise<StrictUnion<GetAssetDependencies_Flat | Array<Array<GetAssetDependencies_asset_item>>>>;
|
|
636
|
-
export type GetAssetReferences_Object = {
|
|
637
|
-
body: GetAssetReferences_Object;
|
|
638
|
-
};
|
|
639
636
|
export declare function getAssetReferences({ asset_container, asset_id }: {
|
|
640
637
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
|
641
638
|
asset_id: string;
|
|
642
|
-
}): AxiosPromise<
|
|
639
|
+
}): AxiosPromise<object>;
|
|
643
640
|
export type GetAssetDescription_Animation = {
|
|
644
641
|
durationInMs: number;
|
|
645
642
|
payloadSize: number;
|
|
@@ -657,7 +654,7 @@ export type GetAssetDescription_animation_event = {
|
|
|
657
654
|
};
|
|
658
655
|
export type GetAssetDescription_AnimationGraph = {
|
|
659
656
|
stateMachines?: Array<GetAssetDescription_animation_state_machine_description>;
|
|
660
|
-
inputDescriptor?:
|
|
657
|
+
inputDescriptor?: object;
|
|
661
658
|
};
|
|
662
659
|
export type GetAssetDescription_animation_state_machine_description = {
|
|
663
660
|
states?: Array<GetAssetDescription_animation_state_description>;
|
|
@@ -734,7 +731,7 @@ export type GetAssetDescription_transition_description = {
|
|
|
734
731
|
condition?: string;
|
|
735
732
|
};
|
|
736
733
|
export type GetAssetDescription_AnimationSequence = {
|
|
737
|
-
inputDescriptor:
|
|
734
|
+
inputDescriptor: object;
|
|
738
735
|
};
|
|
739
736
|
export type GetAssetDescription_AnimationSet = {
|
|
740
737
|
animationSet: Array<GetAssetDescription_Object>;
|
|
@@ -749,7 +746,7 @@ export type GetAssetDescription_EventMap = {
|
|
|
749
746
|
export type GetAssetDescription_Material = {
|
|
750
747
|
shaderRef: string;
|
|
751
748
|
skinnedShaderRef: string;
|
|
752
|
-
dataJson:
|
|
749
|
+
dataJson: object;
|
|
753
750
|
isDoubleSided: boolean;
|
|
754
751
|
};
|
|
755
752
|
export type GetAssetDescription_Mesh = {
|
|
@@ -757,7 +754,7 @@ export type GetAssetDescription_Mesh = {
|
|
|
757
754
|
payloadSize: number;
|
|
758
755
|
};
|
|
759
756
|
export type GetAssetDescription_submesh_description = {
|
|
760
|
-
boundingBox:
|
|
757
|
+
boundingBox: object;
|
|
761
758
|
channels: Array<GetAssetDescription_channel_description>;
|
|
762
759
|
payloadSize: number;
|
|
763
760
|
indexCount: number;
|
|
@@ -782,8 +779,8 @@ export type GetAssetDescription_RenderGraph = {
|
|
|
782
779
|
renderTargetDescriptions?: Array<GetAssetDescription_render_target_description>;
|
|
783
780
|
nodeDataDescriptions?: Array<GetAssetDescription_node_data_description>;
|
|
784
781
|
renderPassDescriptions?: Array<GetAssetDescription_render_pass_description>;
|
|
785
|
-
graphOrder?: Array<
|
|
786
|
-
inputDescriptor?:
|
|
782
|
+
graphOrder?: Array<object>;
|
|
783
|
+
inputDescriptor?: object;
|
|
787
784
|
stencilStates?: Array<GetAssetDescription_VkStencilOpState>;
|
|
788
785
|
blendStates?: Array<GetAssetDescription_VkPipelineColorBlendAttachmentState>;
|
|
789
786
|
defaultRenderTargetIndex?: number;
|
|
@@ -791,17 +788,17 @@ export type GetAssetDescription_RenderGraph = {
|
|
|
791
788
|
};
|
|
792
789
|
export type GetAssetDescription_render_target_description = {
|
|
793
790
|
name?: string;
|
|
794
|
-
format?:
|
|
795
|
-
sampleCount?:
|
|
796
|
-
usage?:
|
|
797
|
-
aspect?:
|
|
791
|
+
format?: object;
|
|
792
|
+
sampleCount?: object;
|
|
793
|
+
usage?: object;
|
|
794
|
+
aspect?: object;
|
|
798
795
|
samplerType?: number;
|
|
799
796
|
mipLevels?: number;
|
|
800
|
-
extent?:
|
|
801
|
-
flags?:
|
|
802
|
-
tiling?:
|
|
803
|
-
memoryUsage?:
|
|
804
|
-
memoryType?:
|
|
797
|
+
extent?: object;
|
|
798
|
+
flags?: object;
|
|
799
|
+
tiling?: object;
|
|
800
|
+
memoryUsage?: object;
|
|
801
|
+
memoryType?: object;
|
|
805
802
|
};
|
|
806
803
|
export type GetAssetDescription_node_data_description = {
|
|
807
804
|
name?: string;
|
|
@@ -810,20 +807,17 @@ export type GetAssetDescription_node_data_description = {
|
|
|
810
807
|
outputDepthRenderTargetIndices?: Array<number>;
|
|
811
808
|
inputRenderTargetIndices?: Array<number>;
|
|
812
809
|
outputRenderTargetIndices?: Array<number>;
|
|
813
|
-
shaderRef?:
|
|
814
|
-
dataJson?:
|
|
810
|
+
shaderRef?: object;
|
|
811
|
+
dataJson?: object;
|
|
815
812
|
aliases?: Array<any>;
|
|
816
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";
|
|
817
814
|
pipelineDescription?: GetAssetDescription_Object;
|
|
818
815
|
copyToFaceIndex?: number;
|
|
819
816
|
drawIndirect?: boolean;
|
|
820
817
|
conditions?: Array<string>;
|
|
821
|
-
clearColors?: Array<
|
|
818
|
+
clearColors?: Array<object>;
|
|
822
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]]";
|
|
823
820
|
};
|
|
824
|
-
export type GetAssetDescription_vec4 = {
|
|
825
|
-
body: GetAssetDescription_Object;
|
|
826
|
-
};
|
|
827
821
|
export type GetAssetDescription_render_pass_description = {
|
|
828
822
|
name?: string;
|
|
829
823
|
sampleCount?: number;
|
|
@@ -835,68 +829,62 @@ export type GetAssetDescription_render_pass_description = {
|
|
|
835
829
|
depthAttachmentReference?: GetAssetDescription_Object;
|
|
836
830
|
resolveAttachmentReferences?: Array<GetAssetDescription_VkAttachmentReference>;
|
|
837
831
|
attachmentDescriptions?: Array<GetAssetDescription_VkAttachmentDescription>;
|
|
838
|
-
attachmentClearColors?: Array<
|
|
832
|
+
attachmentClearColors?: Array<object>;
|
|
839
833
|
};
|
|
840
834
|
export type GetAssetDescription_VkAttachmentReference = {
|
|
841
835
|
attachment?: number;
|
|
842
|
-
layout?:
|
|
836
|
+
layout?: object;
|
|
843
837
|
};
|
|
844
838
|
export type GetAssetDescription_VkAttachmentDescription = {
|
|
845
|
-
flags?:
|
|
846
|
-
format?:
|
|
847
|
-
samples?:
|
|
848
|
-
loadOp?:
|
|
849
|
-
storeOp?:
|
|
850
|
-
stencilLoadOp?:
|
|
851
|
-
stencilStoreOp?:
|
|
852
|
-
initialLayout?:
|
|
853
|
-
finalLayout?:
|
|
854
|
-
};
|
|
855
|
-
export type GetAssetDescription_pair_int16_int16 = {
|
|
856
|
-
body: GetAssetDescription_Object;
|
|
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;
|
|
857
848
|
};
|
|
858
849
|
export type GetAssetDescription_VkStencilOpState = {
|
|
859
|
-
failOp?:
|
|
860
|
-
passOp?:
|
|
861
|
-
depthFailOp?:
|
|
862
|
-
compareOp?:
|
|
850
|
+
failOp?: object;
|
|
851
|
+
passOp?: object;
|
|
852
|
+
depthFailOp?: object;
|
|
853
|
+
compareOp?: object;
|
|
863
854
|
compareMask?: number;
|
|
864
855
|
writeMask?: number;
|
|
865
856
|
reference?: number;
|
|
866
857
|
};
|
|
867
858
|
export type GetAssetDescription_VkPipelineColorBlendAttachmentState = {
|
|
868
859
|
blendEnable?: boolean;
|
|
869
|
-
srcColorBlendFactor?:
|
|
870
|
-
dstColorBlendFactor?:
|
|
871
|
-
colorBlendOp?:
|
|
872
|
-
srcAlphaBlendFactor?:
|
|
873
|
-
dstAlphaBlendFactor?:
|
|
874
|
-
alphaBlendOp?:
|
|
875
|
-
colorWriteMask?:
|
|
860
|
+
srcColorBlendFactor?: object;
|
|
861
|
+
dstColorBlendFactor?: object;
|
|
862
|
+
colorBlendOp?: object;
|
|
863
|
+
srcAlphaBlendFactor?: object;
|
|
864
|
+
dstAlphaBlendFactor?: object;
|
|
865
|
+
alphaBlendOp?: object;
|
|
866
|
+
colorWriteMask?: object;
|
|
876
867
|
};
|
|
877
868
|
export type GetAssetDescription_Scene = {
|
|
878
869
|
aabb: GetAssetDescription_Aabb;
|
|
879
|
-
entities: Array<
|
|
870
|
+
entities: Array<object>;
|
|
880
871
|
triangleCount: number;
|
|
881
|
-
settings?:
|
|
872
|
+
settings?: object;
|
|
882
873
|
animationSequenceInstances?: Array<GetAssetDescription_animation_sequence_instance>;
|
|
883
874
|
};
|
|
884
875
|
export type GetAssetDescription_Aabb = {
|
|
885
876
|
min: Array<number>;
|
|
886
877
|
max: Array<number>;
|
|
887
878
|
};
|
|
888
|
-
export type GetAssetDescription_Entity = {
|
|
889
|
-
entity: GetAssetDescription_Entity;
|
|
890
|
-
};
|
|
891
879
|
export type GetAssetDescription_animation_sequence_instance = {
|
|
892
880
|
ref?: string;
|
|
893
881
|
entities?: Array<string>;
|
|
894
|
-
dataJSON?:
|
|
882
|
+
dataJSON?: object;
|
|
895
883
|
durationInMs?: number;
|
|
896
884
|
loop?: boolean;
|
|
897
885
|
};
|
|
898
886
|
export type GetAssetDescription_Script = {
|
|
899
|
-
inputDescriptor?:
|
|
887
|
+
inputDescriptor?: object;
|
|
900
888
|
eventNames: Array<string>;
|
|
901
889
|
subScripts?: Array<string>;
|
|
902
890
|
};
|
|
@@ -904,8 +892,8 @@ export type GetAssetDescription_Shader = {
|
|
|
904
892
|
payloadSize: number;
|
|
905
893
|
shaderStages?: number;
|
|
906
894
|
moduleDescriptions?: Array<GetAssetDescription_shader_module_description>;
|
|
907
|
-
materialDescriptor?:
|
|
908
|
-
nodeDataDescriptor?:
|
|
895
|
+
materialDescriptor?: object;
|
|
896
|
+
nodeDataDescriptor?: object;
|
|
909
897
|
vertexDescriptor?: Array<GetAssetDescription_vertex_attribute_descriptor>;
|
|
910
898
|
blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
|
|
911
899
|
localGroupCount?: Array<number>;
|
|
@@ -913,7 +901,7 @@ export type GetAssetDescription_Shader = {
|
|
|
913
901
|
optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
|
|
914
902
|
};
|
|
915
903
|
export type GetAssetDescription_shader_module_description = {
|
|
916
|
-
shaderStage?:
|
|
904
|
+
shaderStage?: object;
|
|
917
905
|
payloadOffset?: number;
|
|
918
906
|
payloadSize?: number;
|
|
919
907
|
usedBindings?: number;
|
|
@@ -923,7 +911,7 @@ export type GetAssetDescription_vertex_attribute_descriptor = {
|
|
|
923
911
|
binding?: number;
|
|
924
912
|
location?: number;
|
|
925
913
|
stride?: number;
|
|
926
|
-
format?:
|
|
914
|
+
format?: object;
|
|
927
915
|
offset?: number;
|
|
928
916
|
};
|
|
929
917
|
export type GetAssetDescription_Skeleton = {
|
|
@@ -991,7 +979,7 @@ export type UpdateAssetDescription_animation_event = {
|
|
|
991
979
|
};
|
|
992
980
|
export type UpdateAssetDescription_AnimationGraph = {
|
|
993
981
|
stateMachines?: Array<UpdateAssetDescription_animation_state_machine_description>;
|
|
994
|
-
inputDescriptor?:
|
|
982
|
+
inputDescriptor?: object;
|
|
995
983
|
};
|
|
996
984
|
export type UpdateAssetDescription_animation_state_machine_description = {
|
|
997
985
|
states?: Array<UpdateAssetDescription_animation_state_description>;
|
|
@@ -1068,7 +1056,7 @@ export type UpdateAssetDescription_transition_description = {
|
|
|
1068
1056
|
condition?: string;
|
|
1069
1057
|
};
|
|
1070
1058
|
export type UpdateAssetDescription_AnimationSequence = {
|
|
1071
|
-
inputDescriptor:
|
|
1059
|
+
inputDescriptor: object;
|
|
1072
1060
|
};
|
|
1073
1061
|
export type UpdateAssetDescription_AnimationSet = {
|
|
1074
1062
|
animationSet: Array<UpdateAssetDescription_Object>;
|
|
@@ -1083,7 +1071,7 @@ export type UpdateAssetDescription_EventMap = {
|
|
|
1083
1071
|
export type UpdateAssetDescription_Material = {
|
|
1084
1072
|
shaderRef: string;
|
|
1085
1073
|
skinnedShaderRef: string;
|
|
1086
|
-
dataJson:
|
|
1074
|
+
dataJson: object;
|
|
1087
1075
|
isDoubleSided: boolean;
|
|
1088
1076
|
};
|
|
1089
1077
|
export type UpdateAssetDescription_Mesh = {
|
|
@@ -1091,7 +1079,7 @@ export type UpdateAssetDescription_Mesh = {
|
|
|
1091
1079
|
payloadSize: number;
|
|
1092
1080
|
};
|
|
1093
1081
|
export type UpdateAssetDescription_submesh_description = {
|
|
1094
|
-
boundingBox:
|
|
1082
|
+
boundingBox: object;
|
|
1095
1083
|
channels: Array<UpdateAssetDescription_channel_description>;
|
|
1096
1084
|
payloadSize: number;
|
|
1097
1085
|
indexCount: number;
|
|
@@ -1116,8 +1104,8 @@ export type UpdateAssetDescription_RenderGraph = {
|
|
|
1116
1104
|
renderTargetDescriptions?: Array<UpdateAssetDescription_render_target_description>;
|
|
1117
1105
|
nodeDataDescriptions?: Array<UpdateAssetDescription_node_data_description>;
|
|
1118
1106
|
renderPassDescriptions?: Array<UpdateAssetDescription_render_pass_description>;
|
|
1119
|
-
graphOrder?: Array<
|
|
1120
|
-
inputDescriptor?:
|
|
1107
|
+
graphOrder?: Array<object>;
|
|
1108
|
+
inputDescriptor?: object;
|
|
1121
1109
|
stencilStates?: Array<UpdateAssetDescription_VkStencilOpState>;
|
|
1122
1110
|
blendStates?: Array<UpdateAssetDescription_VkPipelineColorBlendAttachmentState>;
|
|
1123
1111
|
defaultRenderTargetIndex?: number;
|
|
@@ -1125,17 +1113,17 @@ export type UpdateAssetDescription_RenderGraph = {
|
|
|
1125
1113
|
};
|
|
1126
1114
|
export type UpdateAssetDescription_render_target_description = {
|
|
1127
1115
|
name?: string;
|
|
1128
|
-
format?:
|
|
1129
|
-
sampleCount?:
|
|
1130
|
-
usage?:
|
|
1131
|
-
aspect?:
|
|
1116
|
+
format?: object;
|
|
1117
|
+
sampleCount?: object;
|
|
1118
|
+
usage?: object;
|
|
1119
|
+
aspect?: object;
|
|
1132
1120
|
samplerType?: number;
|
|
1133
1121
|
mipLevels?: number;
|
|
1134
|
-
extent?:
|
|
1135
|
-
flags?:
|
|
1136
|
-
tiling?:
|
|
1137
|
-
memoryUsage?:
|
|
1138
|
-
memoryType?:
|
|
1122
|
+
extent?: object;
|
|
1123
|
+
flags?: object;
|
|
1124
|
+
tiling?: object;
|
|
1125
|
+
memoryUsage?: object;
|
|
1126
|
+
memoryType?: object;
|
|
1139
1127
|
};
|
|
1140
1128
|
export type UpdateAssetDescription_node_data_description = {
|
|
1141
1129
|
name?: string;
|
|
@@ -1144,20 +1132,17 @@ export type UpdateAssetDescription_node_data_description = {
|
|
|
1144
1132
|
outputDepthRenderTargetIndices?: Array<number>;
|
|
1145
1133
|
inputRenderTargetIndices?: Array<number>;
|
|
1146
1134
|
outputRenderTargetIndices?: Array<number>;
|
|
1147
|
-
shaderRef?:
|
|
1148
|
-
dataJson?:
|
|
1135
|
+
shaderRef?: object;
|
|
1136
|
+
dataJson?: object;
|
|
1149
1137
|
aliases?: Array<any>;
|
|
1150
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";
|
|
1151
1139
|
pipelineDescription?: UpdateAssetDescription_Object;
|
|
1152
1140
|
copyToFaceIndex?: number;
|
|
1153
1141
|
drawIndirect?: boolean;
|
|
1154
1142
|
conditions?: Array<string>;
|
|
1155
|
-
clearColors?: Array<
|
|
1143
|
+
clearColors?: Array<object>;
|
|
1156
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]]";
|
|
1157
1145
|
};
|
|
1158
|
-
export type UpdateAssetDescription_vec4 = {
|
|
1159
|
-
body: UpdateAssetDescription_Object;
|
|
1160
|
-
};
|
|
1161
1146
|
export type UpdateAssetDescription_render_pass_description = {
|
|
1162
1147
|
name?: string;
|
|
1163
1148
|
sampleCount?: number;
|
|
@@ -1169,68 +1154,62 @@ export type UpdateAssetDescription_render_pass_description = {
|
|
|
1169
1154
|
depthAttachmentReference?: UpdateAssetDescription_Object;
|
|
1170
1155
|
resolveAttachmentReferences?: Array<UpdateAssetDescription_VkAttachmentReference>;
|
|
1171
1156
|
attachmentDescriptions?: Array<UpdateAssetDescription_VkAttachmentDescription>;
|
|
1172
|
-
attachmentClearColors?: Array<
|
|
1157
|
+
attachmentClearColors?: Array<object>;
|
|
1173
1158
|
};
|
|
1174
1159
|
export type UpdateAssetDescription_VkAttachmentReference = {
|
|
1175
1160
|
attachment?: number;
|
|
1176
|
-
layout?:
|
|
1161
|
+
layout?: object;
|
|
1177
1162
|
};
|
|
1178
1163
|
export type UpdateAssetDescription_VkAttachmentDescription = {
|
|
1179
|
-
flags?:
|
|
1180
|
-
format?:
|
|
1181
|
-
samples?:
|
|
1182
|
-
loadOp?:
|
|
1183
|
-
storeOp?:
|
|
1184
|
-
stencilLoadOp?:
|
|
1185
|
-
stencilStoreOp?:
|
|
1186
|
-
initialLayout?:
|
|
1187
|
-
finalLayout?:
|
|
1188
|
-
};
|
|
1189
|
-
export type UpdateAssetDescription_pair_int16_int16 = {
|
|
1190
|
-
body: UpdateAssetDescription_Object;
|
|
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;
|
|
1191
1173
|
};
|
|
1192
1174
|
export type UpdateAssetDescription_VkStencilOpState = {
|
|
1193
|
-
failOp?:
|
|
1194
|
-
passOp?:
|
|
1195
|
-
depthFailOp?:
|
|
1196
|
-
compareOp?:
|
|
1175
|
+
failOp?: object;
|
|
1176
|
+
passOp?: object;
|
|
1177
|
+
depthFailOp?: object;
|
|
1178
|
+
compareOp?: object;
|
|
1197
1179
|
compareMask?: number;
|
|
1198
1180
|
writeMask?: number;
|
|
1199
1181
|
reference?: number;
|
|
1200
1182
|
};
|
|
1201
1183
|
export type UpdateAssetDescription_VkPipelineColorBlendAttachmentState = {
|
|
1202
1184
|
blendEnable?: boolean;
|
|
1203
|
-
srcColorBlendFactor?:
|
|
1204
|
-
dstColorBlendFactor?:
|
|
1205
|
-
colorBlendOp?:
|
|
1206
|
-
srcAlphaBlendFactor?:
|
|
1207
|
-
dstAlphaBlendFactor?:
|
|
1208
|
-
alphaBlendOp?:
|
|
1209
|
-
colorWriteMask?:
|
|
1185
|
+
srcColorBlendFactor?: object;
|
|
1186
|
+
dstColorBlendFactor?: object;
|
|
1187
|
+
colorBlendOp?: object;
|
|
1188
|
+
srcAlphaBlendFactor?: object;
|
|
1189
|
+
dstAlphaBlendFactor?: object;
|
|
1190
|
+
alphaBlendOp?: object;
|
|
1191
|
+
colorWriteMask?: object;
|
|
1210
1192
|
};
|
|
1211
1193
|
export type UpdateAssetDescription_Scene = {
|
|
1212
1194
|
aabb: UpdateAssetDescription_Aabb;
|
|
1213
|
-
entities: Array<
|
|
1195
|
+
entities: Array<object>;
|
|
1214
1196
|
triangleCount: number;
|
|
1215
|
-
settings?:
|
|
1197
|
+
settings?: object;
|
|
1216
1198
|
animationSequenceInstances?: Array<UpdateAssetDescription_animation_sequence_instance>;
|
|
1217
1199
|
};
|
|
1218
1200
|
export type UpdateAssetDescription_Aabb = {
|
|
1219
1201
|
min: Array<number>;
|
|
1220
1202
|
max: Array<number>;
|
|
1221
1203
|
};
|
|
1222
|
-
export type UpdateAssetDescription_Entity = {
|
|
1223
|
-
entity: UpdateAssetDescription_Entity;
|
|
1224
|
-
};
|
|
1225
1204
|
export type UpdateAssetDescription_animation_sequence_instance = {
|
|
1226
1205
|
ref?: string;
|
|
1227
1206
|
entities?: Array<string>;
|
|
1228
|
-
dataJSON?:
|
|
1207
|
+
dataJSON?: object;
|
|
1229
1208
|
durationInMs?: number;
|
|
1230
1209
|
loop?: boolean;
|
|
1231
1210
|
};
|
|
1232
1211
|
export type UpdateAssetDescription_Script = {
|
|
1233
|
-
inputDescriptor?:
|
|
1212
|
+
inputDescriptor?: object;
|
|
1234
1213
|
eventNames: Array<string>;
|
|
1235
1214
|
subScripts?: Array<string>;
|
|
1236
1215
|
};
|
|
@@ -1238,8 +1217,8 @@ export type UpdateAssetDescription_Shader = {
|
|
|
1238
1217
|
payloadSize: number;
|
|
1239
1218
|
shaderStages?: number;
|
|
1240
1219
|
moduleDescriptions?: Array<UpdateAssetDescription_shader_module_description>;
|
|
1241
|
-
materialDescriptor?:
|
|
1242
|
-
nodeDataDescriptor?:
|
|
1220
|
+
materialDescriptor?: object;
|
|
1221
|
+
nodeDataDescriptor?: object;
|
|
1243
1222
|
vertexDescriptor?: Array<UpdateAssetDescription_vertex_attribute_descriptor>;
|
|
1244
1223
|
blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
|
|
1245
1224
|
localGroupCount?: Array<number>;
|
|
@@ -1247,7 +1226,7 @@ export type UpdateAssetDescription_Shader = {
|
|
|
1247
1226
|
optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
|
|
1248
1227
|
};
|
|
1249
1228
|
export type UpdateAssetDescription_shader_module_description = {
|
|
1250
|
-
shaderStage?:
|
|
1229
|
+
shaderStage?: object;
|
|
1251
1230
|
payloadOffset?: number;
|
|
1252
1231
|
payloadSize?: number;
|
|
1253
1232
|
usedBindings?: number;
|
|
@@ -1257,7 +1236,7 @@ export type UpdateAssetDescription_vertex_attribute_descriptor = {
|
|
|
1257
1236
|
binding?: number;
|
|
1258
1237
|
location?: number;
|
|
1259
1238
|
stride?: number;
|
|
1260
|
-
format?:
|
|
1239
|
+
format?: object;
|
|
1261
1240
|
offset?: number;
|
|
1262
1241
|
};
|
|
1263
1242
|
export type UpdateAssetDescription_Skeleton = {
|
|
@@ -1309,20 +1288,14 @@ export declare function getAssetPayload({ asset_container_with_payload, asset_id
|
|
|
1309
1288
|
asset_container_with_payload: "animations" | "animationSequences" | "meshes" | "pointClouds" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures";
|
|
1310
1289
|
asset_id: string;
|
|
1311
1290
|
}): AxiosPromise<ArrayBuffer>;
|
|
1312
|
-
export type GetAssetHistory_Object = {
|
|
1313
|
-
body: GetAssetHistory_Object;
|
|
1314
|
-
};
|
|
1315
1291
|
export declare function getAssetHistory({ asset_container, asset_id }: {
|
|
1316
1292
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
|
1317
1293
|
asset_id: string;
|
|
1318
|
-
}): AxiosPromise<
|
|
1319
|
-
export type GetAssetMeta_Object = {
|
|
1320
|
-
body: GetAssetMeta_Object;
|
|
1321
|
-
};
|
|
1294
|
+
}): AxiosPromise<object>;
|
|
1322
1295
|
export declare function getAssetMeta({ asset_container, asset_id }: {
|
|
1323
1296
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
|
1324
1297
|
asset_id: string;
|
|
1325
|
-
}): AxiosPromise<
|
|
1298
|
+
}): AxiosPromise<object>;
|
|
1326
1299
|
export declare function getAssetCode({ asset_container_with_code, asset_id }: {
|
|
1327
1300
|
asset_container_with_code: "animationSequences" | "scripts" | "shaders";
|
|
1328
1301
|
asset_id: string;
|
|
@@ -1338,13 +1311,10 @@ export declare function setAssetThumbnail({ asset_container, asset_id, body }: {
|
|
|
1338
1311
|
asset_id: string;
|
|
1339
1312
|
body: ArrayBuffer;
|
|
1340
1313
|
}, contentType: 'image/jpg' | 'image/png'): Promise<import("axios").AxiosResponse<any, any>>;
|
|
1341
|
-
export type GetAssetCustomTypes_Object = {
|
|
1342
|
-
body: GetAssetCustomTypes_Object;
|
|
1343
|
-
};
|
|
1344
1314
|
export declare function getAssetCustomTypes({ asset_container_with_custom_types, asset_id }: {
|
|
1345
1315
|
asset_container_with_custom_types: "modules";
|
|
1346
1316
|
asset_id: string;
|
|
1347
|
-
}): AxiosPromise<
|
|
1317
|
+
}): AxiosPromise<object>;
|
|
1348
1318
|
export declare function packageAsset({ asset_container, asset_id }: {
|
|
1349
1319
|
asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
|
|
1350
1320
|
asset_id: string;
|
|
@@ -1389,13 +1359,10 @@ export type GetEntity_animation_controller = {
|
|
|
1389
1359
|
export type GetEntity_AnimationController = {
|
|
1390
1360
|
animationGraphRef: string;
|
|
1391
1361
|
animationSetRef: string;
|
|
1392
|
-
dataJSON:
|
|
1362
|
+
dataJSON: object;
|
|
1393
1363
|
rootBoneEntityRef: GetEntity_EntityReference;
|
|
1394
1364
|
rootMotionEnabled: boolean;
|
|
1395
1365
|
};
|
|
1396
|
-
export type GetEntity_Json = {
|
|
1397
|
-
json: GetEntity_Json;
|
|
1398
|
-
};
|
|
1399
1366
|
export type GetEntity_EntityReference = {
|
|
1400
1367
|
originalEUID: string;
|
|
1401
1368
|
linkage: Array<string>;
|
|
@@ -1420,7 +1387,7 @@ export type GetEntity_camera = {
|
|
|
1420
1387
|
export type GetEntity_Camera = {
|
|
1421
1388
|
renderGraphRef: string;
|
|
1422
1389
|
renderTargetIndex?: number;
|
|
1423
|
-
dataJSON:
|
|
1390
|
+
dataJSON: object;
|
|
1424
1391
|
};
|
|
1425
1392
|
export type GetEntity_capsule_geometry = {
|
|
1426
1393
|
capsule_geometry: GetEntity_CapsuleGeometry;
|
|
@@ -1517,7 +1484,7 @@ export type GetEntity_Material = {
|
|
|
1517
1484
|
shaderRef: string;
|
|
1518
1485
|
transparencyMode: number;
|
|
1519
1486
|
isDoubleSided: boolean;
|
|
1520
|
-
dataJSON:
|
|
1487
|
+
dataJSON: object;
|
|
1521
1488
|
};
|
|
1522
1489
|
export type GetEntity_material_ref = {
|
|
1523
1490
|
material_ref: GetEntity_MaterialReference;
|
|
@@ -1636,16 +1603,13 @@ export type GetEntity_script_element = {
|
|
|
1636
1603
|
};
|
|
1637
1604
|
export type GetEntity_ScriptElement = {
|
|
1638
1605
|
scriptRef: string;
|
|
1639
|
-
dataJSON:
|
|
1606
|
+
dataJSON: object;
|
|
1640
1607
|
};
|
|
1641
1608
|
export type GetEntity_script_map = {
|
|
1642
1609
|
script_map: GetEntity_ScriptMap;
|
|
1643
1610
|
};
|
|
1644
1611
|
export type GetEntity_ScriptMap = {
|
|
1645
|
-
elements:
|
|
1646
|
-
};
|
|
1647
|
-
export type GetEntity_MapScriptElement = {
|
|
1648
|
-
mapScriptElement: GetEntity_MapScriptElement;
|
|
1612
|
+
elements: object;
|
|
1649
1613
|
};
|
|
1650
1614
|
export type GetEntity_shadow_caster = {
|
|
1651
1615
|
shadow_caster: GetEntity_ShadowCaster;
|
|
@@ -1747,13 +1711,10 @@ export type UpdateEntity_animation_controller = {
|
|
|
1747
1711
|
export type UpdateEntity_AnimationController = {
|
|
1748
1712
|
animationGraphRef: string;
|
|
1749
1713
|
animationSetRef: string;
|
|
1750
|
-
dataJSON:
|
|
1714
|
+
dataJSON: object;
|
|
1751
1715
|
rootBoneEntityRef: UpdateEntity_EntityReference;
|
|
1752
1716
|
rootMotionEnabled: boolean;
|
|
1753
1717
|
};
|
|
1754
|
-
export type UpdateEntity_Json = {
|
|
1755
|
-
json: UpdateEntity_Json;
|
|
1756
|
-
};
|
|
1757
1718
|
export type UpdateEntity_EntityReference = {
|
|
1758
1719
|
originalEUID: string;
|
|
1759
1720
|
linkage: Array<string>;
|
|
@@ -1778,7 +1739,7 @@ export type UpdateEntity_camera = {
|
|
|
1778
1739
|
export type UpdateEntity_Camera = {
|
|
1779
1740
|
renderGraphRef: string;
|
|
1780
1741
|
renderTargetIndex?: number;
|
|
1781
|
-
dataJSON:
|
|
1742
|
+
dataJSON: object;
|
|
1782
1743
|
};
|
|
1783
1744
|
export type UpdateEntity_capsule_geometry = {
|
|
1784
1745
|
capsule_geometry: UpdateEntity_CapsuleGeometry;
|
|
@@ -1875,7 +1836,7 @@ export type UpdateEntity_Material = {
|
|
|
1875
1836
|
shaderRef: string;
|
|
1876
1837
|
transparencyMode: number;
|
|
1877
1838
|
isDoubleSided: boolean;
|
|
1878
|
-
dataJSON:
|
|
1839
|
+
dataJSON: object;
|
|
1879
1840
|
};
|
|
1880
1841
|
export type UpdateEntity_material_ref = {
|
|
1881
1842
|
material_ref: UpdateEntity_MaterialReference;
|
|
@@ -1994,16 +1955,13 @@ export type UpdateEntity_script_element = {
|
|
|
1994
1955
|
};
|
|
1995
1956
|
export type UpdateEntity_ScriptElement = {
|
|
1996
1957
|
scriptRef: string;
|
|
1997
|
-
dataJSON:
|
|
1958
|
+
dataJSON: object;
|
|
1998
1959
|
};
|
|
1999
1960
|
export type UpdateEntity_script_map = {
|
|
2000
1961
|
script_map: UpdateEntity_ScriptMap;
|
|
2001
1962
|
};
|
|
2002
1963
|
export type UpdateEntity_ScriptMap = {
|
|
2003
|
-
elements:
|
|
2004
|
-
};
|
|
2005
|
-
export type UpdateEntity_MapScriptElement = {
|
|
2006
|
-
mapScriptElement: UpdateEntity_MapScriptElement;
|
|
1964
|
+
elements: object;
|
|
2007
1965
|
};
|
|
2008
1966
|
export type UpdateEntity_shadow_caster = {
|
|
2009
1967
|
shadow_caster: UpdateEntity_ShadowCaster;
|