@3dverse/api 0.8.15 → 0.8.17

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.
@@ -52,6 +52,15 @@ export type RegisterUser_User_UserInfo = {
52
52
  export declare function registerUser({ username, }: {
53
53
  username: string;
54
54
  }, headers?: AxiosRequestHeaders): AxiosPromise<RegisterUser_User_UserInfo>;
55
+ export type GetCurrentUser_User_UserInfo = {
56
+ user_id: string;
57
+ username: string;
58
+ registered_at: string;
59
+ };
60
+ /**
61
+ * Retrieves details about the current user.
62
+ */
63
+ export declare function getCurrentUser(headers?: AxiosRequestHeaders): AxiosPromise<GetCurrentUser_User_UserInfo>;
55
64
  export type GetUser_User_UserInfo = {
56
65
  user_id: string;
57
66
  username: string;
@@ -1064,21 +1073,19 @@ export type GetAssetDescription_Material = {
1064
1073
  uuid: string;
1065
1074
  };
1066
1075
  export type GetAssetDescription_Mesh = {
1076
+ morphTargets?: Array<GetAssetDescription_MorphTargets>;
1067
1077
  name: string;
1068
1078
  payloadSize: number;
1069
1079
  submeshes: Array<GetAssetDescription_Submesh>;
1070
1080
  uuid: string;
1071
1081
  };
1072
- export type GetAssetDescription_Submesh = {
1073
- aabb: GetAssetDescription_BoundingBox;
1082
+ export type GetAssetDescription_MorphTargets = {
1083
+ batches: Array<GetAssetDescription_MorphTargetBatchDescription>;
1074
1084
  channels: Array<GetAssetDescription_Channel>;
1075
- indexCount: number;
1076
- morphTargets?: Array<GetAssetDescription_MorphTarget>;
1077
- vertexCount: number;
1078
1085
  };
1079
- export type GetAssetDescription_BoundingBox = {
1080
- max: Array<number>;
1081
- min: Array<number>;
1086
+ export type GetAssetDescription_MorphTargetBatchDescription = {
1087
+ indexChannelIndex: number;
1088
+ morphTargets: GetAssetDescription_Object;
1082
1089
  };
1083
1090
  export type GetAssetDescription_Channel = {
1084
1091
  dataOffset: number;
@@ -1088,11 +1095,14 @@ export type GetAssetDescription_Channel = {
1088
1095
  elementType: StrictUnion<0 | 1 | 2> & number;
1089
1096
  semantic: StrictUnion<'index' | 'position' | 'normal' | 'uv' | 'color' | 'bone_id' | 'weight'>;
1090
1097
  };
1091
- export type GetAssetDescription_MorphTarget = {
1092
- aabb: GetAssetDescription_Aabb;
1098
+ export type GetAssetDescription_Submesh = {
1099
+ aabb: GetAssetDescription_BoundingBox;
1093
1100
  channels: Array<GetAssetDescription_Channel>;
1101
+ indexCount: number;
1102
+ morphTargetsIndex?: number;
1103
+ vertexCount: number;
1094
1104
  };
1095
- export type GetAssetDescription_Aabb = {
1105
+ export type GetAssetDescription_BoundingBox = {
1096
1106
  max: Array<number>;
1097
1107
  min: Array<number>;
1098
1108
  };
@@ -1111,18 +1121,103 @@ export type GetAssetDescription_PointCloud = {
1111
1121
  uuid: string;
1112
1122
  };
1113
1123
  export type GetAssetDescription_RenderGraph = {
1114
- blendStates: Array<GetAssetDescription_Object>;
1124
+ blendStateDescriptions?: Array<GetAssetDescription_Object>;
1125
+ conditions?: Array<string>;
1115
1126
  defaultRenderTargetIndex?: number;
1116
1127
  graphOrder: Array<Array<number>>;
1117
1128
  inputDescriptor: Array<GetAssetDescription_Object>;
1118
1129
  name: string;
1119
- nodeDataDescriptions: Array<GetAssetDescription_Object>;
1130
+ nodeDataDescriptions: Array<StrictUnion<GetAssetDescription_Viewport | GetAssetDescription_DrawBatch | GetAssetDescription_DrawBatchWithMaterials | GetAssetDescription_DispatchCompute | GetAssetDescription_BlitImage | GetAssetDescription_CopyImage | GetAssetDescription_ResolveImage | GetAssetDescription_DrawFullscreen | GetAssetDescription_GenerateMipChain | GetAssetDescription_CopyToCubemapFace | GetAssetDescription_ClearImages | GetAssetDescription_FillBuffer | GetAssetDescription_DrawDebugLines | GetAssetDescription_DispatchDecalsCompute | GetAssetDescription_SetDepthBias | GetAssetDescription_DispatchRayTracing> & GetAssetDescription_Object>;
1120
1131
  occlusionInputDepthRenderTargetIndex?: number;
1121
1132
  renderPassDescriptions: Array<GetAssetDescription_Object>;
1122
1133
  renderTargetDescriptions: Array<GetAssetDescription_Object>;
1123
- stencilStates: Array<GetAssetDescription_Object>;
1134
+ stencilOpStateDescriptions?: Array<GetAssetDescription_Object>;
1124
1135
  uuid: string;
1125
1136
  };
1137
+ export type GetAssetDescription_Viewport = {
1138
+ type?: 0;
1139
+ };
1140
+ export type GetAssetDescription_DrawBatch = {
1141
+ batchType?: number;
1142
+ dataJson?: object;
1143
+ pipelineDescription?: GetAssetDescription_Object;
1144
+ shaderRef?: string;
1145
+ type?: 1;
1146
+ };
1147
+ export type GetAssetDescription_DrawBatchWithMaterials = {
1148
+ batchType?: number;
1149
+ dataJson?: object;
1150
+ pipelineDescription?: GetAssetDescription_Object;
1151
+ type?: 2;
1152
+ };
1153
+ export type GetAssetDescription_DispatchCompute = {
1154
+ constDataType?: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24> & number;
1155
+ dataJson?: object;
1156
+ shaderRef?: string;
1157
+ type?: 3;
1158
+ };
1159
+ export type GetAssetDescription_BlitImage = {
1160
+ inputRenderTargetIndices?: Array<number>;
1161
+ outputRenderTargetIndices?: Array<number>;
1162
+ type?: 4;
1163
+ };
1164
+ export type GetAssetDescription_CopyImage = {
1165
+ inputRenderTargetIndices?: Array<number>;
1166
+ outputRenderTargetIndices?: Array<number>;
1167
+ type?: 6;
1168
+ };
1169
+ export type GetAssetDescription_ResolveImage = {
1170
+ inputRenderTargetIndices?: Array<number>;
1171
+ outputRenderTargetIndices?: Array<number>;
1172
+ type?: 7;
1173
+ };
1174
+ export type GetAssetDescription_DrawFullscreen = {
1175
+ dataJson?: object;
1176
+ pipelineDescription?: GetAssetDescription_Object;
1177
+ shaderRef?: string;
1178
+ type?: 8;
1179
+ };
1180
+ export type GetAssetDescription_GenerateMipChain = {
1181
+ inputRenderTargetIndices?: Array<number>;
1182
+ type?: 9;
1183
+ };
1184
+ export type GetAssetDescription_CopyToCubemapFace = {
1185
+ inputRenderTargetIndices?: Array<number>;
1186
+ type?: 10;
1187
+ };
1188
+ export type GetAssetDescription_ClearImages = {
1189
+ clearColors?: Array<Array<number>>;
1190
+ outputRenderTargetIndices?: Array<number>;
1191
+ type?: 13;
1192
+ };
1193
+ export type GetAssetDescription_FillBuffer = {
1194
+ bufferName?: string;
1195
+ bufferOffset?: number;
1196
+ bufferSize?: number;
1197
+ bufferValue?: number;
1198
+ type?: 15;
1199
+ };
1200
+ export type GetAssetDescription_DrawDebugLines = {
1201
+ dataJson?: object;
1202
+ pipelineDescription?: GetAssetDescription_Object;
1203
+ shaderRef?: string;
1204
+ type?: 16;
1205
+ };
1206
+ export type GetAssetDescription_DispatchDecalsCompute = {
1207
+ dataJson?: object;
1208
+ type?: 17;
1209
+ };
1210
+ export type GetAssetDescription_SetDepthBias = {
1211
+ depthBiasClamp?: number;
1212
+ depthBiasConstantFactor?: number;
1213
+ depthBiasSlopeFactor?: number;
1214
+ type?: 18;
1215
+ };
1216
+ export type GetAssetDescription_DispatchRayTracing = {
1217
+ dataJson?: object;
1218
+ shaderRef?: string;
1219
+ type?: 19;
1220
+ };
1126
1221
  export type GetAssetDescription_Scene = {
1127
1222
  aabb: GetAssetDescription_Aabb;
1128
1223
  entities: Array<object>;
@@ -1131,6 +1226,10 @@ export type GetAssetDescription_Scene = {
1131
1226
  triangleCount?: number;
1132
1227
  uuid: string;
1133
1228
  };
1229
+ export type GetAssetDescription_Aabb = {
1230
+ max: Array<number>;
1231
+ min: Array<number>;
1232
+ };
1134
1233
  export type GetAssetDescription_Script = {
1135
1234
  eventNames: Array<string>;
1136
1235
  inputDescriptor?: Array<GetAssetDescription_Object>;
@@ -1140,17 +1239,15 @@ export type GetAssetDescription_Script = {
1140
1239
  };
1141
1240
  export type GetAssetDescription_Shader = {
1142
1241
  blendMode?: StrictUnion<0 | 1 | 2 | 3>;
1143
- localGroupCount?: Array<number>;
1144
1242
  materialDescriptor?: Array<GetAssetDescription_Object>;
1145
- moduleDescriptions?: Array<GetAssetDescription_Object>;
1243
+ moduleDescriptions: Array<GetAssetDescription_Object>;
1146
1244
  name: string;
1147
1245
  nodeDataDescriptor?: Array<GetAssetDescription_Object>;
1148
- optGlobalGroupMultiplier?: Array<number>;
1149
- optGlobalGroupReference?: StrictUnion<0 | 1 | 2 | 3 | 4>;
1246
+ optComputeSettings?: GetAssetDescription_Object;
1247
+ optVertexDescriptor?: Array<GetAssetDescription_Object>;
1150
1248
  payloadSize: number;
1151
1249
  shaderStages?: number;
1152
1250
  uuid: string;
1153
- vertexDescriptor?: Array<GetAssetDescription_Object>;
1154
1251
  };
1155
1252
  export type GetAssetDescription_Skeleton = {
1156
1253
  bones: Array<GetAssetDescription_Object>;
@@ -1169,21 +1266,21 @@ export type GetAssetDescription_Sound = {
1169
1266
  uuid: string;
1170
1267
  };
1171
1268
  export type GetAssetDescription_Texture = {
1172
- format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & any;
1269
+ format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;
1173
1270
  mips: Array<GetAssetDescription_Object>;
1174
1271
  name: string;
1175
1272
  payloadTotalSize: number;
1176
1273
  uuid: string;
1177
1274
  };
1178
1275
  export type GetAssetDescription_Texture_1D = {
1179
- format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & any;
1276
+ format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;
1180
1277
  mips: Array<GetAssetDescription_Object>;
1181
1278
  name: string;
1182
1279
  payloadTotalSize: number;
1183
1280
  uuid: string;
1184
1281
  };
1185
1282
  export type GetAssetDescription_Texture_3D = {
1186
- format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & any;
1283
+ format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;
1187
1284
  mips: Array<GetAssetDescription_Object>;
1188
1285
  name: string;
1189
1286
  payloadTotalSize: number;
@@ -1203,16 +1300,136 @@ export type GetAssetDescription_VolumeMaterial = {
1203
1300
  /**
1204
1301
  * Gets the asset description from the specified asset.
1205
1302
  */
1206
- export declare function getAssetDescription({ asset_container, asset_id, }: {
1207
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1303
+ export declare function getAssetDescription({ asset_id, asset_container, }: {
1208
1304
  asset_id: string;
1305
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1209
1306
  }, headers?: AxiosRequestHeaders): AxiosPromise<StrictUnion<GetAssetDescription_ActionMap | GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_CollisionGeometry | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_Module | GetAssetDescription_PointCloud | GetAssetDescription_RenderGraph | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_Texture_1D | GetAssetDescription_Texture_3D | GetAssetDescription_VolumeMaterial>>;
1307
+ export type UpdateAssetDescription_Cubemap = {
1308
+ faces: Array<string>;
1309
+ name: string;
1310
+ };
1311
+ export type UpdateAssetDescription_Material = {
1312
+ dataJson: object;
1313
+ isDoubleSided: boolean;
1314
+ name: string;
1315
+ shaderRef: string;
1316
+ };
1317
+ export type UpdateAssetDescription_RenderGraph = {
1318
+ blendStateDescriptions?: Array<UpdateAssetDescription_Object>;
1319
+ conditions?: Array<string>;
1320
+ defaultRenderTargetIndex?: number;
1321
+ graphOrder: Array<Array<number>>;
1322
+ inputDescriptor: Array<UpdateAssetDescription_Object>;
1323
+ name: string;
1324
+ nodeDataDescriptions: Array<StrictUnion<UpdateAssetDescription_Viewport | UpdateAssetDescription_DrawBatch | UpdateAssetDescription_DrawBatchWithMaterials | UpdateAssetDescription_DispatchCompute | UpdateAssetDescription_BlitImage | UpdateAssetDescription_CopyImage | UpdateAssetDescription_ResolveImage | UpdateAssetDescription_DrawFullscreen | UpdateAssetDescription_GenerateMipChain | UpdateAssetDescription_CopyToCubemapFace | UpdateAssetDescription_ClearImages | UpdateAssetDescription_FillBuffer | UpdateAssetDescription_DrawDebugLines | UpdateAssetDescription_DispatchDecalsCompute | UpdateAssetDescription_SetDepthBias | UpdateAssetDescription_DispatchRayTracing> & UpdateAssetDescription_Object>;
1325
+ occlusionInputDepthRenderTargetIndex?: number;
1326
+ renderPassDescriptions: Array<UpdateAssetDescription_Object>;
1327
+ renderTargetDescriptions: Array<UpdateAssetDescription_Object>;
1328
+ stencilOpStateDescriptions?: Array<UpdateAssetDescription_Object>;
1329
+ };
1330
+ export type UpdateAssetDescription_Object = {
1331
+ alphaBlendOp?: number;
1332
+ blendEnable?: boolean;
1333
+ colorBlendOp?: number;
1334
+ colorWriteMask?: number;
1335
+ dstAlphaBlendFactor?: number;
1336
+ dstColorBlendFactor?: number;
1337
+ srcAlphaBlendFactor?: number;
1338
+ srcColorBlendFactor?: number;
1339
+ };
1340
+ export type UpdateAssetDescription_Viewport = {
1341
+ type?: 0;
1342
+ };
1343
+ export type UpdateAssetDescription_DrawBatch = {
1344
+ batchType?: number;
1345
+ dataJson?: object;
1346
+ pipelineDescription?: UpdateAssetDescription_Object;
1347
+ type?: 1;
1348
+ };
1349
+ export type UpdateAssetDescription_DrawBatchWithMaterials = {
1350
+ batchType?: number;
1351
+ dataJson?: object;
1352
+ pipelineDescription?: UpdateAssetDescription_Object;
1353
+ type?: 2;
1354
+ };
1355
+ export type UpdateAssetDescription_DispatchCompute = {
1356
+ constDataType?: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24> & number;
1357
+ dataJson?: object;
1358
+ type?: 3;
1359
+ };
1360
+ export type UpdateAssetDescription_BlitImage = {
1361
+ inputRenderTargetIndices?: Array<number>;
1362
+ outputRenderTargetIndices?: Array<number>;
1363
+ type?: 4;
1364
+ };
1365
+ export type UpdateAssetDescription_CopyImage = {
1366
+ inputRenderTargetIndices?: Array<number>;
1367
+ outputRenderTargetIndices?: Array<number>;
1368
+ type?: 6;
1369
+ };
1370
+ export type UpdateAssetDescription_ResolveImage = {
1371
+ inputRenderTargetIndices?: Array<number>;
1372
+ outputRenderTargetIndices?: Array<number>;
1373
+ type?: 7;
1374
+ };
1375
+ export type UpdateAssetDescription_DrawFullscreen = {
1376
+ dataJson?: object;
1377
+ pipelineDescription?: UpdateAssetDescription_Object;
1378
+ type?: 8;
1379
+ };
1380
+ export type UpdateAssetDescription_GenerateMipChain = {
1381
+ inputRenderTargetIndices?: Array<number>;
1382
+ type?: 9;
1383
+ };
1384
+ export type UpdateAssetDescription_CopyToCubemapFace = {
1385
+ inputRenderTargetIndices?: Array<number>;
1386
+ type?: 10;
1387
+ };
1388
+ export type UpdateAssetDescription_ClearImages = {
1389
+ clearColors?: Array<Array<number>>;
1390
+ outputRenderTargetIndices?: Array<number>;
1391
+ type?: 13;
1392
+ };
1393
+ export type UpdateAssetDescription_FillBuffer = {
1394
+ bufferName?: string;
1395
+ bufferOffset?: number;
1396
+ bufferSize?: number;
1397
+ bufferValue?: number;
1398
+ type?: 15;
1399
+ };
1400
+ export type UpdateAssetDescription_DrawDebugLines = {
1401
+ dataJson?: object;
1402
+ pipelineDescription?: UpdateAssetDescription_Object;
1403
+ type?: 16;
1404
+ };
1405
+ export type UpdateAssetDescription_DispatchDecalsCompute = {
1406
+ dataJson?: object;
1407
+ type?: 17;
1408
+ };
1409
+ export type UpdateAssetDescription_SetDepthBias = {
1410
+ depthBiasClamp?: number;
1411
+ depthBiasConstantFactor?: number;
1412
+ depthBiasSlopeFactor?: number;
1413
+ type?: 18;
1414
+ };
1415
+ export type UpdateAssetDescription_DispatchRayTracing = {
1416
+ dataJson?: object;
1417
+ type?: 19;
1418
+ };
1419
+ /**
1420
+ * Updates the description of the specified asset.
1421
+ */
1422
+ export declare function updateAssetDescription({ asset_id, asset_container, asset_description, }: {
1423
+ asset_id: string;
1424
+ asset_container: 'materials' | 'cubemaps' | 'render_graphs';
1425
+ asset_description: StrictUnion<UpdateAssetDescription_Cubemap | UpdateAssetDescription_Material | UpdateAssetDescription_RenderGraph>;
1426
+ }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
1210
1427
  /**
1211
- * Updates asset description. Supports only updating name.
1428
+ * Renames the specified asset.
1212
1429
  */
1213
- export declare function renameAsset({ asset_container, asset_id, name, }: {
1214
- asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1430
+ export declare function renameAsset({ asset_id, asset_container, name, }: {
1215
1431
  asset_id: string;
1432
+ asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_1d' | 'textures_3d' | 'volume_materials';
1216
1433
  name?: string;
1217
1434
  }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
1218
1435
  /**
@@ -1223,6 +1440,25 @@ export declare function getAssetPayload<T extends 'arraybuffer' | 'stream' | 'js
1223
1440
  asset_id: string;
1224
1441
  sub_resource?: StrictUnion<string | 'histogram' | 'position' | 'color'>;
1225
1442
  }, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
1443
+ export type GetAssetGraph_AssetGraph = {
1444
+ uuid: string;
1445
+ [_additionalproperties_: string]: any;
1446
+ };
1447
+ /**
1448
+ * Gets the asset graph from the specified asset.
1449
+ */
1450
+ export declare function getAssetGraph({ asset_container_with_graph, asset_id, }: {
1451
+ asset_container_with_graph: 'render_graphs' | 'animation_graphs' | 'shaders' | 'scripts';
1452
+ asset_id: string;
1453
+ }, headers?: AxiosRequestHeaders): AxiosPromise<GetAssetGraph_AssetGraph>;
1454
+ /**
1455
+ * Creates or replaces asset graph for the specified asset.
1456
+ */
1457
+ export declare function updateAssetGraph({ asset_container_with_graph, asset_id, asset_graph, }: {
1458
+ asset_container_with_graph: 'render_graphs' | 'animation_graphs' | 'shaders' | 'scripts';
1459
+ asset_id: string;
1460
+ asset_graph: object;
1461
+ }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
1226
1462
  /**
1227
1463
  * Gets the asset history from the specified asset.
1228
1464
  */
@@ -2382,12 +2618,225 @@ export declare function deleteEntity({ scene_id, entity_id, }: {
2382
2618
  scene_id: string;
2383
2619
  entity_id: string;
2384
2620
  }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
2621
+ export type GetSceneSettings__index_SceneSettings_SceneSettings = {
2622
+ debug_lines?: GetSceneSettings_DebugLines;
2623
+ default_camera_component?: GetSceneSettings_DefaultCameraComponent;
2624
+ default_camera_transform?: GetSceneSettings_DefaultCameraTransform;
2625
+ display?: GetSceneSettings_Display;
2626
+ encoder?: GetSceneSettings_Encoder;
2627
+ environment?: GetSceneSettings_Environment;
2628
+ misc?: GetSceneSettings_Miscellaneous;
2629
+ network?: GetSceneSettings_Network;
2630
+ physics?: GetSceneSettings_Physics;
2631
+ renderer?: GetSceneSettings_Renderer;
2632
+ simulation?: GetSceneSettings_Simulation;
2633
+ sound?: GetSceneSettings_Sound;
2634
+ streaming?: GetSceneSettings_Streaming;
2635
+ voxel?: GetSceneSettings_Voxel;
2636
+ };
2637
+ export type GetSceneSettings_DebugLines = {
2638
+ drawBoundingBoxes?: boolean;
2639
+ drawCameraFrustums?: boolean;
2640
+ drawCenterOfMass?: boolean;
2641
+ drawContacts?: boolean;
2642
+ drawDebugLines?: boolean;
2643
+ drawIK?: boolean;
2644
+ drawJoints?: boolean;
2645
+ drawLights?: boolean;
2646
+ drawPhysicsBodies?: boolean;
2647
+ drawPhysicsBodyAxes?: boolean;
2648
+ drawReflectionProbes?: boolean;
2649
+ drawSkeletons?: boolean;
2650
+ };
2651
+ export type GetSceneSettings_DefaultCameraComponent = {
2652
+ dataJSON?: object;
2653
+ renderGraphRef?: string;
2654
+ renderTargetIndex?: number;
2655
+ };
2656
+ export type GetSceneSettings_DefaultCameraTransform = {
2657
+ orientation?: Array<number>;
2658
+ position?: Array<number>;
2659
+ };
2660
+ export type GetSceneSettings_Display = {
2661
+ forceRedraw?: boolean;
2662
+ framePersistence?: number;
2663
+ maxFPS?: StrictUnion<15 | 30 | 60 | 90> & number;
2664
+ maxTextureSize?: StrictUnion<4294967295 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192> & number;
2665
+ };
2666
+ export type GetSceneSettings_Encoder = {
2667
+ encoderType?: string;
2668
+ };
2669
+ export type GetSceneSettings_Environment = {
2670
+ ambientColorBottom?: Array<number>;
2671
+ ambientColorTop?: Array<number>;
2672
+ clearColor?: Array<number>;
2673
+ };
2674
+ export type GetSceneSettings_Miscellaneous = {
2675
+ maxLinkersRecursionCount?: number;
2676
+ maxScriptExecutionTimeInMs?: number;
2677
+ plugins?: Array<string>;
2678
+ };
2679
+ export type GetSceneSettings_Network = {
2680
+ clientConnectionTimeout?: number;
2681
+ sendSimulationUpdates?: boolean;
2682
+ timeToLiveWithInactiveUsersInSeconds?: number;
2683
+ waitForDefaultAssetsTimeoutInSeconds?: number;
2684
+ };
2685
+ export type GetSceneSettings_Physics = {
2686
+ engine?: StrictUnion<'physx' | 'xde'>;
2687
+ epsilon?: number;
2688
+ gravity?: Array<number>;
2689
+ lmdMax?: number;
2690
+ timestepInS?: number;
2691
+ toleranceLength?: number;
2692
+ toleranceSpeed?: number;
2693
+ };
2694
+ export type GetSceneSettings_Renderer = {
2695
+ cpuOcclusionCulling?: boolean;
2696
+ enableFrustumCulling?: boolean;
2697
+ enableGeometryCulling?: boolean;
2698
+ enableRayTracing?: boolean;
2699
+ enableTextureStreaming?: boolean;
2700
+ endFrameTimeoutInMilliseconds?: number;
2701
+ };
2702
+ export type GetSceneSettings_Simulation = {
2703
+ clientScripts?: Array<GetSceneSettings_Object>;
2704
+ mainCamera?: GetSceneSettings_MainCamera;
2705
+ };
2706
+ export type GetSceneSettings_Object = {
2707
+ linkage: Array<string>;
2708
+ originalEUID: string;
2709
+ };
2710
+ export type GetSceneSettings_MainCamera = {
2711
+ linkage: Array<string>;
2712
+ originalEUID: string;
2713
+ };
2714
+ export type GetSceneSettings_Sound = {
2715
+ enabled?: boolean;
2716
+ };
2717
+ export type GetSceneSettings_Streaming = {
2718
+ streamingLoadingRadius?: number;
2719
+ streamingUnloadingRadius?: number;
2720
+ };
2721
+ export type GetSceneSettings_Voxel = {
2722
+ maxNumberAlbedoValues?: number;
2723
+ };
2385
2724
  /**
2386
2725
  * Get the settings of a scene.
2387
2726
  */
2388
2727
  export declare function getSceneSettings({ scene_id, }: {
2389
2728
  scene_id: string;
2390
- }, headers?: AxiosRequestHeaders): AxiosPromise<object>;
2729
+ }, headers?: AxiosRequestHeaders): AxiosPromise<GetSceneSettings__index_SceneSettings_SceneSettings>;
2730
+ export type UpdateSceneSettings_SceneSettings = {
2731
+ debug_lines?: UpdateSceneSettings_DebugLines;
2732
+ default_camera_component?: UpdateSceneSettings_DefaultCameraComponent;
2733
+ default_camera_transform?: UpdateSceneSettings_DefaultCameraTransform;
2734
+ display?: UpdateSceneSettings_Display;
2735
+ encoder?: UpdateSceneSettings_Encoder;
2736
+ environment?: UpdateSceneSettings_Environment;
2737
+ misc?: UpdateSceneSettings_Miscellaneous;
2738
+ network?: UpdateSceneSettings_Network;
2739
+ physics?: UpdateSceneSettings_Physics;
2740
+ renderer?: UpdateSceneSettings_Renderer;
2741
+ simulation?: UpdateSceneSettings_Simulation;
2742
+ sound?: UpdateSceneSettings_Sound;
2743
+ streaming?: UpdateSceneSettings_Streaming;
2744
+ voxel?: UpdateSceneSettings_Voxel;
2745
+ };
2746
+ export type UpdateSceneSettings_DebugLines = {
2747
+ drawBoundingBoxes?: boolean;
2748
+ drawCameraFrustums?: boolean;
2749
+ drawCenterOfMass?: boolean;
2750
+ drawContacts?: boolean;
2751
+ drawDebugLines?: boolean;
2752
+ drawIK?: boolean;
2753
+ drawJoints?: boolean;
2754
+ drawLights?: boolean;
2755
+ drawPhysicsBodies?: boolean;
2756
+ drawPhysicsBodyAxes?: boolean;
2757
+ drawReflectionProbes?: boolean;
2758
+ drawSkeletons?: boolean;
2759
+ };
2760
+ export type UpdateSceneSettings_DefaultCameraComponent = {
2761
+ dataJSON?: object;
2762
+ renderGraphRef?: string;
2763
+ renderTargetIndex?: number;
2764
+ };
2765
+ export type UpdateSceneSettings_DefaultCameraTransform = {
2766
+ orientation?: Array<number>;
2767
+ position?: Array<number>;
2768
+ };
2769
+ export type UpdateSceneSettings_Display = {
2770
+ forceRedraw?: boolean;
2771
+ framePersistence?: number;
2772
+ maxFPS?: StrictUnion<15 | 30 | 60 | 90> & number;
2773
+ maxTextureSize?: StrictUnion<4294967295 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192> & number;
2774
+ };
2775
+ export type UpdateSceneSettings_Encoder = {
2776
+ encoderType?: string;
2777
+ };
2778
+ export type UpdateSceneSettings_Environment = {
2779
+ ambientColorBottom?: Array<number>;
2780
+ ambientColorTop?: Array<number>;
2781
+ clearColor?: Array<number>;
2782
+ };
2783
+ export type UpdateSceneSettings_Miscellaneous = {
2784
+ maxLinkersRecursionCount?: number;
2785
+ maxScriptExecutionTimeInMs?: number;
2786
+ plugins?: Array<string>;
2787
+ };
2788
+ export type UpdateSceneSettings_Network = {
2789
+ clientConnectionTimeout?: number;
2790
+ sendSimulationUpdates?: boolean;
2791
+ timeToLiveWithInactiveUsersInSeconds?: number;
2792
+ waitForDefaultAssetsTimeoutInSeconds?: number;
2793
+ };
2794
+ export type UpdateSceneSettings_Physics = {
2795
+ engine?: StrictUnion<'physx' | 'xde'>;
2796
+ epsilon?: number;
2797
+ gravity?: Array<number>;
2798
+ lmdMax?: number;
2799
+ timestepInS?: number;
2800
+ toleranceLength?: number;
2801
+ toleranceSpeed?: number;
2802
+ };
2803
+ export type UpdateSceneSettings_Renderer = {
2804
+ cpuOcclusionCulling?: boolean;
2805
+ enableFrustumCulling?: boolean;
2806
+ enableGeometryCulling?: boolean;
2807
+ enableRayTracing?: boolean;
2808
+ enableTextureStreaming?: boolean;
2809
+ endFrameTimeoutInMilliseconds?: number;
2810
+ };
2811
+ export type UpdateSceneSettings_Simulation = {
2812
+ clientScripts?: Array<UpdateSceneSettings_Object>;
2813
+ mainCamera?: UpdateSceneSettings_MainCamera;
2814
+ };
2815
+ export type UpdateSceneSettings_Object = {
2816
+ linkage: Array<string>;
2817
+ originalEUID: string;
2818
+ };
2819
+ export type UpdateSceneSettings_MainCamera = {
2820
+ linkage: Array<string>;
2821
+ originalEUID: string;
2822
+ };
2823
+ export type UpdateSceneSettings_Sound = {
2824
+ enabled?: boolean;
2825
+ };
2826
+ export type UpdateSceneSettings_Streaming = {
2827
+ streamingLoadingRadius?: number;
2828
+ streamingUnloadingRadius?: number;
2829
+ };
2830
+ export type UpdateSceneSettings_Voxel = {
2831
+ maxNumberAlbedoValues?: number;
2832
+ };
2833
+ /**
2834
+ * Update the settings of a scene.
2835
+ */
2836
+ export declare function updateSceneSettings({ scene_id, body, }: {
2837
+ scene_id: string;
2838
+ body: UpdateSceneSettings_SceneSettings;
2839
+ }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
2391
2840
  export type GetRunningSessions_Filter = {
2392
2841
  user_id?: string;
2393
2842
  scene_id?: string;