@3dverse/api 0.11.0 → 0.12.0
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/README.md +6 -3
- package/dist/_prebuild/wrapper.d.ts +876 -52
- package/dist/index.js +124 -7
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +117 -7
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
|
@@ -84,16 +84,22 @@ export type ServiceError = {
|
|
|
84
84
|
/** Details specific to each error, e.g. the ids it concerns, or the reason of a refusal */
|
|
85
85
|
[_additionalproperties_: string]: any;
|
|
86
86
|
};
|
|
87
|
-
/**
|
|
88
|
-
|
|
87
|
+
/**
|
|
88
|
+
* The kind of token authenticating a request: OAuthToken, an access token of the authorization server acting for a
|
|
89
|
+
* person in one environment, authenticates the MCP endpoint only
|
|
90
|
+
*/
|
|
91
|
+
export type SessionType = 'ApiKey' | 'UserToken' | 'GuestToken' | 'OAuthToken';
|
|
89
92
|
/** What a token lets its holder do, each scope allowing what the ones before it allow */
|
|
90
93
|
export type SecurityScope = 'read' | 'write' | 'manage';
|
|
91
94
|
/** Why the caller may not do what it asks, its credentials being valid */
|
|
92
95
|
export type AccessRefused = InvalidAuthorization | InsufficientSecurityScope | InsufficientPermissions;
|
|
93
96
|
/** The user token object only supplies a user token for validation when connecting to a session. */
|
|
94
97
|
export type Token = {
|
|
98
|
+
/** The user token, a JWT */
|
|
95
99
|
user_token: string;
|
|
100
|
+
/** How long it is valid, in seconds */
|
|
96
101
|
expires_in: number;
|
|
102
|
+
/** When it expires, as a Unix timestamp in seconds */
|
|
97
103
|
expires_on: number;
|
|
98
104
|
};
|
|
99
105
|
/** Group unique identifier */
|
|
@@ -164,7 +170,7 @@ export type FolderAccess = {
|
|
|
164
170
|
export type SourceFileId = string;
|
|
165
171
|
/** Asset unique identifier, a version 4 uuid in its canonical lowercase form */
|
|
166
172
|
export type AssetId = string;
|
|
167
|
-
export type AssetType = 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material';
|
|
173
|
+
export type AssetType = 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'navmesh' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material';
|
|
168
174
|
/**
|
|
169
175
|
* The `source file` object represents the source file imported into 3dverse.
|
|
170
176
|
* This object contains the original uploaded file, along with the source file metadata.
|
|
@@ -239,9 +245,9 @@ export type AssetListFilters = {
|
|
|
239
245
|
/** Look for assets containing the given name (case-insensitive) */
|
|
240
246
|
asset_name?: string;
|
|
241
247
|
/** @deprecated Deprecated. Use asset_types instead. Look for assets of the given type */
|
|
242
|
-
asset_type?: (Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material'> | 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material') & any;
|
|
248
|
+
asset_type?: (Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'navmesh' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material'> | 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'navmesh' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material') & any;
|
|
243
249
|
/** Look for assets of the given types */
|
|
244
|
-
asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material'>;
|
|
250
|
+
asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'navmesh' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material'>;
|
|
245
251
|
/** Look for assets associated with or without libraries */
|
|
246
252
|
library?: Array<string> | string | 'exclude';
|
|
247
253
|
/**
|
|
@@ -320,6 +326,11 @@ export type AssetList = {
|
|
|
320
326
|
asset_id: string;
|
|
321
327
|
name: string;
|
|
322
328
|
}>;
|
|
329
|
+
navmeshes?: Array<{
|
|
330
|
+
/** Asset unique identifier, a version 4 uuid in its canonical lowercase form */
|
|
331
|
+
asset_id: string;
|
|
332
|
+
name: string;
|
|
333
|
+
}>;
|
|
323
334
|
point_clouds?: Array<{
|
|
324
335
|
/** Asset unique identifier, a version 4 uuid in its canonical lowercase form */
|
|
325
336
|
asset_id: string;
|
|
@@ -1462,12 +1473,12 @@ export type DuplicationRequestId = string;
|
|
|
1462
1473
|
export type DuplicationRequest = {
|
|
1463
1474
|
/** The account duplicating the assets, absent for a user's request */
|
|
1464
1475
|
account_id?: string;
|
|
1465
|
-
asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material'>;
|
|
1476
|
+
asset_types?: Array<'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'navmesh' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material'>;
|
|
1466
1477
|
/** The copies, sorted by id. A completed or failed request has none left. */
|
|
1467
1478
|
assets: Array<{
|
|
1468
1479
|
/** The id of the copy */
|
|
1469
1480
|
asset_id: string;
|
|
1470
|
-
asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material';
|
|
1481
|
+
asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'navmesh' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material';
|
|
1471
1482
|
/** What it depends on, copies and sources alike */
|
|
1472
1483
|
dependencies: Array<{
|
|
1473
1484
|
/** Asset unique identifier, a version 4 uuid in its canonical lowercase form */
|
|
@@ -1514,7 +1525,7 @@ export type DuplicationRequest = {
|
|
|
1514
1525
|
/** When a draft, a completed request or a failed one is deleted */
|
|
1515
1526
|
expires_at?: string;
|
|
1516
1527
|
folders_by_type: Array<{
|
|
1517
|
-
asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material';
|
|
1528
|
+
asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'navmesh' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material';
|
|
1518
1529
|
/** Folder unique identifier */
|
|
1519
1530
|
folder_id: string;
|
|
1520
1531
|
}>;
|
|
@@ -1669,6 +1680,42 @@ export type SupportedSourceFileFormats = {
|
|
|
1669
1680
|
file_extensions: Array<string>;
|
|
1670
1681
|
};
|
|
1671
1682
|
};
|
|
1683
|
+
/** Import unique identifier, which this service mints: the id of the pipeline running it. */
|
|
1684
|
+
export type ImportId = string;
|
|
1685
|
+
/** The unique identifier of a conversion */
|
|
1686
|
+
export type ConversionId = string;
|
|
1687
|
+
/** The conversion of one file of an import into assets. */
|
|
1688
|
+
export type Conversion = {
|
|
1689
|
+
conversion_id: ConversionId;
|
|
1690
|
+
/** Asset unique identifier, a version 4 uuid in its canonical lowercase form */
|
|
1691
|
+
asset_id?: string;
|
|
1692
|
+
source_file_id: SourceFileId;
|
|
1693
|
+
/** The name of the file converted */
|
|
1694
|
+
source_file_name: string;
|
|
1695
|
+
conversion_pipeline: ConversionPipeline;
|
|
1696
|
+
progress: ConversionProgress;
|
|
1697
|
+
status: ('pending' | 'converting' | 'error' | 'success') & string;
|
|
1698
|
+
};
|
|
1699
|
+
/**
|
|
1700
|
+
* An import of files into the environment, run as a data pipeline: the files uploaded or downloaded, unpacked, and
|
|
1701
|
+
* each one converted into assets, or imported as it is when it is an asset package. It names the folder its assets
|
|
1702
|
+
* were stored into, which they may have left since.
|
|
1703
|
+
*/
|
|
1704
|
+
export type Import = {
|
|
1705
|
+
import_id: ImportId;
|
|
1706
|
+
/** The folder the import stores its assets into */
|
|
1707
|
+
folder_id: FolderId;
|
|
1708
|
+
/** When the import was created */
|
|
1709
|
+
created_at: string;
|
|
1710
|
+
/** The user who created the import */
|
|
1711
|
+
created_by: UserInfo;
|
|
1712
|
+
/** The progress of the import, over all its conversions */
|
|
1713
|
+
progress: ConversionProgress;
|
|
1714
|
+
/** The progress of the download of the files given by URL, while they are downloaded */
|
|
1715
|
+
download_progress?: ConversionProgress;
|
|
1716
|
+
status: ('waiting' | 'downloading' | 'extracting' | 'pending' | 'converting' | 'error' | 'success' | 'rejected') & string;
|
|
1717
|
+
conversions: Array<Conversion>;
|
|
1718
|
+
};
|
|
1672
1719
|
/** A line a conversion task logged, as logged */
|
|
1673
1720
|
export type ConversionLogLine = {
|
|
1674
1721
|
/**
|
|
@@ -1686,13 +1733,13 @@ export type EnvironmentAssetListFilters = {
|
|
|
1686
1733
|
/** Include the assets shared with the platform, from any environment */
|
|
1687
1734
|
include_public_assets?: boolean;
|
|
1688
1735
|
};
|
|
1689
|
-
export type AssetContainer = 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_3d' | 'volume_materials';
|
|
1736
|
+
export type AssetContainer = 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'navmeshes' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_3d' | 'volume_materials';
|
|
1690
1737
|
/** An asset as platform-management holds it, where it is included, and how it was edited */
|
|
1691
1738
|
export type AssetDetails = {
|
|
1692
|
-
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' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_3d' | 'volume_materials';
|
|
1739
|
+
asset_container: 'action_maps' | 'animations' | 'animation_graphs' | 'animation_sequences' | 'animation_sets' | 'collision_geometries' | 'cubemaps' | 'event_maps' | 'materials' | 'meshes' | 'modules' | 'navmeshes' | 'point_clouds' | 'render_graphs' | 'scenes' | 'scripts' | 'shaders' | 'shader_contexts' | 'skeletons' | 'sounds' | 'textures' | 'textures_3d' | 'volume_materials';
|
|
1693
1740
|
/** Asset unique identifier, a version 4 uuid in its canonical lowercase form */
|
|
1694
1741
|
asset_id: string;
|
|
1695
|
-
asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material';
|
|
1742
|
+
asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'navmesh' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material';
|
|
1696
1743
|
contributors?: Array<{
|
|
1697
1744
|
contribution_count: number;
|
|
1698
1745
|
/** A user of an environment: a registered user, an API key's user, or an account's user. */
|
|
@@ -1771,6 +1818,21 @@ export type AssetDetails = {
|
|
|
1771
1818
|
/** Unique identifier of an organization */
|
|
1772
1819
|
organization_id: string;
|
|
1773
1820
|
organization_slug: string;
|
|
1821
|
+
/**
|
|
1822
|
+
* What the asset's payload takes, absent before the content service stored one, or for a payload recorded
|
|
1823
|
+
* with no size, as some the services before left
|
|
1824
|
+
*/
|
|
1825
|
+
payload?: {
|
|
1826
|
+
/**
|
|
1827
|
+
* Whether the payload is stored compressed, with LZ4: not those of the asset types whose compressedPayload trait
|
|
1828
|
+
* is false
|
|
1829
|
+
*/
|
|
1830
|
+
compressed: boolean;
|
|
1831
|
+
/** The payload's size, uncompressed, in bytes */
|
|
1832
|
+
size: number;
|
|
1833
|
+
/** What the payload takes on disk, in bytes, its size compressed, or its size when stored uncompressed */
|
|
1834
|
+
size_on_disk: number;
|
|
1835
|
+
};
|
|
1774
1836
|
/** Unique identifier of a project */
|
|
1775
1837
|
project_id: string;
|
|
1776
1838
|
project_slug: string;
|
|
@@ -2124,6 +2186,43 @@ export type AssetDescription = {
|
|
|
2124
2186
|
name: string;
|
|
2125
2187
|
/** Unique identifier for the asset */
|
|
2126
2188
|
uuid: string;
|
|
2189
|
+
} | {
|
|
2190
|
+
/** Area cost overrides (area ID -> traversal cost multiplier). Only non-default (!= 1.0f) entries need to be stored. */
|
|
2191
|
+
areaCosts?: Array<{
|
|
2192
|
+
areaId: number;
|
|
2193
|
+
cost: number;
|
|
2194
|
+
}>;
|
|
2195
|
+
/** World-space axis-aligned bounding box of the entire navmesh */
|
|
2196
|
+
boundingBox: {
|
|
2197
|
+
/** Maximum point of the box */
|
|
2198
|
+
max: Array<number>;
|
|
2199
|
+
/** Minimum point of the box */
|
|
2200
|
+
min: Array<number>;
|
|
2201
|
+
};
|
|
2202
|
+
/** World-space origin of the tile grid (bottom-left corner at layer 0) */
|
|
2203
|
+
gridOrigin: Array<number>;
|
|
2204
|
+
/** Name of the asset */
|
|
2205
|
+
name: string;
|
|
2206
|
+
/** Size in bytes of the payloads of all the tiles. */
|
|
2207
|
+
payloadSize: number;
|
|
2208
|
+
/** World-space dimensions of each tile: {width along x, height along z, depth along y}. Tiles are square on the xz-plane, so x == y. z is always 0. */
|
|
2209
|
+
tileDimensions: Array<number>;
|
|
2210
|
+
/** Description of each tile of the grid holding walkable area, the payload tile<N> storing the N-th. */
|
|
2211
|
+
tiles: Array<{
|
|
2212
|
+
/** World-space axis-aligned bounding box of this tile. */
|
|
2213
|
+
boundingBox: {
|
|
2214
|
+
/** Maximum point of the box */
|
|
2215
|
+
max: Array<number>;
|
|
2216
|
+
/** Minimum point of the box */
|
|
2217
|
+
min: Array<number>;
|
|
2218
|
+
};
|
|
2219
|
+
/** Grid position within the tile grid. */
|
|
2220
|
+
gridPosition: Array<number>;
|
|
2221
|
+
/** Size in bytes of the raw binary tile payload. */
|
|
2222
|
+
payloadSize: number;
|
|
2223
|
+
}>;
|
|
2224
|
+
/** Unique identifier for the asset */
|
|
2225
|
+
uuid: string;
|
|
2127
2226
|
} | {
|
|
2128
2227
|
/** Size in bytes of the acceleration structure payload: nodeCount * (sizeof(aabb) + pcasSize), the AABB of each node followed by its record. */
|
|
2129
2228
|
accelerationStructureSize: number;
|
|
@@ -4106,7 +4205,7 @@ export type EditableAssetDescription = {
|
|
|
4106
4205
|
/** Unique identifier for the asset */
|
|
4107
4206
|
uuid: string;
|
|
4108
4207
|
};
|
|
4109
|
-
export type AssetContainerWithPayload = 'animations' | 'animation_graphs' | 'animation_sequences' | 'collision_geometries' | 'meshes' | 'point_clouds' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_3d';
|
|
4208
|
+
export type AssetContainerWithPayload = 'animations' | 'animation_graphs' | 'animation_sequences' | 'collision_geometries' | 'meshes' | 'navmeshes' | 'point_clouds' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_3d';
|
|
4110
4209
|
export type AssetContainerWithGraph = 'animation_graphs' | 'render_graphs' | 'scripts' | 'shaders';
|
|
4111
4210
|
export type AssetContainerWithCode = 'animation_sequences' | 'modules' | 'scripts' | 'shaders';
|
|
4112
4211
|
export type AssetContainerExportable = 'meshes' | 'sounds';
|
|
@@ -4403,6 +4502,11 @@ export type Entity = {
|
|
|
4403
4502
|
[_additionalproperties_: string]: number;
|
|
4404
4503
|
};
|
|
4405
4504
|
};
|
|
4505
|
+
/** Reference to a navigation mesh asset. */
|
|
4506
|
+
navmesh_ref?: {
|
|
4507
|
+
/** Referenced navmesh (UUID). */
|
|
4508
|
+
value?: string;
|
|
4509
|
+
};
|
|
4406
4510
|
/** Orthographic projection lens with configurable zoom and depth range. */
|
|
4407
4511
|
orthographic_lens?: {
|
|
4408
4512
|
/** Far clipping plane distance (meters). */
|
|
@@ -4969,6 +5073,11 @@ export type SceneEntity = {
|
|
|
4969
5073
|
[_additionalproperties_: string]: number;
|
|
4970
5074
|
};
|
|
4971
5075
|
};
|
|
5076
|
+
/** Reference to a navigation mesh asset. */
|
|
5077
|
+
navmesh_ref?: {
|
|
5078
|
+
/** Referenced navmesh (UUID). */
|
|
5079
|
+
value?: string;
|
|
5080
|
+
};
|
|
4972
5081
|
/** Orthographic projection lens with configurable zoom and depth range. */
|
|
4973
5082
|
orthographic_lens?: {
|
|
4974
5083
|
/** Far clipping plane distance (meters). */
|
|
@@ -5459,7 +5568,7 @@ export type Session = {
|
|
|
5459
5568
|
metadata: Metadata;
|
|
5460
5569
|
};
|
|
5461
5570
|
export type SessionToken = {
|
|
5462
|
-
/** The token used to join the requested session */
|
|
5571
|
+
/** The token used to join the requested session, a JWT */
|
|
5463
5572
|
session_token: string;
|
|
5464
5573
|
/** The endpoint to connect to */
|
|
5465
5574
|
endpoint_info: {
|
|
@@ -5563,7 +5672,7 @@ export type ConversionCreated = {
|
|
|
5563
5672
|
/** Conversion unique identifier, which this service mints: the id of the job running it. */
|
|
5564
5673
|
conversion_id: string;
|
|
5565
5674
|
/** Its conversion type, unknown for an embedded file no converter supports. */
|
|
5566
|
-
conversion_type?: 'collision_geometry' | 'cubemap' | 'package' | 'point_cloud' | 'scene' | 'sound' | 'texture' | 'volume';
|
|
5675
|
+
conversion_type?: 'collision_geometry' | 'cubemap' | 'navmesh' | 'package' | 'point_cloud' | 'scene' | 'sound' | 'texture' | 'volume';
|
|
5567
5676
|
/** The converter it runs, unknown for an embedded file no converter supports. */
|
|
5568
5677
|
converter?: string;
|
|
5569
5678
|
/** Unique identifier of an environment */
|
|
@@ -5615,7 +5724,7 @@ export type ConversionCreated = {
|
|
|
5615
5724
|
used_assets?: Array<{
|
|
5616
5725
|
/** Asset unique identifier, a version 4 uuid in its canonical lowercase form */
|
|
5617
5726
|
asset_id: string;
|
|
5618
|
-
asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material';
|
|
5727
|
+
asset_type: 'action_map' | 'animation' | 'animation_graph' | 'animation_sequence' | 'animation_set' | 'collision_geometry' | 'cubemap' | 'event_map' | 'material' | 'mesh' | 'module' | 'navmesh' | 'point_cloud' | 'render_graph' | 'scene' | 'script' | 'shader' | 'shader_context' | 'skeleton' | 'sound' | 'texture' | 'texture_3d' | 'volume_material';
|
|
5619
5728
|
}>;
|
|
5620
5729
|
};
|
|
5621
5730
|
/** A conversion, or one of its steps, moved on, before it completed. */
|
|
@@ -5702,8 +5811,6 @@ export type ConversionCompleted = {
|
|
|
5702
5811
|
step_id: string;
|
|
5703
5812
|
}>;
|
|
5704
5813
|
};
|
|
5705
|
-
/** Import unique identifier, which this service mints: the id of the pipeline running it. */
|
|
5706
|
-
export type ImportId = string;
|
|
5707
5814
|
export type PipelineId = ImportId;
|
|
5708
5815
|
export type GroupMemberInput = {
|
|
5709
5816
|
user_id: UserId;
|
|
@@ -7808,6 +7915,20 @@ export declare class UploadAborted extends ServiceErrorResponse {
|
|
|
7808
7915
|
static readonly ERROR_CODE = 1009;
|
|
7809
7916
|
constructor(serviceError: Record<string, unknown>);
|
|
7810
7917
|
}
|
|
7918
|
+
export declare class ImportNotFound extends ServiceErrorResponse {
|
|
7919
|
+
static readonly ERROR_CODE = 1022;
|
|
7920
|
+
readonly import_id: ImportId;
|
|
7921
|
+
constructor(serviceError: Record<string, unknown>);
|
|
7922
|
+
}
|
|
7923
|
+
export declare class ConversionNotFound extends ServiceErrorResponse {
|
|
7924
|
+
static readonly ERROR_CODE = 1023;
|
|
7925
|
+
readonly conversion_id: ConversionId;
|
|
7926
|
+
constructor(serviceError: Record<string, unknown>);
|
|
7927
|
+
}
|
|
7928
|
+
export declare class LogsUnavailable extends ServiceErrorResponse {
|
|
7929
|
+
static readonly ERROR_CODE = 1019;
|
|
7930
|
+
constructor(serviceError: Record<string, unknown>);
|
|
7931
|
+
}
|
|
7811
7932
|
export declare class UploadTaskNotFound extends ServiceErrorResponse {
|
|
7812
7933
|
static readonly ERROR_CODE = 1010;
|
|
7813
7934
|
readonly upload_task_id: UploadTaskId;
|
|
@@ -7818,10 +7939,6 @@ export declare class ConversionTaskNotFound extends ServiceErrorResponse {
|
|
|
7818
7939
|
readonly conversion_task_id: ConversionTaskId;
|
|
7819
7940
|
constructor(serviceError: Record<string, unknown>);
|
|
7820
7941
|
}
|
|
7821
|
-
export declare class LogsUnavailable extends ServiceErrorResponse {
|
|
7822
|
-
static readonly ERROR_CODE = 1019;
|
|
7823
|
-
constructor(serviceError: Record<string, unknown>);
|
|
7824
|
-
}
|
|
7825
7942
|
export declare class InvalidGuestToken extends ServiceErrorResponse {
|
|
7826
7943
|
static readonly ERROR_CODE = 1016;
|
|
7827
7944
|
constructor(serviceError: Record<string, unknown>);
|
|
@@ -7848,7 +7965,7 @@ export declare class TooManyRequests extends ServiceErrorResponse {
|
|
|
7848
7965
|
constructor(serviceError: Record<string, unknown>);
|
|
7849
7966
|
}
|
|
7850
7967
|
/** The errors the spec declares. */
|
|
7851
|
-
export type DeclaredError = InvalidAuthorization | InsufficientSecurityScope | InsufficientPermissions | InvalidTokenTtl | InvalidParameter | MemberAccessesDiffer | InvalidMaterial | InvalidRequest | UploadedPayloadTooLarge | NoFileUploaded | UploadAborted |
|
|
7968
|
+
export type DeclaredError = InvalidAuthorization | InsufficientSecurityScope | InsufficientPermissions | InvalidTokenTtl | InvalidParameter | MemberAccessesDiffer | InvalidMaterial | InvalidRequest | UploadedPayloadTooLarge | NoFileUploaded | UploadAborted | ImportNotFound | ConversionNotFound | LogsUnavailable | UploadTaskNotFound | ConversionTaskNotFound | InvalidGuestToken | Unauthorized | MissingAuthorizationHeader | InvalidApiKey | TooManyRequests;
|
|
7852
7969
|
/**
|
|
7853
7970
|
* The error declared in the spec that a request failed with, or undefined: read from the error a function of this
|
|
7854
7971
|
* client rejected with, e.g. `if (errorOf(error) instanceof FolderNotFound)`.
|
|
@@ -7943,7 +8060,7 @@ export declare function updateUser({ user_id, username, }: {
|
|
|
7943
8060
|
*/
|
|
7944
8061
|
export declare function deleteUser({ user_id, }: {
|
|
7945
8062
|
user_id: UserId;
|
|
7946
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
8063
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
7947
8064
|
/**
|
|
7948
8065
|
* Generates a user token. This user token identifies the user when making a request, with the scope it was generated
|
|
7949
8066
|
* with, until it expires. It cannot be revoked.
|
|
@@ -8041,7 +8158,7 @@ export declare function updateGroup({ group_id, name, description, }: {
|
|
|
8041
8158
|
*/
|
|
8042
8159
|
export declare function deleteGroup({ group_id, }: {
|
|
8043
8160
|
group_id: GroupId;
|
|
8044
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
8161
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
8045
8162
|
/**
|
|
8046
8163
|
* Grants member access to the group.
|
|
8047
8164
|
* @throws {InvalidParameter}
|
|
@@ -8060,7 +8177,10 @@ export declare function grantMemberAccessToGroup({ group_id, member_type, member
|
|
|
8060
8177
|
member_id: string;
|
|
8061
8178
|
group_access: 'read' | 'write' | 'manage';
|
|
8062
8179
|
folder_access: 'read' | 'write' | 'manage';
|
|
8063
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8180
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8181
|
+
group_access: "read" | "write" | "manage";
|
|
8182
|
+
folder_access: "read" | "write" | "manage";
|
|
8183
|
+
}, {}, any>>;
|
|
8064
8184
|
/**
|
|
8065
8185
|
* Revoke requested user access to group.
|
|
8066
8186
|
* @throws {InvalidParameter}
|
|
@@ -8076,7 +8196,7 @@ export declare function revokeMemberAccessToGroup({ group_id, member_type, membe
|
|
|
8076
8196
|
group_id: GroupId;
|
|
8077
8197
|
member_type: 'users' | 'groups';
|
|
8078
8198
|
member_id: string;
|
|
8079
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
8199
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
8080
8200
|
/**
|
|
8081
8201
|
* Lists the folders the caller can read, at every depth, those in the trash left out.
|
|
8082
8202
|
* @throws {InvalidParameter}
|
|
@@ -8153,7 +8273,7 @@ export declare function updateFolder({ folder_id, name, }: {
|
|
|
8153
8273
|
*/
|
|
8154
8274
|
export declare function deleteFolder({ folder_id, }: {
|
|
8155
8275
|
folder_id: FolderId;
|
|
8156
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
8276
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
8157
8277
|
/**
|
|
8158
8278
|
* List member access to the targeted folder.
|
|
8159
8279
|
* @throws {InvalidParameter}
|
|
@@ -8196,7 +8316,9 @@ export declare function grantMemberAccessToFolder({ folder_id, member_type, memb
|
|
|
8196
8316
|
member_type: 'users' | 'groups';
|
|
8197
8317
|
member_id: string;
|
|
8198
8318
|
access: 'read' | 'write' | 'manage';
|
|
8199
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8319
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8320
|
+
access: "read" | "write" | "manage";
|
|
8321
|
+
}, {}, any>>;
|
|
8200
8322
|
/**
|
|
8201
8323
|
* Revokes member access to a target folder.
|
|
8202
8324
|
* @throws {InvalidParameter}
|
|
@@ -8212,7 +8334,7 @@ export declare function revokeMemberAccessToFolder({ folder_id, member_type, mem
|
|
|
8212
8334
|
folder_id: FolderId;
|
|
8213
8335
|
member_type: 'users' | 'groups';
|
|
8214
8336
|
member_id: string;
|
|
8215
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
8337
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
8216
8338
|
/**
|
|
8217
8339
|
* Creates a subfolder.
|
|
8218
8340
|
* @throws {InvalidParameter}
|
|
@@ -8261,8 +8383,12 @@ export declare function moveFolders({ folder_id, folder_ids, }: {
|
|
|
8261
8383
|
folder_id: FolderId;
|
|
8262
8384
|
/** The folders to move */
|
|
8263
8385
|
folder_ids: Array<FolderId>;
|
|
8264
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8386
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8387
|
+
folder_ids: string[];
|
|
8388
|
+
}, {}, any>>;
|
|
8265
8389
|
/**
|
|
8390
|
+
* **Deprecated**: use `createImport` (`POST /imports?folder_id=…`), which takes the same body, its `source_files`
|
|
8391
|
+
* named `remote_files`, and answers the import's `import_id`.
|
|
8266
8392
|
* Uploads the specified source file(s). The accepted extensions, their conversion type and
|
|
8267
8393
|
* per-converter options are listed by `GET /source-files/supported-formats` and documented at
|
|
8268
8394
|
* https://docs.3dverse.com/references/supported-file-formats.
|
|
@@ -8278,7 +8404,10 @@ export declare function moveFolders({ folder_id, folder_ids, }: {
|
|
|
8278
8404
|
* permissions on it, referencing one the `read-asset` permission. A file named as an asset file but which is not a valid one fails the
|
|
8279
8405
|
* import, the files named otherwise being ignored. The payloads of shaders, scripts, animation sequences and
|
|
8280
8406
|
* animation graphs, compiled code which only a library builds, are ignored.
|
|
8281
|
-
* The import runs asynchronously, as a data pipeline, the returned `upload_task_id` being its id.
|
|
8407
|
+
* The import runs asynchronously, as a data pipeline, the returned `upload_task_id` being its id. It is rejected
|
|
8408
|
+
* (`quota_exceeded`) once its files are unpacked if it would convert more source files than the plan of the
|
|
8409
|
+
* environment's organization has left this month, or store more than its storage has left, the organization's
|
|
8410
|
+
* conversions and assets counted as activity-monitor measures them.
|
|
8282
8411
|
* @throws {InvalidMaterial}
|
|
8283
8412
|
* @throws {InvalidRequest}
|
|
8284
8413
|
* @throws {InvalidParameter}
|
|
@@ -8315,9 +8444,12 @@ export declare function uploadSourceFiles({ folder_id, files, conversion_pipelin
|
|
|
8315
8444
|
options?: {
|
|
8316
8445
|
[_additionalproperties_: string]: any;
|
|
8317
8446
|
};
|
|
8318
|
-
}, onUploadProgress?: (progressEvent: AxiosProgressEvent) => void, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders):
|
|
8447
|
+
}, onUploadProgress?: (progressEvent: AxiosProgressEvent) => void, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<ResponseWithHeaders<{
|
|
8319
8448
|
upload_task_id?: UploadTaskId;
|
|
8320
|
-
}
|
|
8449
|
+
}, {
|
|
8450
|
+
deprecation?: string;
|
|
8451
|
+
link?: string;
|
|
8452
|
+
}>>;
|
|
8321
8453
|
/**
|
|
8322
8454
|
* Lists all source files in a folder.
|
|
8323
8455
|
* @throws {InvalidParameter}
|
|
@@ -8356,8 +8488,12 @@ export declare function moveSourceFiles({ folder_id, source_file_ids, }: {
|
|
|
8356
8488
|
folder_id: FolderId;
|
|
8357
8489
|
/** The source files to move */
|
|
8358
8490
|
source_file_ids: Array<SourceFileId>;
|
|
8359
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8491
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8492
|
+
source_file_ids: string[];
|
|
8493
|
+
}, {}, any>>;
|
|
8360
8494
|
/**
|
|
8495
|
+
* **Deprecated**, with no replacement: an import names the folder it stored its assets into, which they may have
|
|
8496
|
+
* left since. `listImports` lists the environment's imports, or a user's.
|
|
8361
8497
|
* Lists the upload tasks importing into a folder. The caller needs to be able to list the folder's upload tasks
|
|
8362
8498
|
* only: a user granted the folder lists them, without the environment's permission `listUploadTasks` needs.
|
|
8363
8499
|
* @throws {InvalidParameter}
|
|
@@ -8375,6 +8511,7 @@ export declare function listFolderUploadTasks({ folder_id, offset, limit, }: {
|
|
|
8375
8511
|
limit?: number;
|
|
8376
8512
|
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<ResponseWithHeaders<Array<UploadTask>, {
|
|
8377
8513
|
link?: string;
|
|
8514
|
+
deprecation?: string;
|
|
8378
8515
|
}>>;
|
|
8379
8516
|
/**
|
|
8380
8517
|
* Lists assets.
|
|
@@ -8461,7 +8598,9 @@ export declare function moveAssets({ folder_id, asset_ids, }: {
|
|
|
8461
8598
|
folder_id: FolderId;
|
|
8462
8599
|
/** The assets to move */
|
|
8463
8600
|
asset_ids: Array<AssetId>;
|
|
8464
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8601
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8602
|
+
asset_ids: string[];
|
|
8603
|
+
}, {}, any>>;
|
|
8465
8604
|
/**
|
|
8466
8605
|
* A duplication request of the caller, with its copies. A duplication answered with a 202 is done once its request
|
|
8467
8606
|
* is `completed`, or `failed` with its error. A completed request stays readable for 10 minutes, a failed one for 3
|
|
@@ -8518,7 +8657,10 @@ export declare function deleteSourceFiles({ source_file_ids, delete_assets, }: {
|
|
|
8518
8657
|
source_file_ids: Array<SourceFileId>;
|
|
8519
8658
|
/** If true, delete the assets associated with the source files as well. */
|
|
8520
8659
|
delete_assets?: boolean;
|
|
8521
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8660
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8661
|
+
source_file_ids: string[];
|
|
8662
|
+
delete_assets: boolean;
|
|
8663
|
+
}, {}, any>>;
|
|
8522
8664
|
/**
|
|
8523
8665
|
* Returns the source file formats accepted for conversion, grouped by conversion type, with the per-converter breakdown and each converter's options schema.
|
|
8524
8666
|
* @throws {MissingAuthorizationHeader}
|
|
@@ -8575,6 +8717,146 @@ export declare function listSourceFileAssets({ source_file_id, }: {
|
|
|
8575
8717
|
source_file_id: SourceFileId;
|
|
8576
8718
|
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): AxiosPromise<AssetList>;
|
|
8577
8719
|
/**
|
|
8720
|
+
* Imports files into a folder: source files, converted into assets, or asset packages, imported as they are. The
|
|
8721
|
+
* files are sent in the request, or given by URL, for the import to download them. The accepted extensions, their
|
|
8722
|
+
* conversion type and per-converter options are listed by `GET /source-files/supported-formats` and documented at
|
|
8723
|
+
* https://docs.3dverse.com/references/supported-file-formats.
|
|
8724
|
+
* The folder is given in the query, so that a request the folder's permission refuses is refused before any of its
|
|
8725
|
+
* files is received. The import stores its assets into it.
|
|
8726
|
+
* ### Importing an asset package
|
|
8727
|
+
* With the `package` conversion pipeline, the files are already converted assets, imported as they are, submitted
|
|
8728
|
+
* as zip archives (asset packages) or as the asset files themselves. The asset files are named
|
|
8729
|
+
* `<part>.<asset_type>[.<sub resource>].<uuid>`, where the part is `desc` (the asset description, in JSON),
|
|
8730
|
+
* `payload`, `graph` or `layout`, for example `desc.mesh.<uuid>`, `payload.mesh.<uuid>` or
|
|
8731
|
+
* `payload.texture.mip0.<uuid>`. The assets they reference must be submitted along with them, unless they already
|
|
8732
|
+
* exist. The submitted assets that already exist are overwritten only if they are listed in an `overwrite.json`
|
|
8733
|
+
* file, a JSON array of asset ids submitted along with them, the others being left as they are; without it, the
|
|
8734
|
+
* import fails if one of them already exists. Overwriting an asset requires the `update-asset` and `delete-asset`
|
|
8735
|
+
* permissions on it, referencing one the `read-asset` permission. A file named as an asset file but which is not a
|
|
8736
|
+
* valid one fails the import, the files named otherwise being ignored. The payloads of shaders, scripts, animation
|
|
8737
|
+
* sequences and animation graphs, compiled code which only a library builds, are ignored.
|
|
8738
|
+
* The import runs asynchronously, as a data pipeline, `getImport` telling its progress. It is rejected
|
|
8739
|
+
* (`quota_exceeded`) once its files are unpacked if it would convert more source files than the plan of the
|
|
8740
|
+
* environment's organization has left this month, or store more than its storage has left, the organization's
|
|
8741
|
+
* conversions and assets counted as activity-monitor measures them.
|
|
8742
|
+
* @throws {InvalidMaterial}
|
|
8743
|
+
* @throws {InvalidRequest}
|
|
8744
|
+
* @throws {InvalidParameter}
|
|
8745
|
+
* @throws {MissingAuthorizationHeader}
|
|
8746
|
+
* @throws {InvalidApiKey}
|
|
8747
|
+
* @throws {Unauthorized}
|
|
8748
|
+
* @throws {InvalidAuthorization}
|
|
8749
|
+
* @throws {InsufficientSecurityScope}
|
|
8750
|
+
* @throws {InsufficientPermissions}
|
|
8751
|
+
* @throws {UploadedPayloadTooLarge}
|
|
8752
|
+
* @throws {NoFileUploaded}
|
|
8753
|
+
* @throws {UploadAborted}
|
|
8754
|
+
* @throws {TooManyRequests}
|
|
8755
|
+
*/
|
|
8756
|
+
export declare function createImport({ folder_id, files, conversion_pipeline, remote_files, options, }: {
|
|
8757
|
+
folder_id: FolderId;
|
|
8758
|
+
/** The files to import, each with its file name. Files are accepted under any field name. */
|
|
8759
|
+
files?: Array<Blob>;
|
|
8760
|
+
conversion_pipeline: ConversionPipeline;
|
|
8761
|
+
/**
|
|
8762
|
+
* Files the import downloads, given by URL, in place of or along with the files sent: those already on a
|
|
8763
|
+
* storage service, or too large to send through the API.
|
|
8764
|
+
*/
|
|
8765
|
+
remote_files?: Array<{
|
|
8766
|
+
/** The name of the file */
|
|
8767
|
+
name: string;
|
|
8768
|
+
/** The URL of the file, which must be public, unless an Authorization header is given */
|
|
8769
|
+
url: string;
|
|
8770
|
+
/** The value of the Authorization header of the download, when it needs one */
|
|
8771
|
+
authorization?: string;
|
|
8772
|
+
}>;
|
|
8773
|
+
/** Options for the conversion pipeline. For future use. */
|
|
8774
|
+
options?: {
|
|
8775
|
+
[_additionalproperties_: string]: any;
|
|
8776
|
+
};
|
|
8777
|
+
}, onUploadProgress?: (progressEvent: AxiosProgressEvent) => void, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): AxiosPromise<{
|
|
8778
|
+
import_id: ImportId;
|
|
8779
|
+
}>;
|
|
8780
|
+
/**
|
|
8781
|
+
* Lists the imports of the caller's environment, or those of a user, with `filters`. The caller needs to be able to
|
|
8782
|
+
* list the environment's imports, and those of the user filtered on.
|
|
8783
|
+
* @throws {InvalidParameter}
|
|
8784
|
+
* @throws {MissingAuthorizationHeader}
|
|
8785
|
+
* @throws {InvalidApiKey}
|
|
8786
|
+
* @throws {Unauthorized}
|
|
8787
|
+
* @throws {InvalidAuthorization}
|
|
8788
|
+
* @throws {InsufficientSecurityScope}
|
|
8789
|
+
* @throws {InsufficientPermissions}
|
|
8790
|
+
* @throws {TooManyRequests}
|
|
8791
|
+
*/
|
|
8792
|
+
export declare function listImports({ offset, limit, filters, }: {
|
|
8793
|
+
offset?: number;
|
|
8794
|
+
limit?: number;
|
|
8795
|
+
filters?: {
|
|
8796
|
+
/** Only the imports of this user */
|
|
8797
|
+
user_id?: UserId;
|
|
8798
|
+
};
|
|
8799
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<ResponseWithHeaders<Array<Import>, {
|
|
8800
|
+
link?: string;
|
|
8801
|
+
}>>;
|
|
8802
|
+
/**
|
|
8803
|
+
* Gets an import, with its progress and each of its conversions.
|
|
8804
|
+
* @throws {InvalidParameter}
|
|
8805
|
+
* @throws {MissingAuthorizationHeader}
|
|
8806
|
+
* @throws {InvalidApiKey}
|
|
8807
|
+
* @throws {Unauthorized}
|
|
8808
|
+
* @throws {InvalidAuthorization}
|
|
8809
|
+
* @throws {InsufficientSecurityScope}
|
|
8810
|
+
* @throws {InsufficientPermissions}
|
|
8811
|
+
* @throws {ImportNotFound}
|
|
8812
|
+
* @throws {TooManyRequests}
|
|
8813
|
+
*/
|
|
8814
|
+
export declare function getImport({ import_id, }: {
|
|
8815
|
+
import_id: ImportId;
|
|
8816
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): AxiosPromise<Import>;
|
|
8817
|
+
/**
|
|
8818
|
+
* Gets the lines a conversion logged, the oldest first, while they are kept: those logged from its creation until a
|
|
8819
|
+
* minute after it finished, or until now while it runs, unless asked otherwise. When there are more lines than
|
|
8820
|
+
* answered, the `link` header gives the next ones (`rel="next"`). To follow a conversion still running, ask again
|
|
8821
|
+
* with `from` just after the timestamp of the last line received.
|
|
8822
|
+
* @throws {InvalidParameter}
|
|
8823
|
+
* @throws {MissingAuthorizationHeader}
|
|
8824
|
+
* @throws {InvalidApiKey}
|
|
8825
|
+
* @throws {Unauthorized}
|
|
8826
|
+
* @throws {InvalidAuthorization}
|
|
8827
|
+
* @throws {InsufficientSecurityScope}
|
|
8828
|
+
* @throws {InsufficientPermissions}
|
|
8829
|
+
* @throws {ConversionNotFound}
|
|
8830
|
+
* @throws {TooManyRequests}
|
|
8831
|
+
* @throws {LogsUnavailable}
|
|
8832
|
+
*/
|
|
8833
|
+
export declare function getConversionLogs({ conversion_id, from, to, limit, }: {
|
|
8834
|
+
conversion_id: ConversionId;
|
|
8835
|
+
from?: string;
|
|
8836
|
+
to?: string;
|
|
8837
|
+
limit?: number;
|
|
8838
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<ResponseWithHeaders<Array<ConversionLogLine>, {
|
|
8839
|
+
link?: string;
|
|
8840
|
+
}>>;
|
|
8841
|
+
/**
|
|
8842
|
+
* Gets a metadata file a conversion produced, along with its assets, such as the properties an IFC file's elements
|
|
8843
|
+
* carry. The files are kept for 24 hours after the conversion, then deleted.
|
|
8844
|
+
* @throws {InvalidParameter}
|
|
8845
|
+
* @throws {MissingAuthorizationHeader}
|
|
8846
|
+
* @throws {InvalidApiKey}
|
|
8847
|
+
* @throws {Unauthorized}
|
|
8848
|
+
* @throws {InvalidAuthorization}
|
|
8849
|
+
* @throws {InsufficientSecurityScope}
|
|
8850
|
+
* @throws {InsufficientPermissions}
|
|
8851
|
+
* @throws {ConversionNotFound}
|
|
8852
|
+
* @throws {TooManyRequests}
|
|
8853
|
+
*/
|
|
8854
|
+
export declare function getConversionMetadata<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>({ conversion_id, filename, }: {
|
|
8855
|
+
conversion_id: ConversionId;
|
|
8856
|
+
filename: string;
|
|
8857
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
|
|
8858
|
+
/**
|
|
8859
|
+
* **Deprecated**: use `listImports` (`GET /imports`), which takes the same filters.
|
|
8578
8860
|
* Lists the upload tasks of the caller's environment, or those of a user, with `filters`. These upload tasks relate
|
|
8579
8861
|
* to uploaded source files. The caller needs to be able to list the environment's upload tasks, and those of the
|
|
8580
8862
|
* user filtered on. Those of a folder are listed with `listFolderUploadTasks`.
|
|
@@ -8596,8 +8878,10 @@ export declare function listUploadTasks({ offset, limit, filters, }: {
|
|
|
8596
8878
|
};
|
|
8597
8879
|
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<ResponseWithHeaders<Array<UploadTask>, {
|
|
8598
8880
|
link?: string;
|
|
8881
|
+
deprecation?: string;
|
|
8599
8882
|
}>>;
|
|
8600
8883
|
/**
|
|
8884
|
+
* **Deprecated**: use `getImport` (`GET /imports/{import_id}`), the import's id being the upload task's.
|
|
8601
8885
|
* Gets information related to an upload task. This upload task relates to uploaded source files.
|
|
8602
8886
|
* @throws {InvalidParameter}
|
|
8603
8887
|
* @throws {MissingAuthorizationHeader}
|
|
@@ -8611,9 +8895,15 @@ export declare function listUploadTasks({ offset, limit, filters, }: {
|
|
|
8611
8895
|
*/
|
|
8612
8896
|
export declare function getUploadTask({ upload_task_id, }: {
|
|
8613
8897
|
upload_task_id: UploadTaskId;
|
|
8614
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders):
|
|
8898
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<ResponseWithHeaders<UploadTask, {
|
|
8899
|
+
deprecation?: string;
|
|
8900
|
+
link?: string;
|
|
8901
|
+
}>>;
|
|
8615
8902
|
/**
|
|
8616
|
-
*
|
|
8903
|
+
* **Deprecated**: use `getConversionMetadata` (`GET /conversions/{conversion_id}/metadata/{filename}`), the
|
|
8904
|
+
* conversion's id being the conversion task's.
|
|
8905
|
+
* Gets metadata related to a conversion task. This metadata is produced by the conversion task, and kept for 24
|
|
8906
|
+
* hours.
|
|
8617
8907
|
* @throws {InvalidParameter}
|
|
8618
8908
|
* @throws {MissingAuthorizationHeader}
|
|
8619
8909
|
* @throws {InvalidApiKey}
|
|
@@ -8627,8 +8917,13 @@ export declare function getUploadTask({ upload_task_id, }: {
|
|
|
8627
8917
|
export declare function getConversionTaskMetadata<T extends 'arraybuffer' | 'stream' | 'json' | 'text' = 'arraybuffer'>({ conversion_task_id, filename, }: {
|
|
8628
8918
|
conversion_task_id: ConversionTaskId;
|
|
8629
8919
|
filename: string;
|
|
8630
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders, responseType?: T):
|
|
8920
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders, responseType?: T): Promise<ResponseWithHeaders<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never, {
|
|
8921
|
+
deprecation?: string;
|
|
8922
|
+
link?: string;
|
|
8923
|
+
}>>;
|
|
8631
8924
|
/**
|
|
8925
|
+
* **Deprecated**: use `getConversionLogs` (`GET /conversions/{conversion_id}/logs`), the conversion's id being the
|
|
8926
|
+
* conversion task's.
|
|
8632
8927
|
* Gets the lines a conversion task logged, the oldest first, while they are kept: those logged from its creation until
|
|
8633
8928
|
* a minute after it finished, or until now while it runs, unless asked otherwise. When there are more lines than
|
|
8634
8929
|
* answered, the `link` header gives the next ones (`rel="next"`). To follow a conversion task still running, ask
|
|
@@ -8651,6 +8946,7 @@ export declare function getConversionTaskLogs({ conversion_task_id, from, to, li
|
|
|
8651
8946
|
limit?: number;
|
|
8652
8947
|
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<ResponseWithHeaders<Array<ConversionLogLine>, {
|
|
8653
8948
|
link?: string;
|
|
8949
|
+
deprecation?: string;
|
|
8654
8950
|
}>>;
|
|
8655
8951
|
/**
|
|
8656
8952
|
* Lists the assets of the caller's environment, at every depth, grouped by type, and with
|
|
@@ -8686,7 +8982,7 @@ export declare function listAssets({ offset, limit, filters, }: {
|
|
|
8686
8982
|
*/
|
|
8687
8983
|
export declare function deleteAssets({ asset_ids, }: {
|
|
8688
8984
|
asset_ids: Array<AssetId>;
|
|
8689
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8985
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, string[], {}, any>>;
|
|
8690
8986
|
/**
|
|
8691
8987
|
* Deletes the asset.
|
|
8692
8988
|
* @throws {InvalidParameter}
|
|
@@ -8701,7 +8997,7 @@ export declare function deleteAssets({ asset_ids, }: {
|
|
|
8701
8997
|
export declare function deleteAsset({ asset_container, asset_id, }: {
|
|
8702
8998
|
asset_container: AssetContainer;
|
|
8703
8999
|
asset_id: AssetId;
|
|
8704
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
9000
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
8705
9001
|
/**
|
|
8706
9002
|
* Renames the asset.
|
|
8707
9003
|
* @throws {InvalidParameter}
|
|
@@ -8717,7 +9013,9 @@ export declare function renameAsset({ asset_container, asset_id, name, }: {
|
|
|
8717
9013
|
asset_container: AssetContainer;
|
|
8718
9014
|
asset_id: AssetId;
|
|
8719
9015
|
name: string;
|
|
8720
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
9016
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
9017
|
+
name: string;
|
|
9018
|
+
}, {}, any>>;
|
|
8721
9019
|
/**
|
|
8722
9020
|
* Gets the asset details from the specified asset.
|
|
8723
9021
|
* @throws {InvalidParameter}
|
|
@@ -8851,7 +9149,7 @@ export declare function updateAssetDescription({ asset_id, asset_container, asse
|
|
|
8851
9149
|
asset_id: AssetId;
|
|
8852
9150
|
asset_container: AssetContainerEditable;
|
|
8853
9151
|
asset_description: EditableAssetDescriptionInput;
|
|
8854
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
9152
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, EditableAssetDescriptionInput, {}, any>>;
|
|
8855
9153
|
/**
|
|
8856
9154
|
* Gets the asset payload from the specified asset.
|
|
8857
9155
|
* @throws {InvalidParameter}
|
|
@@ -8904,7 +9202,9 @@ export declare function updateAssetGraph({ asset_container_with_graph, asset_id,
|
|
|
8904
9202
|
asset_graph: {
|
|
8905
9203
|
[_additionalproperties_: string]: any;
|
|
8906
9204
|
};
|
|
8907
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
9205
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
9206
|
+
[_additionalproperties_: string]: any;
|
|
9207
|
+
}, {}, any>>;
|
|
8908
9208
|
/**
|
|
8909
9209
|
* Gets the edit history of the specified asset: the distinct `contributors` (so a consumer can resolve them to display names) and the chronological `timeline` of modifications.
|
|
8910
9210
|
* @throws {InvalidParameter}
|
|
@@ -8984,7 +9284,7 @@ export declare function setAssetThumbnail({ asset_container, asset_id, body, }:
|
|
|
8984
9284
|
asset_container: AssetContainer;
|
|
8985
9285
|
asset_id: AssetId;
|
|
8986
9286
|
body: ArrayBuffer | ReadableStream;
|
|
8987
|
-
}, contentType: 'image/jpeg' | 'image/jpg' | 'image/png', headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any
|
|
9287
|
+
}, contentType: 'image/jpeg' | 'image/jpg' | 'image/png', headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, ArrayBuffer | ReadableStream<any>, {}, any>>;
|
|
8988
9288
|
/**
|
|
8989
9289
|
* Packages and downloads the target asset.
|
|
8990
9290
|
* @throws {InvalidParameter}
|
|
@@ -9048,7 +9348,7 @@ export declare function getSceneAABB({ scene_id, }: {
|
|
|
9048
9348
|
* @throws {InsufficientPermissions}
|
|
9049
9349
|
* @throws {TooManyRequests}
|
|
9050
9350
|
*/
|
|
9051
|
-
export declare function createEntity({ scene_id, animation_controller, animation_sequence_controller, bone, box_geometry, camera, capsule_geometry, character_controller, collision_geometry_ref, constraint, constraint_actuator, culling_geometry, custom_lens, cylinder_geometry, debug_name, decal_projector, environment, joint, label, lineage, local_aabb, local_transform, material, material_ref, measure, mesh_ref, morph_targets, orthographic_lens, overrider, perspective_lens, physics_material, plane_geometry, point_cloud_ref, point_light, reflection_probe, rigid_body, scene_ref, script_element, script_map, shadow_caster, skeleton_ref, sound_ref, sphere_geometry, spline, spot_light, tags, vehicle_controller, volume_filter, volume_material_ref, volume_ref, }: {
|
|
9351
|
+
export declare function createEntity({ scene_id, animation_controller, animation_sequence_controller, bone, box_geometry, camera, capsule_geometry, character_controller, collision_geometry_ref, constraint, constraint_actuator, culling_geometry, custom_lens, cylinder_geometry, debug_name, decal_projector, environment, joint, label, lineage, local_aabb, local_transform, material, material_ref, measure, mesh_ref, morph_targets, navmesh_ref, orthographic_lens, overrider, perspective_lens, physics_material, plane_geometry, point_cloud_ref, point_light, reflection_probe, rigid_body, scene_ref, script_element, script_map, shadow_caster, skeleton_ref, sound_ref, sphere_geometry, spline, spot_light, tags, vehicle_controller, volume_filter, volume_material_ref, volume_ref, }: {
|
|
9052
9352
|
scene_id: AssetId;
|
|
9053
9353
|
/** Drives skeletal animation using an Animation Graph and Animation Set; animates descendant skinned meshes whose skeletons are compatible with the set. */
|
|
9054
9354
|
animation_controller?: {
|
|
@@ -9335,6 +9635,11 @@ export declare function createEntity({ scene_id, animation_controller, animation
|
|
|
9335
9635
|
[_additionalproperties_: string]: number;
|
|
9336
9636
|
};
|
|
9337
9637
|
};
|
|
9638
|
+
/** Reference to a navigation mesh asset. */
|
|
9639
|
+
navmesh_ref?: {
|
|
9640
|
+
/** Referenced navmesh (UUID). */
|
|
9641
|
+
value?: string;
|
|
9642
|
+
};
|
|
9338
9643
|
/** Orthographic projection lens with configurable zoom and depth range. */
|
|
9339
9644
|
orthographic_lens?: {
|
|
9340
9645
|
/** Far clipping plane distance (meters). */
|
|
@@ -9639,7 +9944,7 @@ export declare function getEntity({ scene_id, entity_id, compute_global_transfor
|
|
|
9639
9944
|
* @throws {InsufficientPermissions}
|
|
9640
9945
|
* @throws {TooManyRequests}
|
|
9641
9946
|
*/
|
|
9642
|
-
export declare function updateEntity({ scene_id, entity_id, animation_controller, animation_sequence_controller, bone, box_geometry, camera, capsule_geometry, character_controller, collision_geometry_ref, constraint, constraint_actuator, culling_geometry, custom_lens, cylinder_geometry, debug_name, decal_projector, environment, joint, label, lineage, local_aabb, local_transform, material, material_ref, measure, mesh_ref, morph_targets, orthographic_lens, overrider, perspective_lens, physics_material, plane_geometry, point_cloud_ref, point_light, reflection_probe, rigid_body, scene_ref, script_element, script_map, shadow_caster, skeleton_ref, sound_ref, sphere_geometry, spline, spot_light, tags, vehicle_controller, volume_filter, volume_material_ref, volume_ref, }: {
|
|
9947
|
+
export declare function updateEntity({ scene_id, entity_id, animation_controller, animation_sequence_controller, bone, box_geometry, camera, capsule_geometry, character_controller, collision_geometry_ref, constraint, constraint_actuator, culling_geometry, custom_lens, cylinder_geometry, debug_name, decal_projector, environment, joint, label, lineage, local_aabb, local_transform, material, material_ref, measure, mesh_ref, morph_targets, navmesh_ref, orthographic_lens, overrider, perspective_lens, physics_material, plane_geometry, point_cloud_ref, point_light, reflection_probe, rigid_body, scene_ref, script_element, script_map, shadow_caster, skeleton_ref, sound_ref, sphere_geometry, spline, spot_light, tags, vehicle_controller, volume_filter, volume_material_ref, volume_ref, }: {
|
|
9643
9948
|
scene_id: AssetId;
|
|
9644
9949
|
entity_id: string;
|
|
9645
9950
|
/** Drives skeletal animation using an Animation Graph and Animation Set; animates descendant skinned meshes whose skeletons are compatible with the set. */
|
|
@@ -9927,6 +10232,11 @@ export declare function updateEntity({ scene_id, entity_id, animation_controller
|
|
|
9927
10232
|
[_additionalproperties_: string]: number;
|
|
9928
10233
|
};
|
|
9929
10234
|
};
|
|
10235
|
+
/** Reference to a navigation mesh asset. */
|
|
10236
|
+
navmesh_ref?: {
|
|
10237
|
+
/** Referenced navmesh (UUID). */
|
|
10238
|
+
value?: string;
|
|
10239
|
+
};
|
|
9930
10240
|
/** Orthographic projection lens with configurable zoom and depth range. */
|
|
9931
10241
|
orthographic_lens?: {
|
|
9932
10242
|
/** Far clipping plane distance (meters). */
|
|
@@ -10200,7 +10510,521 @@ export declare function updateEntity({ scene_id, entity_id, animation_controller
|
|
|
10200
10510
|
/** Referenced 3D texture (UUID) containing the volume voxels. */
|
|
10201
10511
|
texture3dRef?: string;
|
|
10202
10512
|
};
|
|
10203
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
10513
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
10514
|
+
animation_controller: {
|
|
10515
|
+
/** Referenced Animation Graph (UUID). */
|
|
10516
|
+
animationGraphRef?: string;
|
|
10517
|
+
/** Referenced Animation Set (UUID). */
|
|
10518
|
+
animationSetRef?: string;
|
|
10519
|
+
/** Autoplay when the session starts. */
|
|
10520
|
+
autoPlay?: boolean;
|
|
10521
|
+
/** Animation Graph input parameters in JSON format. */
|
|
10522
|
+
dataJSON?: {
|
|
10523
|
+
[_additionalproperties_: string]: any;
|
|
10524
|
+
};
|
|
10525
|
+
/** Entity containing the Bone component for the skeleton's root bone. */
|
|
10526
|
+
rootBoneEntityRef?: {
|
|
10527
|
+
linkage: Array<string>;
|
|
10528
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10529
|
+
originalEUID: string;
|
|
10530
|
+
};
|
|
10531
|
+
/** Enable root motion extraction and application to the entity transform. */
|
|
10532
|
+
rootMotionEnabled?: boolean;
|
|
10533
|
+
};
|
|
10534
|
+
animation_sequence_controller: {
|
|
10535
|
+
/** Referenced Animation Sequence (UUID). */
|
|
10536
|
+
animationSequenceRef?: string;
|
|
10537
|
+
/** Map from track UUID to assigned entity. */
|
|
10538
|
+
entities?: {
|
|
10539
|
+
/** A reference to an entity: the uuid it was created with, and the uuids of the linkers it was instanced through. */
|
|
10540
|
+
[_additionalproperties_: string]: {
|
|
10541
|
+
linkage: Array<string>;
|
|
10542
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10543
|
+
originalEUID: string;
|
|
10544
|
+
};
|
|
10545
|
+
};
|
|
10546
|
+
/** Loop playback when reaching the stop offset. */
|
|
10547
|
+
loop?: boolean;
|
|
10548
|
+
/** Playback speed multiplier. Negative values play in reverse. */
|
|
10549
|
+
playbackSpeed?: number;
|
|
10550
|
+
/** Normalized start offset [0, 1]. */
|
|
10551
|
+
startOffset?: number;
|
|
10552
|
+
/** Normalized stop offset [0, 1]. When looping, playback wraps to startOffset at this point. */
|
|
10553
|
+
stopOffset?: number;
|
|
10554
|
+
};
|
|
10555
|
+
bone: {
|
|
10556
|
+
/** Zero-based index of this bone within the bound skeleton. */
|
|
10557
|
+
boneIndex?: number;
|
|
10558
|
+
};
|
|
10559
|
+
box_geometry: {
|
|
10560
|
+
/** Box dimensions (width, height, depth) in meters. */
|
|
10561
|
+
dimension?: Array<number>;
|
|
10562
|
+
/** Local offset of the geometry origin (meters). */
|
|
10563
|
+
offset?: Array<number>;
|
|
10564
|
+
};
|
|
10565
|
+
camera: {
|
|
10566
|
+
/** Render Graph input parameters in JSON; schema defined by renderGraphRef. */
|
|
10567
|
+
dataJSON?: {
|
|
10568
|
+
[_additionalproperties_: string]: any;
|
|
10569
|
+
};
|
|
10570
|
+
/** Referenced render graph to use for rendering from this camera. */
|
|
10571
|
+
renderGraphRef?: string;
|
|
10572
|
+
/** Index of the render target to blit/output to. -1 indicates the default target. */
|
|
10573
|
+
renderTargetIndex?: number;
|
|
10574
|
+
};
|
|
10575
|
+
capsule_geometry: {
|
|
10576
|
+
/** Alignment axis of the capsule: 0=X, 1=Y, 2=Z. */
|
|
10577
|
+
axis?: (0 | 1 | 2) & number;
|
|
10578
|
+
/** Height of the cylindrical mid-section (meters). */
|
|
10579
|
+
height?: number;
|
|
10580
|
+
/** Local offset of the geometry origin (meters). */
|
|
10581
|
+
offset?: Array<number>;
|
|
10582
|
+
/** Radius of the hemispherical ends (meters). */
|
|
10583
|
+
radius?: number;
|
|
10584
|
+
};
|
|
10585
|
+
character_controller: {
|
|
10586
|
+
/** Collision skin width (meters). */
|
|
10587
|
+
skinWidth?: number;
|
|
10588
|
+
/** Maximum walkable slope (degrees). Slopes steeper than this are not walkable. */
|
|
10589
|
+
slopeLimit?: number;
|
|
10590
|
+
/** Maximum climbable step height. Steps higher than this cannot be climbed automatically. */
|
|
10591
|
+
stepOffset?: number;
|
|
10592
|
+
};
|
|
10593
|
+
collision_geometry_ref: {
|
|
10594
|
+
/** Referenced collision geometry (UUID). */
|
|
10595
|
+
collisionGeometryRef?: string;
|
|
10596
|
+
};
|
|
10597
|
+
constraint: {
|
|
10598
|
+
/** Linear limit spring damping per axis (N·s/m). */
|
|
10599
|
+
motionLimitSpringDamping?: Array<number>;
|
|
10600
|
+
/** Linear limit spring stiffness per axis (N/m). >0 makes the limit soft (spring-like). */
|
|
10601
|
+
motionLimitSpringStiffness?: Array<number>;
|
|
10602
|
+
/** Lower linear limit per axis (meters). */
|
|
10603
|
+
motionLowerLimit?: Array<number>;
|
|
10604
|
+
/** Upper linear limit per axis (meters). */
|
|
10605
|
+
motionUpperLimit?: Array<number>;
|
|
10606
|
+
/** Swing cone half-angles about Y and Z of the constraint frame (degrees). 0 does not restrict rotation; max 180. Used if either swing axis is limited. */
|
|
10607
|
+
swingLimitAngle?: Array<number>;
|
|
10608
|
+
/** Swing limit spring damping (N·m·s/rad). */
|
|
10609
|
+
swingSpringDamping?: number;
|
|
10610
|
+
/** Swing limit spring stiffness (N·m/rad). >0 makes the limit soft. */
|
|
10611
|
+
swingSpringStiffness?: number;
|
|
10612
|
+
/** Twist angle limits (min,max) around the twist axis (degrees). Range (−360, 360). */
|
|
10613
|
+
twistLimitAngle?: Array<number>;
|
|
10614
|
+
/** Twist limit spring damping (N·m·s/rad). */
|
|
10615
|
+
twistSpringDamping?: number;
|
|
10616
|
+
/** Twist limit spring stiffness (N·m/rad). >0 makes the limit soft. */
|
|
10617
|
+
twistSpringStiffness?: number;
|
|
10618
|
+
/** Unlock motion along/around the specified axes. */
|
|
10619
|
+
unlockedMotion?: number;
|
|
10620
|
+
};
|
|
10621
|
+
constraint_actuator: {
|
|
10622
|
+
/** Angular drive damping per axis (N·m·s/rad). */
|
|
10623
|
+
angularDamping?: Array<number>;
|
|
10624
|
+
/** Max angular drive torque/impulse per axis (N·m). −1 = unlimited. */
|
|
10625
|
+
angularForceLimit?: Array<number>;
|
|
10626
|
+
/** Angular drive stiffness per axis (N·m/rad). >0 applies spring torque toward the goal. */
|
|
10627
|
+
angularStiffness?: Array<number>;
|
|
10628
|
+
/** Target angular velocity (rad/s). */
|
|
10629
|
+
angularVelocity?: Array<number>;
|
|
10630
|
+
/** Target angular orientation. */
|
|
10631
|
+
goalOrientation?: Array<number>;
|
|
10632
|
+
/** Target linear position offset (meters). */
|
|
10633
|
+
goalPosition?: Array<number>;
|
|
10634
|
+
/** Linear drive damping per axis (N·s/m). */
|
|
10635
|
+
linearDamping?: Array<number>;
|
|
10636
|
+
/** Max linear drive force/impulse per axis (N). −1 = unlimited. */
|
|
10637
|
+
linearForceLimit?: Array<number>;
|
|
10638
|
+
/** Linear drive stiffness per axis (N/m). >0 applies spring force toward the goal. */
|
|
10639
|
+
linearStiffness?: Array<number>;
|
|
10640
|
+
/** Target linear velocity (m/s). */
|
|
10641
|
+
linearVelocity?: Array<number>;
|
|
10642
|
+
/** Drive type: apply as force or as acceleration. */
|
|
10643
|
+
type?: (0 | 1) & number;
|
|
10644
|
+
};
|
|
10645
|
+
culling_geometry: {
|
|
10646
|
+
/** Additive: show elements inside the geometry. Subtractive: show elements outside the geometry. */
|
|
10647
|
+
isAdditive?: boolean;
|
|
10648
|
+
};
|
|
10649
|
+
custom_lens: {
|
|
10650
|
+
/** Projection matrix mapping view-space to clip-space (cs_from_vs). */
|
|
10651
|
+
cs_from_vs?: Array<number>;
|
|
10652
|
+
};
|
|
10653
|
+
cylinder_geometry: {
|
|
10654
|
+
/** Alignment axis of the cylinder: 0=X, 1=Y, 2=Z. */
|
|
10655
|
+
axis?: (0 | 1 | 2) & number;
|
|
10656
|
+
/** Height of the cylinder (meters). */
|
|
10657
|
+
height?: number;
|
|
10658
|
+
/** Local offset of the geometry origin (meters). */
|
|
10659
|
+
offset?: Array<number>;
|
|
10660
|
+
/** Radius of the cylinder (meters). */
|
|
10661
|
+
radius?: number;
|
|
10662
|
+
};
|
|
10663
|
+
debug_name: {
|
|
10664
|
+
/** Entity name. */
|
|
10665
|
+
value?: string;
|
|
10666
|
+
};
|
|
10667
|
+
decal_projector: {
|
|
10668
|
+
/** Z-index ordering for decal rendering; higher values render on top of lower ones. */
|
|
10669
|
+
zIndex?: number;
|
|
10670
|
+
};
|
|
10671
|
+
environment: {
|
|
10672
|
+
/** Diffuse irradiance cubemap used for ambient PBR lighting. */
|
|
10673
|
+
irradianceUUID?: string;
|
|
10674
|
+
/** Specular radiance cubemap (prefiltered) used for PBR reflections. */
|
|
10675
|
+
radianceUUID?: string;
|
|
10676
|
+
/** Skybox cubemap used as the scene background (no lighting effect). */
|
|
10677
|
+
skyboxUUID?: string;
|
|
10678
|
+
};
|
|
10679
|
+
joint: {
|
|
10680
|
+
/** Break force threshold (Newtons). */
|
|
10681
|
+
breakForce?: number;
|
|
10682
|
+
/** Break torque threshold (N·m). */
|
|
10683
|
+
breakTorque?: number;
|
|
10684
|
+
/** Entity with a Rigid Body to be constrained. */
|
|
10685
|
+
constrainee?: {
|
|
10686
|
+
linkage: Array<string>;
|
|
10687
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10688
|
+
originalEUID: string;
|
|
10689
|
+
};
|
|
10690
|
+
/** Entity acting as constrainer (rigid/static) or null to constrain to world origin. */
|
|
10691
|
+
constrainer?: {
|
|
10692
|
+
linkage: Array<string>;
|
|
10693
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10694
|
+
originalEUID: string;
|
|
10695
|
+
};
|
|
10696
|
+
/** Enable collision between constrainer and constrainee bodies. */
|
|
10697
|
+
enableCollision?: boolean;
|
|
10698
|
+
};
|
|
10699
|
+
label: {
|
|
10700
|
+
/** Camera framing parameters for navigating to the label. */
|
|
10701
|
+
camera?: Array<number>;
|
|
10702
|
+
/** Label description text. */
|
|
10703
|
+
description?: string;
|
|
10704
|
+
/** Camera travel speed (meters/second). */
|
|
10705
|
+
speed?: number;
|
|
10706
|
+
/** Label title text. */
|
|
10707
|
+
title?: string;
|
|
10708
|
+
};
|
|
10709
|
+
lineage: {
|
|
10710
|
+
/** Ordinal index among siblings (editor-only). */
|
|
10711
|
+
ordinal?: number;
|
|
10712
|
+
/** UUID of this entity's parent (default is root). */
|
|
10713
|
+
parentUUID?: string;
|
|
10714
|
+
};
|
|
10715
|
+
local_aabb: {
|
|
10716
|
+
/** Local AABB maximum corner (x,y,z). */
|
|
10717
|
+
max?: Array<number>;
|
|
10718
|
+
/** Local AABB minimum corner (x,y,z). */
|
|
10719
|
+
min?: Array<number>;
|
|
10720
|
+
};
|
|
10721
|
+
local_transform: {
|
|
10722
|
+
/** Local orientation as Euler angles (editor-only). */
|
|
10723
|
+
eulerOrientation?: Array<number>;
|
|
10724
|
+
/** Last global orientation entered by a user as Euler angles (may be invalid; editor-only). */
|
|
10725
|
+
globalEulerOrientation?: Array<number>;
|
|
10726
|
+
/** Local orientation as a quaternion. */
|
|
10727
|
+
orientation?: Array<number>;
|
|
10728
|
+
/** Local position (x, y, z) in meters. */
|
|
10729
|
+
position?: Array<number>;
|
|
10730
|
+
/** Local non-uniform scale (x, y, z). */
|
|
10731
|
+
scale?: Array<number>;
|
|
10732
|
+
};
|
|
10733
|
+
material: {
|
|
10734
|
+
/** Specialization constants (JSON); schema defined by shaderRef. */
|
|
10735
|
+
constantsJSON?: {
|
|
10736
|
+
[_additionalproperties_: string]: any;
|
|
10737
|
+
};
|
|
10738
|
+
/** Shader input values (JSON); schema defined by shaderRef. */
|
|
10739
|
+
dataJSON?: {
|
|
10740
|
+
[_additionalproperties_: string]: any;
|
|
10741
|
+
};
|
|
10742
|
+
/** Render both front and back faces (double-sided). */
|
|
10743
|
+
isDoubleSided?: boolean;
|
|
10744
|
+
/** Referenced shader (UUID). */
|
|
10745
|
+
shaderRef?: string;
|
|
10746
|
+
};
|
|
10747
|
+
material_ref: {
|
|
10748
|
+
/** Face culling override: 0 = inherit from material, 1 = single-sided, 2 = double-sided. */
|
|
10749
|
+
faceCulling?: (0 | 1 | 2) & number;
|
|
10750
|
+
/** Referenced material (UUID). */
|
|
10751
|
+
value?: string;
|
|
10752
|
+
};
|
|
10753
|
+
measure: {
|
|
10754
|
+
/** Display color for the measurement. */
|
|
10755
|
+
color?: Array<number>;
|
|
10756
|
+
/** Measurement type to display. */
|
|
10757
|
+
type?: (0 | 1 | 2 | 3) & number;
|
|
10758
|
+
};
|
|
10759
|
+
mesh_ref: {
|
|
10760
|
+
/** Shadow casting mode for this mesh. */
|
|
10761
|
+
shadowCastingMode?: (0 | 1) & number;
|
|
10762
|
+
/** Index of the submesh within the mesh's submesh array. */
|
|
10763
|
+
submeshIndex?: number;
|
|
10764
|
+
/** Referenced mesh (UUID). */
|
|
10765
|
+
value?: string;
|
|
10766
|
+
};
|
|
10767
|
+
morph_targets: {
|
|
10768
|
+
/** Map from morph target name to weight (commonly 0..1). */
|
|
10769
|
+
weights?: {
|
|
10770
|
+
[_additionalproperties_: string]: number;
|
|
10771
|
+
};
|
|
10772
|
+
};
|
|
10773
|
+
navmesh_ref: {
|
|
10774
|
+
/** Referenced navmesh (UUID). */
|
|
10775
|
+
value?: string;
|
|
10776
|
+
};
|
|
10777
|
+
orthographic_lens: {
|
|
10778
|
+
/** Far clipping plane distance (meters). */
|
|
10779
|
+
zFar?: number;
|
|
10780
|
+
/** Near clipping plane distance (meters). */
|
|
10781
|
+
zNear?: number;
|
|
10782
|
+
/** Zoom factor applied to the orthographic extents (X,Y). 1 = no zoom. */
|
|
10783
|
+
zoomFactor?: Array<number>;
|
|
10784
|
+
};
|
|
10785
|
+
overrider: {
|
|
10786
|
+
/** Hashes of components to detach from the overridden entity. */
|
|
10787
|
+
componentsToDetach?: Array<number>;
|
|
10788
|
+
/** Mark the overridden entity as deleted in the composed scene. */
|
|
10789
|
+
deleter?: boolean;
|
|
10790
|
+
/** Target entity to override. */
|
|
10791
|
+
entityRef?: {
|
|
10792
|
+
linkage: Array<string>;
|
|
10793
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10794
|
+
originalEUID: string;
|
|
10795
|
+
};
|
|
10796
|
+
};
|
|
10797
|
+
perspective_lens: {
|
|
10798
|
+
/** Far clipping plane distance (meters). Set to 0 for an infinite far plane. */
|
|
10799
|
+
farPlane?: number;
|
|
10800
|
+
/** Vertical field of view angle in degrees. */
|
|
10801
|
+
fovy?: number;
|
|
10802
|
+
/** Near clipping plane distance (meters). */
|
|
10803
|
+
nearPlane?: number;
|
|
10804
|
+
/** Projection center offset for stereoscopic rendering (meters). */
|
|
10805
|
+
offset?: Array<number>;
|
|
10806
|
+
};
|
|
10807
|
+
physics_material: {
|
|
10808
|
+
/** Applied contact velocity offset when colliding (m/s). Only used if modifyContact is true. */
|
|
10809
|
+
contactVelocity?: Array<number>;
|
|
10810
|
+
/** Dynamic (kinetic) friction coefficient (typically 0..1). If greater than staticFriction, staticFriction is clamped up to match. Effective value is averaged with the other surface. */
|
|
10811
|
+
dynamicFriction?: number;
|
|
10812
|
+
/** Treat associated geometry as a trigger (generates events but no physical response). */
|
|
10813
|
+
isTrigger?: boolean;
|
|
10814
|
+
/** Enable contact modification (applies contactVelocity on collisions). */
|
|
10815
|
+
modifyContact?: boolean;
|
|
10816
|
+
/** Restitution (bounciness) in [0,1]. 0 = no bounce; 1 = perfectly elastic. Effective value is averaged with the other surface. */
|
|
10817
|
+
restitution?: number;
|
|
10818
|
+
/** Static friction coefficient (typically 0..1). 0 feels like ice; higher resists start of motion. Effective value is averaged with the other surface. */
|
|
10819
|
+
staticFriction?: number;
|
|
10820
|
+
};
|
|
10821
|
+
plane_geometry: {
|
|
10822
|
+
/** Signed distance from the origin along the plane normal (meters). */
|
|
10823
|
+
distance?: number;
|
|
10824
|
+
/** Unit normal vector of the plane (in local space). */
|
|
10825
|
+
normal?: Array<number>;
|
|
10826
|
+
};
|
|
10827
|
+
point_cloud_ref: {
|
|
10828
|
+
/** Referenced point cloud (UUID). */
|
|
10829
|
+
value?: string;
|
|
10830
|
+
};
|
|
10831
|
+
point_light: {
|
|
10832
|
+
/** RGB light color in linear space [0-1]. Multiplies intensity. */
|
|
10833
|
+
color?: Array<number>;
|
|
10834
|
+
/** Luminous intensity in candela (cd) for point and spot lights. Illuminance in lux (lx) when isDirectional, above the atmosphere when isSun. */
|
|
10835
|
+
intensity?: number;
|
|
10836
|
+
/** Treat this as a directional light using the entity's orientation; position is ignored. */
|
|
10837
|
+
isDirectional?: boolean;
|
|
10838
|
+
/** Use this light's direction to control the atmosphere sun direction. */
|
|
10839
|
+
isSun?: boolean;
|
|
10840
|
+
/** Distance in meters at which the inverse-square falloff is windowed to zero. 0 for no cutoff. */
|
|
10841
|
+
range?: number;
|
|
10842
|
+
};
|
|
10843
|
+
reflection_probe: {
|
|
10844
|
+
/** Capture far clip distance (meters). */
|
|
10845
|
+
farDist?: number;
|
|
10846
|
+
/** Capture near clip distance (meters). */
|
|
10847
|
+
nearDist?: number;
|
|
10848
|
+
/** Offset of the probe capture origin relative to the entity position (meters). */
|
|
10849
|
+
offset?: Array<number>;
|
|
10850
|
+
/** Reflection cubemap resolution (pixels per face). Higher values increase detail and cost. */
|
|
10851
|
+
quality?: number;
|
|
10852
|
+
};
|
|
10853
|
+
rigid_body: {
|
|
10854
|
+
/** Angular damping coefficient (s^-1). 0 = no damping; must be non-negative. */
|
|
10855
|
+
angularDamping?: number;
|
|
10856
|
+
/** Center of mass relative to the entity's local transform (meters). */
|
|
10857
|
+
centerOfMass?: Array<number>;
|
|
10858
|
+
/** Collision detection mode (CCD). Kinematic bodies do not support Linear/Continuous CCD. */
|
|
10859
|
+
collisionDetection?: (0 | 1 | 2 | 3) & number;
|
|
10860
|
+
/** Treat the rigid body as kinematic (unaffected by forces; driven by animation/app logic). */
|
|
10861
|
+
isKinematic?: boolean;
|
|
10862
|
+
/** Linear damping coefficient (s^-1). 0 = no damping; must be non-negative. */
|
|
10863
|
+
linearDamping?: number;
|
|
10864
|
+
/** Lock motion along/around the specified axes. */
|
|
10865
|
+
lockedAxis?: number;
|
|
10866
|
+
/** Mass (kg). A value of 0 is treated as infinite mass (static). */
|
|
10867
|
+
mass?: number;
|
|
10868
|
+
/** Maximum angular velocity (rad/s). Must be non-negative. */
|
|
10869
|
+
maxAngularVelocity?: number;
|
|
10870
|
+
/** Maximum linear velocity (m/s). Must be non-negative. */
|
|
10871
|
+
maxLinearVelocity?: number;
|
|
10872
|
+
/** Whether the rigid body is affected by gravity. */
|
|
10873
|
+
useGravity?: boolean;
|
|
10874
|
+
};
|
|
10875
|
+
scene_ref: {
|
|
10876
|
+
/** Maximum recursion depth when a scene references itself. */
|
|
10877
|
+
maxRecursionCount?: number;
|
|
10878
|
+
/** Referenced scene (UUID). */
|
|
10879
|
+
value?: string;
|
|
10880
|
+
};
|
|
10881
|
+
script_element: {
|
|
10882
|
+
/** Script input values in JSON; schema defined by scriptRef. */
|
|
10883
|
+
dataJSON?: {
|
|
10884
|
+
[_additionalproperties_: string]: any;
|
|
10885
|
+
};
|
|
10886
|
+
/** Referenced script (UUID). */
|
|
10887
|
+
scriptRef?: string;
|
|
10888
|
+
};
|
|
10889
|
+
script_map: {
|
|
10890
|
+
/** Map of script UUID to script element. */
|
|
10891
|
+
elements?: {
|
|
10892
|
+
/** References a script and supplies its input values. */
|
|
10893
|
+
[_additionalproperties_: string]: {
|
|
10894
|
+
/** Script input values in JSON; schema defined by scriptRef. */
|
|
10895
|
+
dataJSON?: {
|
|
10896
|
+
[_additionalproperties_: string]: any;
|
|
10897
|
+
};
|
|
10898
|
+
/** Referenced script (UUID). */
|
|
10899
|
+
scriptRef?: string;
|
|
10900
|
+
};
|
|
10901
|
+
};
|
|
10902
|
+
};
|
|
10903
|
+
shadow_caster: {
|
|
10904
|
+
/** Directional lights only: blend/accumulate all cascades to reduce visible transitions between splits. */
|
|
10905
|
+
accumulateShadowCascades?: boolean;
|
|
10906
|
+
/** Depth bias applied during shadow tests to reduce self-shadowing (acne). Increase to mitigate artifacts; too high causes peter-panning. */
|
|
10907
|
+
bias?: number;
|
|
10908
|
+
/** Directional lights only: number of cascades for CSM. 0 = static shadow map, 1–4 = increasing cascade count. */
|
|
10909
|
+
cascadeCount?: (0 | 1 | 2 | 3 | 4) & number;
|
|
10910
|
+
/** Directional lights only: cascade split distribution for CSM. 0 = uniform (linear) splits; 1 = logarithmic (more resolution near the camera). Values in [0,1] blend between the two. */
|
|
10911
|
+
cascadeSplitLambda?: number;
|
|
10912
|
+
/** Shadow camera far clip distance (meters). Use the smallest range that contains casters/receivers. */
|
|
10913
|
+
farDist?: number;
|
|
10914
|
+
/** Shadow camera near clip distance (meters). Tighten to improve depth precision. */
|
|
10915
|
+
nearDist?: number;
|
|
10916
|
+
/** Shadow map resolution (pixels per side). Higher values increase detail at the cost of memory and performance. */
|
|
10917
|
+
quality?: (256 | 512 | 1024 | 2048 | 3072 | 4096 | 6144 | 8192) & number;
|
|
10918
|
+
};
|
|
10919
|
+
skeleton_ref: {
|
|
10920
|
+
/** Referenced skeleton (UUID). */
|
|
10921
|
+
value?: string;
|
|
10922
|
+
};
|
|
10923
|
+
sound_ref: {
|
|
10924
|
+
/** Distance attenuation model. */
|
|
10925
|
+
attenuationModel?: (0 | 1 | 2 | 3) & number;
|
|
10926
|
+
/** Rolloff factor for distance attenuation. */
|
|
10927
|
+
attenuationRolloffFactor?: number;
|
|
10928
|
+
/** Autoplay when the simulation starts. */
|
|
10929
|
+
autoPlayOnStart?: boolean;
|
|
10930
|
+
/** Scale factor for the Doppler effect. */
|
|
10931
|
+
dopplerFactor?: number;
|
|
10932
|
+
/** Behavior when the sound becomes inaudible. */
|
|
10933
|
+
inaudibleBehavior?: (0 | 1 | 2) & number;
|
|
10934
|
+
/** Whether the sound loops. */
|
|
10935
|
+
looping?: boolean;
|
|
10936
|
+
/** Distance beyond which the sound is inaudible (meters). */
|
|
10937
|
+
maxDistance?: number;
|
|
10938
|
+
/** Distance at which the sound stays at max volume (meters). */
|
|
10939
|
+
minDistance?: number;
|
|
10940
|
+
/** Stereo pan. −1 = left, 1 = right. */
|
|
10941
|
+
pan?: number;
|
|
10942
|
+
/** Playback speed multiplier (1.0 = normal). */
|
|
10943
|
+
playSpeed?: number;
|
|
10944
|
+
/** Referenced sound (UUID). */
|
|
10945
|
+
value?: string;
|
|
10946
|
+
/** Playback volume [0..1]. */
|
|
10947
|
+
volume?: number;
|
|
10948
|
+
};
|
|
10949
|
+
sphere_geometry: {
|
|
10950
|
+
/** Local offset of the geometry origin (meters). */
|
|
10951
|
+
offset?: Array<number>;
|
|
10952
|
+
/** Radius of the sphere (meters). */
|
|
10953
|
+
radius?: number;
|
|
10954
|
+
};
|
|
10955
|
+
spline: {
|
|
10956
|
+
/** Display color of the curve. */
|
|
10957
|
+
color?: Array<number>;
|
|
10958
|
+
/** Catmull-Rom tension (only when type is Catmull-Rom). */
|
|
10959
|
+
tension?: number;
|
|
10960
|
+
/** Spline interpolation type. */
|
|
10961
|
+
type?: (0 | 1 | 2) & number;
|
|
10962
|
+
};
|
|
10963
|
+
spot_light: {
|
|
10964
|
+
/** Optional IES photometric profile (2D texture). Modulates emitted intensity by direction; leave empty for uniform distribution. */
|
|
10965
|
+
IESProfile?: string;
|
|
10966
|
+
/** Cone half-angle in degrees, from the axis to the edge. Light falls to zero at the cone edge. */
|
|
10967
|
+
cutoff?: number;
|
|
10968
|
+
};
|
|
10969
|
+
tags: {
|
|
10970
|
+
/** List of tags applied to this entity. */
|
|
10971
|
+
value?: Array<string>;
|
|
10972
|
+
};
|
|
10973
|
+
vehicle_controller: {
|
|
10974
|
+
/** The chassis. */
|
|
10975
|
+
chassis?: {
|
|
10976
|
+
linkage: Array<string>;
|
|
10977
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10978
|
+
originalEUID: string;
|
|
10979
|
+
};
|
|
10980
|
+
/** The front left wheel. */
|
|
10981
|
+
frontLeftWheel?: {
|
|
10982
|
+
linkage: Array<string>;
|
|
10983
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10984
|
+
originalEUID: string;
|
|
10985
|
+
};
|
|
10986
|
+
/** The front right wheel. */
|
|
10987
|
+
frontRightWheel?: {
|
|
10988
|
+
linkage: Array<string>;
|
|
10989
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10990
|
+
originalEUID: string;
|
|
10991
|
+
};
|
|
10992
|
+
/** The rear left wheel. */
|
|
10993
|
+
rearLeftWheel?: {
|
|
10994
|
+
linkage: Array<string>;
|
|
10995
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10996
|
+
originalEUID: string;
|
|
10997
|
+
};
|
|
10998
|
+
/** The rear right wheel. */
|
|
10999
|
+
rearRightWheel?: {
|
|
11000
|
+
linkage: Array<string>;
|
|
11001
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
11002
|
+
originalEUID: string;
|
|
11003
|
+
};
|
|
11004
|
+
};
|
|
11005
|
+
volume_filter: {
|
|
11006
|
+
/** Apply Gaussian smoothing when sampling voxels. */
|
|
11007
|
+
applyGaussianFiltering?: boolean;
|
|
11008
|
+
/** Whether this volume is visible in the 3D view. */
|
|
11009
|
+
enable3D?: boolean;
|
|
11010
|
+
/** Whether this volume is visible in the MPR (multi-planar reconstruction) view. */
|
|
11011
|
+
enableMPR?: boolean;
|
|
11012
|
+
/** Tint applied to this volume's MPR/projection output. */
|
|
11013
|
+
mprColor?: Array<number>;
|
|
11014
|
+
/** Displayed voxel intensity range [min, max]. Values outside the material's valid range are clamped/ignored. */
|
|
11015
|
+
range?: Array<number>;
|
|
11016
|
+
/** Sample texels without hardware filtering (nearest). */
|
|
11017
|
+
sampleUnfiltered?: boolean;
|
|
11018
|
+
};
|
|
11019
|
+
volume_material_ref: {
|
|
11020
|
+
/** Referenced volume material (UUID). */
|
|
11021
|
+
value?: string;
|
|
11022
|
+
};
|
|
11023
|
+
volume_ref: {
|
|
11024
|
+
/** Referenced 3D texture (UUID) containing the volume voxels. */
|
|
11025
|
+
texture3dRef?: string;
|
|
11026
|
+
};
|
|
11027
|
+
}, {}, any>>;
|
|
10204
11028
|
/**
|
|
10205
11029
|
* Delete a specific entity from a scene.
|
|
10206
11030
|
* @throws {InvalidParameter}
|
|
@@ -10215,7 +11039,7 @@ export declare function updateEntity({ scene_id, entity_id, animation_controller
|
|
|
10215
11039
|
export declare function deleteEntity({ scene_id, entity_id, }: {
|
|
10216
11040
|
scene_id: AssetId;
|
|
10217
11041
|
entity_id: string;
|
|
10218
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
11042
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
10219
11043
|
/**
|
|
10220
11044
|
* Get the settings of a scene.
|
|
10221
11045
|
* @throws {InvalidParameter}
|
|
@@ -10244,7 +11068,7 @@ export declare function getSceneSettings({ scene_id, }: {
|
|
|
10244
11068
|
export declare function updateSceneSettings({ scene_id, body, }: {
|
|
10245
11069
|
scene_id: AssetId;
|
|
10246
11070
|
body: SceneSettings;
|
|
10247
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
11071
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, SceneSettings, {}, any>>;
|
|
10248
11072
|
/**
|
|
10249
11073
|
* Lists all running rendering sessions.
|
|
10250
11074
|
* @throws {InvalidParameter}
|
|
@@ -10321,7 +11145,7 @@ export declare function getSession({ session_id, }: {
|
|
|
10321
11145
|
*/
|
|
10322
11146
|
export declare function killSession({ session_id, }: {
|
|
10323
11147
|
session_id: SessionId;
|
|
10324
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
11148
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
10325
11149
|
/**
|
|
10326
11150
|
* Creates a new client for the user and returns a token to join the session.
|
|
10327
11151
|
* @throws {InvalidParameter}
|
|
@@ -10372,7 +11196,7 @@ export declare function getClient({ session_id, client_id, }: {
|
|
|
10372
11196
|
export declare function kickClientFromSession({ session_id, client_id, }: {
|
|
10373
11197
|
session_id: SessionId;
|
|
10374
11198
|
client_id: ClientId;
|
|
10375
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
11199
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
10376
11200
|
/**
|
|
10377
11201
|
* Join a session as guest.
|
|
10378
11202
|
* @throws {InvalidParameter}
|