@3dverse/api 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_prebuild/wrapper.d.ts +658 -40
- package/dist/index.js +4 -0
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +4 -0
- 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
|
}>;
|
|
@@ -1686,13 +1697,13 @@ export type EnvironmentAssetListFilters = {
|
|
|
1686
1697
|
/** Include the assets shared with the platform, from any environment */
|
|
1687
1698
|
include_public_assets?: boolean;
|
|
1688
1699
|
};
|
|
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';
|
|
1700
|
+
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
1701
|
/** An asset as platform-management holds it, where it is included, and how it was edited */
|
|
1691
1702
|
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';
|
|
1703
|
+
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
1704
|
/** Asset unique identifier, a version 4 uuid in its canonical lowercase form */
|
|
1694
1705
|
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';
|
|
1706
|
+
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
1707
|
contributors?: Array<{
|
|
1697
1708
|
contribution_count: number;
|
|
1698
1709
|
/** A user of an environment: a registered user, an API key's user, or an account's user. */
|
|
@@ -1771,6 +1782,21 @@ export type AssetDetails = {
|
|
|
1771
1782
|
/** Unique identifier of an organization */
|
|
1772
1783
|
organization_id: string;
|
|
1773
1784
|
organization_slug: string;
|
|
1785
|
+
/**
|
|
1786
|
+
* What the asset's payload takes, absent before the content service stored one, or for a payload recorded
|
|
1787
|
+
* with no size, as some the services before left
|
|
1788
|
+
*/
|
|
1789
|
+
payload?: {
|
|
1790
|
+
/**
|
|
1791
|
+
* Whether the payload is stored compressed, with LZ4: not those of the asset types whose compressedPayload trait
|
|
1792
|
+
* is false
|
|
1793
|
+
*/
|
|
1794
|
+
compressed: boolean;
|
|
1795
|
+
/** The payload's size, uncompressed, in bytes */
|
|
1796
|
+
size: number;
|
|
1797
|
+
/** What the payload takes on disk, in bytes, its size compressed, or its size when stored uncompressed */
|
|
1798
|
+
size_on_disk: number;
|
|
1799
|
+
};
|
|
1774
1800
|
/** Unique identifier of a project */
|
|
1775
1801
|
project_id: string;
|
|
1776
1802
|
project_slug: string;
|
|
@@ -2124,6 +2150,43 @@ export type AssetDescription = {
|
|
|
2124
2150
|
name: string;
|
|
2125
2151
|
/** Unique identifier for the asset */
|
|
2126
2152
|
uuid: string;
|
|
2153
|
+
} | {
|
|
2154
|
+
/** Area cost overrides (area ID -> traversal cost multiplier). Only non-default (!= 1.0f) entries need to be stored. */
|
|
2155
|
+
areaCosts?: Array<{
|
|
2156
|
+
areaId: number;
|
|
2157
|
+
cost: number;
|
|
2158
|
+
}>;
|
|
2159
|
+
/** World-space axis-aligned bounding box of the entire navmesh */
|
|
2160
|
+
boundingBox: {
|
|
2161
|
+
/** Maximum point of the box */
|
|
2162
|
+
max: Array<number>;
|
|
2163
|
+
/** Minimum point of the box */
|
|
2164
|
+
min: Array<number>;
|
|
2165
|
+
};
|
|
2166
|
+
/** World-space origin of the tile grid (bottom-left corner at layer 0) */
|
|
2167
|
+
gridOrigin: Array<number>;
|
|
2168
|
+
/** Name of the asset */
|
|
2169
|
+
name: string;
|
|
2170
|
+
/** Size in bytes of the payloads of all the tiles. */
|
|
2171
|
+
payloadSize: number;
|
|
2172
|
+
/** 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. */
|
|
2173
|
+
tileDimensions: Array<number>;
|
|
2174
|
+
/** Description of each tile of the grid holding walkable area, the payload tile<N> storing the N-th. */
|
|
2175
|
+
tiles: Array<{
|
|
2176
|
+
/** World-space axis-aligned bounding box of this tile. */
|
|
2177
|
+
boundingBox: {
|
|
2178
|
+
/** Maximum point of the box */
|
|
2179
|
+
max: Array<number>;
|
|
2180
|
+
/** Minimum point of the box */
|
|
2181
|
+
min: Array<number>;
|
|
2182
|
+
};
|
|
2183
|
+
/** Grid position within the tile grid. */
|
|
2184
|
+
gridPosition: Array<number>;
|
|
2185
|
+
/** Size in bytes of the raw binary tile payload. */
|
|
2186
|
+
payloadSize: number;
|
|
2187
|
+
}>;
|
|
2188
|
+
/** Unique identifier for the asset */
|
|
2189
|
+
uuid: string;
|
|
2127
2190
|
} | {
|
|
2128
2191
|
/** Size in bytes of the acceleration structure payload: nodeCount * (sizeof(aabb) + pcasSize), the AABB of each node followed by its record. */
|
|
2129
2192
|
accelerationStructureSize: number;
|
|
@@ -4106,7 +4169,7 @@ export type EditableAssetDescription = {
|
|
|
4106
4169
|
/** Unique identifier for the asset */
|
|
4107
4170
|
uuid: string;
|
|
4108
4171
|
};
|
|
4109
|
-
export type AssetContainerWithPayload = 'animations' | 'animation_graphs' | 'animation_sequences' | 'collision_geometries' | 'meshes' | 'point_clouds' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_3d';
|
|
4172
|
+
export type AssetContainerWithPayload = 'animations' | 'animation_graphs' | 'animation_sequences' | 'collision_geometries' | 'meshes' | 'navmeshes' | 'point_clouds' | 'scripts' | 'shaders' | 'skeletons' | 'sounds' | 'textures' | 'textures_3d';
|
|
4110
4173
|
export type AssetContainerWithGraph = 'animation_graphs' | 'render_graphs' | 'scripts' | 'shaders';
|
|
4111
4174
|
export type AssetContainerWithCode = 'animation_sequences' | 'modules' | 'scripts' | 'shaders';
|
|
4112
4175
|
export type AssetContainerExportable = 'meshes' | 'sounds';
|
|
@@ -4403,6 +4466,11 @@ export type Entity = {
|
|
|
4403
4466
|
[_additionalproperties_: string]: number;
|
|
4404
4467
|
};
|
|
4405
4468
|
};
|
|
4469
|
+
/** Reference to a navigation mesh asset. */
|
|
4470
|
+
navmesh_ref?: {
|
|
4471
|
+
/** Referenced navmesh (UUID). */
|
|
4472
|
+
value?: string;
|
|
4473
|
+
};
|
|
4406
4474
|
/** Orthographic projection lens with configurable zoom and depth range. */
|
|
4407
4475
|
orthographic_lens?: {
|
|
4408
4476
|
/** Far clipping plane distance (meters). */
|
|
@@ -4969,6 +5037,11 @@ export type SceneEntity = {
|
|
|
4969
5037
|
[_additionalproperties_: string]: number;
|
|
4970
5038
|
};
|
|
4971
5039
|
};
|
|
5040
|
+
/** Reference to a navigation mesh asset. */
|
|
5041
|
+
navmesh_ref?: {
|
|
5042
|
+
/** Referenced navmesh (UUID). */
|
|
5043
|
+
value?: string;
|
|
5044
|
+
};
|
|
4972
5045
|
/** Orthographic projection lens with configurable zoom and depth range. */
|
|
4973
5046
|
orthographic_lens?: {
|
|
4974
5047
|
/** Far clipping plane distance (meters). */
|
|
@@ -5459,7 +5532,7 @@ export type Session = {
|
|
|
5459
5532
|
metadata: Metadata;
|
|
5460
5533
|
};
|
|
5461
5534
|
export type SessionToken = {
|
|
5462
|
-
/** The token used to join the requested session */
|
|
5535
|
+
/** The token used to join the requested session, a JWT */
|
|
5463
5536
|
session_token: string;
|
|
5464
5537
|
/** The endpoint to connect to */
|
|
5465
5538
|
endpoint_info: {
|
|
@@ -5563,7 +5636,7 @@ export type ConversionCreated = {
|
|
|
5563
5636
|
/** Conversion unique identifier, which this service mints: the id of the job running it. */
|
|
5564
5637
|
conversion_id: string;
|
|
5565
5638
|
/** Its conversion type, unknown for an embedded file no converter supports. */
|
|
5566
|
-
conversion_type?: 'collision_geometry' | 'cubemap' | 'package' | 'point_cloud' | 'scene' | 'sound' | 'texture' | 'volume';
|
|
5639
|
+
conversion_type?: 'collision_geometry' | 'cubemap' | 'navmesh' | 'package' | 'point_cloud' | 'scene' | 'sound' | 'texture' | 'volume';
|
|
5567
5640
|
/** The converter it runs, unknown for an embedded file no converter supports. */
|
|
5568
5641
|
converter?: string;
|
|
5569
5642
|
/** Unique identifier of an environment */
|
|
@@ -5615,7 +5688,7 @@ export type ConversionCreated = {
|
|
|
5615
5688
|
used_assets?: Array<{
|
|
5616
5689
|
/** Asset unique identifier, a version 4 uuid in its canonical lowercase form */
|
|
5617
5690
|
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';
|
|
5691
|
+
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
5692
|
}>;
|
|
5620
5693
|
};
|
|
5621
5694
|
/** A conversion, or one of its steps, moved on, before it completed. */
|
|
@@ -7943,7 +8016,7 @@ export declare function updateUser({ user_id, username, }: {
|
|
|
7943
8016
|
*/
|
|
7944
8017
|
export declare function deleteUser({ user_id, }: {
|
|
7945
8018
|
user_id: UserId;
|
|
7946
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
8019
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
7947
8020
|
/**
|
|
7948
8021
|
* Generates a user token. This user token identifies the user when making a request, with the scope it was generated
|
|
7949
8022
|
* with, until it expires. It cannot be revoked.
|
|
@@ -8041,7 +8114,7 @@ export declare function updateGroup({ group_id, name, description, }: {
|
|
|
8041
8114
|
*/
|
|
8042
8115
|
export declare function deleteGroup({ group_id, }: {
|
|
8043
8116
|
group_id: GroupId;
|
|
8044
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
8117
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
8045
8118
|
/**
|
|
8046
8119
|
* Grants member access to the group.
|
|
8047
8120
|
* @throws {InvalidParameter}
|
|
@@ -8060,7 +8133,10 @@ export declare function grantMemberAccessToGroup({ group_id, member_type, member
|
|
|
8060
8133
|
member_id: string;
|
|
8061
8134
|
group_access: 'read' | 'write' | 'manage';
|
|
8062
8135
|
folder_access: 'read' | 'write' | 'manage';
|
|
8063
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8136
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8137
|
+
group_access: "read" | "write" | "manage";
|
|
8138
|
+
folder_access: "read" | "write" | "manage";
|
|
8139
|
+
}, {}, any>>;
|
|
8064
8140
|
/**
|
|
8065
8141
|
* Revoke requested user access to group.
|
|
8066
8142
|
* @throws {InvalidParameter}
|
|
@@ -8076,7 +8152,7 @@ export declare function revokeMemberAccessToGroup({ group_id, member_type, membe
|
|
|
8076
8152
|
group_id: GroupId;
|
|
8077
8153
|
member_type: 'users' | 'groups';
|
|
8078
8154
|
member_id: string;
|
|
8079
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
8155
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
8080
8156
|
/**
|
|
8081
8157
|
* Lists the folders the caller can read, at every depth, those in the trash left out.
|
|
8082
8158
|
* @throws {InvalidParameter}
|
|
@@ -8153,7 +8229,7 @@ export declare function updateFolder({ folder_id, name, }: {
|
|
|
8153
8229
|
*/
|
|
8154
8230
|
export declare function deleteFolder({ folder_id, }: {
|
|
8155
8231
|
folder_id: FolderId;
|
|
8156
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
8232
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
8157
8233
|
/**
|
|
8158
8234
|
* List member access to the targeted folder.
|
|
8159
8235
|
* @throws {InvalidParameter}
|
|
@@ -8196,7 +8272,9 @@ export declare function grantMemberAccessToFolder({ folder_id, member_type, memb
|
|
|
8196
8272
|
member_type: 'users' | 'groups';
|
|
8197
8273
|
member_id: string;
|
|
8198
8274
|
access: 'read' | 'write' | 'manage';
|
|
8199
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8275
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8276
|
+
access: "read" | "write" | "manage";
|
|
8277
|
+
}, {}, any>>;
|
|
8200
8278
|
/**
|
|
8201
8279
|
* Revokes member access to a target folder.
|
|
8202
8280
|
* @throws {InvalidParameter}
|
|
@@ -8212,7 +8290,7 @@ export declare function revokeMemberAccessToFolder({ folder_id, member_type, mem
|
|
|
8212
8290
|
folder_id: FolderId;
|
|
8213
8291
|
member_type: 'users' | 'groups';
|
|
8214
8292
|
member_id: string;
|
|
8215
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
8293
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
8216
8294
|
/**
|
|
8217
8295
|
* Creates a subfolder.
|
|
8218
8296
|
* @throws {InvalidParameter}
|
|
@@ -8261,7 +8339,9 @@ export declare function moveFolders({ folder_id, folder_ids, }: {
|
|
|
8261
8339
|
folder_id: FolderId;
|
|
8262
8340
|
/** The folders to move */
|
|
8263
8341
|
folder_ids: Array<FolderId>;
|
|
8264
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8342
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8343
|
+
folder_ids: string[];
|
|
8344
|
+
}, {}, any>>;
|
|
8265
8345
|
/**
|
|
8266
8346
|
* Uploads the specified source file(s). The accepted extensions, their conversion type and
|
|
8267
8347
|
* per-converter options are listed by `GET /source-files/supported-formats` and documented at
|
|
@@ -8278,7 +8358,10 @@ export declare function moveFolders({ folder_id, folder_ids, }: {
|
|
|
8278
8358
|
* 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
8359
|
* import, the files named otherwise being ignored. The payloads of shaders, scripts, animation sequences and
|
|
8280
8360
|
* 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.
|
|
8361
|
+
* The import runs asynchronously, as a data pipeline, the returned `upload_task_id` being its id. It is rejected
|
|
8362
|
+
* (`quota_exceeded`) once its files are unpacked if it would convert more source files than the plan of the
|
|
8363
|
+
* environment's organization has left this month, or store more than its storage has left, the organization's
|
|
8364
|
+
* conversions and assets counted as activity-monitor measures them.
|
|
8282
8365
|
* @throws {InvalidMaterial}
|
|
8283
8366
|
* @throws {InvalidRequest}
|
|
8284
8367
|
* @throws {InvalidParameter}
|
|
@@ -8356,7 +8439,9 @@ export declare function moveSourceFiles({ folder_id, source_file_ids, }: {
|
|
|
8356
8439
|
folder_id: FolderId;
|
|
8357
8440
|
/** The source files to move */
|
|
8358
8441
|
source_file_ids: Array<SourceFileId>;
|
|
8359
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8442
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8443
|
+
source_file_ids: string[];
|
|
8444
|
+
}, {}, any>>;
|
|
8360
8445
|
/**
|
|
8361
8446
|
* Lists the upload tasks importing into a folder. The caller needs to be able to list the folder's upload tasks
|
|
8362
8447
|
* only: a user granted the folder lists them, without the environment's permission `listUploadTasks` needs.
|
|
@@ -8461,7 +8546,9 @@ export declare function moveAssets({ folder_id, asset_ids, }: {
|
|
|
8461
8546
|
folder_id: FolderId;
|
|
8462
8547
|
/** The assets to move */
|
|
8463
8548
|
asset_ids: Array<AssetId>;
|
|
8464
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8549
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8550
|
+
asset_ids: string[];
|
|
8551
|
+
}, {}, any>>;
|
|
8465
8552
|
/**
|
|
8466
8553
|
* A duplication request of the caller, with its copies. A duplication answered with a 202 is done once its request
|
|
8467
8554
|
* is `completed`, or `failed` with its error. A completed request stays readable for 10 minutes, a failed one for 3
|
|
@@ -8518,7 +8605,10 @@ export declare function deleteSourceFiles({ source_file_ids, delete_assets, }: {
|
|
|
8518
8605
|
source_file_ids: Array<SourceFileId>;
|
|
8519
8606
|
/** If true, delete the assets associated with the source files as well. */
|
|
8520
8607
|
delete_assets?: boolean;
|
|
8521
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8608
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8609
|
+
source_file_ids: string[];
|
|
8610
|
+
delete_assets: boolean;
|
|
8611
|
+
}, {}, any>>;
|
|
8522
8612
|
/**
|
|
8523
8613
|
* Returns the source file formats accepted for conversion, grouped by conversion type, with the per-converter breakdown and each converter's options schema.
|
|
8524
8614
|
* @throws {MissingAuthorizationHeader}
|
|
@@ -8686,7 +8776,7 @@ export declare function listAssets({ offset, limit, filters, }: {
|
|
|
8686
8776
|
*/
|
|
8687
8777
|
export declare function deleteAssets({ asset_ids, }: {
|
|
8688
8778
|
asset_ids: Array<AssetId>;
|
|
8689
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8779
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, string[], {}, any>>;
|
|
8690
8780
|
/**
|
|
8691
8781
|
* Deletes the asset.
|
|
8692
8782
|
* @throws {InvalidParameter}
|
|
@@ -8701,7 +8791,7 @@ export declare function deleteAssets({ asset_ids, }: {
|
|
|
8701
8791
|
export declare function deleteAsset({ asset_container, asset_id, }: {
|
|
8702
8792
|
asset_container: AssetContainer;
|
|
8703
8793
|
asset_id: AssetId;
|
|
8704
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
8794
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
8705
8795
|
/**
|
|
8706
8796
|
* Renames the asset.
|
|
8707
8797
|
* @throws {InvalidParameter}
|
|
@@ -8717,7 +8807,9 @@ export declare function renameAsset({ asset_container, asset_id, name, }: {
|
|
|
8717
8807
|
asset_container: AssetContainer;
|
|
8718
8808
|
asset_id: AssetId;
|
|
8719
8809
|
name: string;
|
|
8720
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8810
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
8811
|
+
name: string;
|
|
8812
|
+
}, {}, any>>;
|
|
8721
8813
|
/**
|
|
8722
8814
|
* Gets the asset details from the specified asset.
|
|
8723
8815
|
* @throws {InvalidParameter}
|
|
@@ -8851,7 +8943,7 @@ export declare function updateAssetDescription({ asset_id, asset_container, asse
|
|
|
8851
8943
|
asset_id: AssetId;
|
|
8852
8944
|
asset_container: AssetContainerEditable;
|
|
8853
8945
|
asset_description: EditableAssetDescriptionInput;
|
|
8854
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8946
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, EditableAssetDescriptionInput, {}, any>>;
|
|
8855
8947
|
/**
|
|
8856
8948
|
* Gets the asset payload from the specified asset.
|
|
8857
8949
|
* @throws {InvalidParameter}
|
|
@@ -8904,7 +8996,9 @@ export declare function updateAssetGraph({ asset_container_with_graph, asset_id,
|
|
|
8904
8996
|
asset_graph: {
|
|
8905
8997
|
[_additionalproperties_: string]: any;
|
|
8906
8998
|
};
|
|
8907
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
8999
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
9000
|
+
[_additionalproperties_: string]: any;
|
|
9001
|
+
}, {}, any>>;
|
|
8908
9002
|
/**
|
|
8909
9003
|
* 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
9004
|
* @throws {InvalidParameter}
|
|
@@ -8984,7 +9078,7 @@ export declare function setAssetThumbnail({ asset_container, asset_id, body, }:
|
|
|
8984
9078
|
asset_container: AssetContainer;
|
|
8985
9079
|
asset_id: AssetId;
|
|
8986
9080
|
body: ArrayBuffer | ReadableStream;
|
|
8987
|
-
}, contentType: 'image/jpeg' | 'image/jpg' | 'image/png', headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any
|
|
9081
|
+
}, contentType: 'image/jpeg' | 'image/jpg' | 'image/png', headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, ArrayBuffer | ReadableStream<any>, {}, any>>;
|
|
8988
9082
|
/**
|
|
8989
9083
|
* Packages and downloads the target asset.
|
|
8990
9084
|
* @throws {InvalidParameter}
|
|
@@ -9048,7 +9142,7 @@ export declare function getSceneAABB({ scene_id, }: {
|
|
|
9048
9142
|
* @throws {InsufficientPermissions}
|
|
9049
9143
|
* @throws {TooManyRequests}
|
|
9050
9144
|
*/
|
|
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, }: {
|
|
9145
|
+
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
9146
|
scene_id: AssetId;
|
|
9053
9147
|
/** Drives skeletal animation using an Animation Graph and Animation Set; animates descendant skinned meshes whose skeletons are compatible with the set. */
|
|
9054
9148
|
animation_controller?: {
|
|
@@ -9335,6 +9429,11 @@ export declare function createEntity({ scene_id, animation_controller, animation
|
|
|
9335
9429
|
[_additionalproperties_: string]: number;
|
|
9336
9430
|
};
|
|
9337
9431
|
};
|
|
9432
|
+
/** Reference to a navigation mesh asset. */
|
|
9433
|
+
navmesh_ref?: {
|
|
9434
|
+
/** Referenced navmesh (UUID). */
|
|
9435
|
+
value?: string;
|
|
9436
|
+
};
|
|
9338
9437
|
/** Orthographic projection lens with configurable zoom and depth range. */
|
|
9339
9438
|
orthographic_lens?: {
|
|
9340
9439
|
/** Far clipping plane distance (meters). */
|
|
@@ -9639,7 +9738,7 @@ export declare function getEntity({ scene_id, entity_id, compute_global_transfor
|
|
|
9639
9738
|
* @throws {InsufficientPermissions}
|
|
9640
9739
|
* @throws {TooManyRequests}
|
|
9641
9740
|
*/
|
|
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, }: {
|
|
9741
|
+
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
9742
|
scene_id: AssetId;
|
|
9644
9743
|
entity_id: string;
|
|
9645
9744
|
/** Drives skeletal animation using an Animation Graph and Animation Set; animates descendant skinned meshes whose skeletons are compatible with the set. */
|
|
@@ -9927,6 +10026,11 @@ export declare function updateEntity({ scene_id, entity_id, animation_controller
|
|
|
9927
10026
|
[_additionalproperties_: string]: number;
|
|
9928
10027
|
};
|
|
9929
10028
|
};
|
|
10029
|
+
/** Reference to a navigation mesh asset. */
|
|
10030
|
+
navmesh_ref?: {
|
|
10031
|
+
/** Referenced navmesh (UUID). */
|
|
10032
|
+
value?: string;
|
|
10033
|
+
};
|
|
9930
10034
|
/** Orthographic projection lens with configurable zoom and depth range. */
|
|
9931
10035
|
orthographic_lens?: {
|
|
9932
10036
|
/** Far clipping plane distance (meters). */
|
|
@@ -10200,7 +10304,521 @@ export declare function updateEntity({ scene_id, entity_id, animation_controller
|
|
|
10200
10304
|
/** Referenced 3D texture (UUID) containing the volume voxels. */
|
|
10201
10305
|
texture3dRef?: string;
|
|
10202
10306
|
};
|
|
10203
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
10307
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, {
|
|
10308
|
+
animation_controller: {
|
|
10309
|
+
/** Referenced Animation Graph (UUID). */
|
|
10310
|
+
animationGraphRef?: string;
|
|
10311
|
+
/** Referenced Animation Set (UUID). */
|
|
10312
|
+
animationSetRef?: string;
|
|
10313
|
+
/** Autoplay when the session starts. */
|
|
10314
|
+
autoPlay?: boolean;
|
|
10315
|
+
/** Animation Graph input parameters in JSON format. */
|
|
10316
|
+
dataJSON?: {
|
|
10317
|
+
[_additionalproperties_: string]: any;
|
|
10318
|
+
};
|
|
10319
|
+
/** Entity containing the Bone component for the skeleton's root bone. */
|
|
10320
|
+
rootBoneEntityRef?: {
|
|
10321
|
+
linkage: Array<string>;
|
|
10322
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10323
|
+
originalEUID: string;
|
|
10324
|
+
};
|
|
10325
|
+
/** Enable root motion extraction and application to the entity transform. */
|
|
10326
|
+
rootMotionEnabled?: boolean;
|
|
10327
|
+
};
|
|
10328
|
+
animation_sequence_controller: {
|
|
10329
|
+
/** Referenced Animation Sequence (UUID). */
|
|
10330
|
+
animationSequenceRef?: string;
|
|
10331
|
+
/** Map from track UUID to assigned entity. */
|
|
10332
|
+
entities?: {
|
|
10333
|
+
/** A reference to an entity: the uuid it was created with, and the uuids of the linkers it was instanced through. */
|
|
10334
|
+
[_additionalproperties_: string]: {
|
|
10335
|
+
linkage: Array<string>;
|
|
10336
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10337
|
+
originalEUID: string;
|
|
10338
|
+
};
|
|
10339
|
+
};
|
|
10340
|
+
/** Loop playback when reaching the stop offset. */
|
|
10341
|
+
loop?: boolean;
|
|
10342
|
+
/** Playback speed multiplier. Negative values play in reverse. */
|
|
10343
|
+
playbackSpeed?: number;
|
|
10344
|
+
/** Normalized start offset [0, 1]. */
|
|
10345
|
+
startOffset?: number;
|
|
10346
|
+
/** Normalized stop offset [0, 1]. When looping, playback wraps to startOffset at this point. */
|
|
10347
|
+
stopOffset?: number;
|
|
10348
|
+
};
|
|
10349
|
+
bone: {
|
|
10350
|
+
/** Zero-based index of this bone within the bound skeleton. */
|
|
10351
|
+
boneIndex?: number;
|
|
10352
|
+
};
|
|
10353
|
+
box_geometry: {
|
|
10354
|
+
/** Box dimensions (width, height, depth) in meters. */
|
|
10355
|
+
dimension?: Array<number>;
|
|
10356
|
+
/** Local offset of the geometry origin (meters). */
|
|
10357
|
+
offset?: Array<number>;
|
|
10358
|
+
};
|
|
10359
|
+
camera: {
|
|
10360
|
+
/** Render Graph input parameters in JSON; schema defined by renderGraphRef. */
|
|
10361
|
+
dataJSON?: {
|
|
10362
|
+
[_additionalproperties_: string]: any;
|
|
10363
|
+
};
|
|
10364
|
+
/** Referenced render graph to use for rendering from this camera. */
|
|
10365
|
+
renderGraphRef?: string;
|
|
10366
|
+
/** Index of the render target to blit/output to. -1 indicates the default target. */
|
|
10367
|
+
renderTargetIndex?: number;
|
|
10368
|
+
};
|
|
10369
|
+
capsule_geometry: {
|
|
10370
|
+
/** Alignment axis of the capsule: 0=X, 1=Y, 2=Z. */
|
|
10371
|
+
axis?: (0 | 1 | 2) & number;
|
|
10372
|
+
/** Height of the cylindrical mid-section (meters). */
|
|
10373
|
+
height?: number;
|
|
10374
|
+
/** Local offset of the geometry origin (meters). */
|
|
10375
|
+
offset?: Array<number>;
|
|
10376
|
+
/** Radius of the hemispherical ends (meters). */
|
|
10377
|
+
radius?: number;
|
|
10378
|
+
};
|
|
10379
|
+
character_controller: {
|
|
10380
|
+
/** Collision skin width (meters). */
|
|
10381
|
+
skinWidth?: number;
|
|
10382
|
+
/** Maximum walkable slope (degrees). Slopes steeper than this are not walkable. */
|
|
10383
|
+
slopeLimit?: number;
|
|
10384
|
+
/** Maximum climbable step height. Steps higher than this cannot be climbed automatically. */
|
|
10385
|
+
stepOffset?: number;
|
|
10386
|
+
};
|
|
10387
|
+
collision_geometry_ref: {
|
|
10388
|
+
/** Referenced collision geometry (UUID). */
|
|
10389
|
+
collisionGeometryRef?: string;
|
|
10390
|
+
};
|
|
10391
|
+
constraint: {
|
|
10392
|
+
/** Linear limit spring damping per axis (N·s/m). */
|
|
10393
|
+
motionLimitSpringDamping?: Array<number>;
|
|
10394
|
+
/** Linear limit spring stiffness per axis (N/m). >0 makes the limit soft (spring-like). */
|
|
10395
|
+
motionLimitSpringStiffness?: Array<number>;
|
|
10396
|
+
/** Lower linear limit per axis (meters). */
|
|
10397
|
+
motionLowerLimit?: Array<number>;
|
|
10398
|
+
/** Upper linear limit per axis (meters). */
|
|
10399
|
+
motionUpperLimit?: Array<number>;
|
|
10400
|
+
/** 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. */
|
|
10401
|
+
swingLimitAngle?: Array<number>;
|
|
10402
|
+
/** Swing limit spring damping (N·m·s/rad). */
|
|
10403
|
+
swingSpringDamping?: number;
|
|
10404
|
+
/** Swing limit spring stiffness (N·m/rad). >0 makes the limit soft. */
|
|
10405
|
+
swingSpringStiffness?: number;
|
|
10406
|
+
/** Twist angle limits (min,max) around the twist axis (degrees). Range (−360, 360). */
|
|
10407
|
+
twistLimitAngle?: Array<number>;
|
|
10408
|
+
/** Twist limit spring damping (N·m·s/rad). */
|
|
10409
|
+
twistSpringDamping?: number;
|
|
10410
|
+
/** Twist limit spring stiffness (N·m/rad). >0 makes the limit soft. */
|
|
10411
|
+
twistSpringStiffness?: number;
|
|
10412
|
+
/** Unlock motion along/around the specified axes. */
|
|
10413
|
+
unlockedMotion?: number;
|
|
10414
|
+
};
|
|
10415
|
+
constraint_actuator: {
|
|
10416
|
+
/** Angular drive damping per axis (N·m·s/rad). */
|
|
10417
|
+
angularDamping?: Array<number>;
|
|
10418
|
+
/** Max angular drive torque/impulse per axis (N·m). −1 = unlimited. */
|
|
10419
|
+
angularForceLimit?: Array<number>;
|
|
10420
|
+
/** Angular drive stiffness per axis (N·m/rad). >0 applies spring torque toward the goal. */
|
|
10421
|
+
angularStiffness?: Array<number>;
|
|
10422
|
+
/** Target angular velocity (rad/s). */
|
|
10423
|
+
angularVelocity?: Array<number>;
|
|
10424
|
+
/** Target angular orientation. */
|
|
10425
|
+
goalOrientation?: Array<number>;
|
|
10426
|
+
/** Target linear position offset (meters). */
|
|
10427
|
+
goalPosition?: Array<number>;
|
|
10428
|
+
/** Linear drive damping per axis (N·s/m). */
|
|
10429
|
+
linearDamping?: Array<number>;
|
|
10430
|
+
/** Max linear drive force/impulse per axis (N). −1 = unlimited. */
|
|
10431
|
+
linearForceLimit?: Array<number>;
|
|
10432
|
+
/** Linear drive stiffness per axis (N/m). >0 applies spring force toward the goal. */
|
|
10433
|
+
linearStiffness?: Array<number>;
|
|
10434
|
+
/** Target linear velocity (m/s). */
|
|
10435
|
+
linearVelocity?: Array<number>;
|
|
10436
|
+
/** Drive type: apply as force or as acceleration. */
|
|
10437
|
+
type?: (0 | 1) & number;
|
|
10438
|
+
};
|
|
10439
|
+
culling_geometry: {
|
|
10440
|
+
/** Additive: show elements inside the geometry. Subtractive: show elements outside the geometry. */
|
|
10441
|
+
isAdditive?: boolean;
|
|
10442
|
+
};
|
|
10443
|
+
custom_lens: {
|
|
10444
|
+
/** Projection matrix mapping view-space to clip-space (cs_from_vs). */
|
|
10445
|
+
cs_from_vs?: Array<number>;
|
|
10446
|
+
};
|
|
10447
|
+
cylinder_geometry: {
|
|
10448
|
+
/** Alignment axis of the cylinder: 0=X, 1=Y, 2=Z. */
|
|
10449
|
+
axis?: (0 | 1 | 2) & number;
|
|
10450
|
+
/** Height of the cylinder (meters). */
|
|
10451
|
+
height?: number;
|
|
10452
|
+
/** Local offset of the geometry origin (meters). */
|
|
10453
|
+
offset?: Array<number>;
|
|
10454
|
+
/** Radius of the cylinder (meters). */
|
|
10455
|
+
radius?: number;
|
|
10456
|
+
};
|
|
10457
|
+
debug_name: {
|
|
10458
|
+
/** Entity name. */
|
|
10459
|
+
value?: string;
|
|
10460
|
+
};
|
|
10461
|
+
decal_projector: {
|
|
10462
|
+
/** Z-index ordering for decal rendering; higher values render on top of lower ones. */
|
|
10463
|
+
zIndex?: number;
|
|
10464
|
+
};
|
|
10465
|
+
environment: {
|
|
10466
|
+
/** Diffuse irradiance cubemap used for ambient PBR lighting. */
|
|
10467
|
+
irradianceUUID?: string;
|
|
10468
|
+
/** Specular radiance cubemap (prefiltered) used for PBR reflections. */
|
|
10469
|
+
radianceUUID?: string;
|
|
10470
|
+
/** Skybox cubemap used as the scene background (no lighting effect). */
|
|
10471
|
+
skyboxUUID?: string;
|
|
10472
|
+
};
|
|
10473
|
+
joint: {
|
|
10474
|
+
/** Break force threshold (Newtons). */
|
|
10475
|
+
breakForce?: number;
|
|
10476
|
+
/** Break torque threshold (N·m). */
|
|
10477
|
+
breakTorque?: number;
|
|
10478
|
+
/** Entity with a Rigid Body to be constrained. */
|
|
10479
|
+
constrainee?: {
|
|
10480
|
+
linkage: Array<string>;
|
|
10481
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10482
|
+
originalEUID: string;
|
|
10483
|
+
};
|
|
10484
|
+
/** Entity acting as constrainer (rigid/static) or null to constrain to world origin. */
|
|
10485
|
+
constrainer?: {
|
|
10486
|
+
linkage: Array<string>;
|
|
10487
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10488
|
+
originalEUID: string;
|
|
10489
|
+
};
|
|
10490
|
+
/** Enable collision between constrainer and constrainee bodies. */
|
|
10491
|
+
enableCollision?: boolean;
|
|
10492
|
+
};
|
|
10493
|
+
label: {
|
|
10494
|
+
/** Camera framing parameters for navigating to the label. */
|
|
10495
|
+
camera?: Array<number>;
|
|
10496
|
+
/** Label description text. */
|
|
10497
|
+
description?: string;
|
|
10498
|
+
/** Camera travel speed (meters/second). */
|
|
10499
|
+
speed?: number;
|
|
10500
|
+
/** Label title text. */
|
|
10501
|
+
title?: string;
|
|
10502
|
+
};
|
|
10503
|
+
lineage: {
|
|
10504
|
+
/** Ordinal index among siblings (editor-only). */
|
|
10505
|
+
ordinal?: number;
|
|
10506
|
+
/** UUID of this entity's parent (default is root). */
|
|
10507
|
+
parentUUID?: string;
|
|
10508
|
+
};
|
|
10509
|
+
local_aabb: {
|
|
10510
|
+
/** Local AABB maximum corner (x,y,z). */
|
|
10511
|
+
max?: Array<number>;
|
|
10512
|
+
/** Local AABB minimum corner (x,y,z). */
|
|
10513
|
+
min?: Array<number>;
|
|
10514
|
+
};
|
|
10515
|
+
local_transform: {
|
|
10516
|
+
/** Local orientation as Euler angles (editor-only). */
|
|
10517
|
+
eulerOrientation?: Array<number>;
|
|
10518
|
+
/** Last global orientation entered by a user as Euler angles (may be invalid; editor-only). */
|
|
10519
|
+
globalEulerOrientation?: Array<number>;
|
|
10520
|
+
/** Local orientation as a quaternion. */
|
|
10521
|
+
orientation?: Array<number>;
|
|
10522
|
+
/** Local position (x, y, z) in meters. */
|
|
10523
|
+
position?: Array<number>;
|
|
10524
|
+
/** Local non-uniform scale (x, y, z). */
|
|
10525
|
+
scale?: Array<number>;
|
|
10526
|
+
};
|
|
10527
|
+
material: {
|
|
10528
|
+
/** Specialization constants (JSON); schema defined by shaderRef. */
|
|
10529
|
+
constantsJSON?: {
|
|
10530
|
+
[_additionalproperties_: string]: any;
|
|
10531
|
+
};
|
|
10532
|
+
/** Shader input values (JSON); schema defined by shaderRef. */
|
|
10533
|
+
dataJSON?: {
|
|
10534
|
+
[_additionalproperties_: string]: any;
|
|
10535
|
+
};
|
|
10536
|
+
/** Render both front and back faces (double-sided). */
|
|
10537
|
+
isDoubleSided?: boolean;
|
|
10538
|
+
/** Referenced shader (UUID). */
|
|
10539
|
+
shaderRef?: string;
|
|
10540
|
+
};
|
|
10541
|
+
material_ref: {
|
|
10542
|
+
/** Face culling override: 0 = inherit from material, 1 = single-sided, 2 = double-sided. */
|
|
10543
|
+
faceCulling?: (0 | 1 | 2) & number;
|
|
10544
|
+
/** Referenced material (UUID). */
|
|
10545
|
+
value?: string;
|
|
10546
|
+
};
|
|
10547
|
+
measure: {
|
|
10548
|
+
/** Display color for the measurement. */
|
|
10549
|
+
color?: Array<number>;
|
|
10550
|
+
/** Measurement type to display. */
|
|
10551
|
+
type?: (0 | 1 | 2 | 3) & number;
|
|
10552
|
+
};
|
|
10553
|
+
mesh_ref: {
|
|
10554
|
+
/** Shadow casting mode for this mesh. */
|
|
10555
|
+
shadowCastingMode?: (0 | 1) & number;
|
|
10556
|
+
/** Index of the submesh within the mesh's submesh array. */
|
|
10557
|
+
submeshIndex?: number;
|
|
10558
|
+
/** Referenced mesh (UUID). */
|
|
10559
|
+
value?: string;
|
|
10560
|
+
};
|
|
10561
|
+
morph_targets: {
|
|
10562
|
+
/** Map from morph target name to weight (commonly 0..1). */
|
|
10563
|
+
weights?: {
|
|
10564
|
+
[_additionalproperties_: string]: number;
|
|
10565
|
+
};
|
|
10566
|
+
};
|
|
10567
|
+
navmesh_ref: {
|
|
10568
|
+
/** Referenced navmesh (UUID). */
|
|
10569
|
+
value?: string;
|
|
10570
|
+
};
|
|
10571
|
+
orthographic_lens: {
|
|
10572
|
+
/** Far clipping plane distance (meters). */
|
|
10573
|
+
zFar?: number;
|
|
10574
|
+
/** Near clipping plane distance (meters). */
|
|
10575
|
+
zNear?: number;
|
|
10576
|
+
/** Zoom factor applied to the orthographic extents (X,Y). 1 = no zoom. */
|
|
10577
|
+
zoomFactor?: Array<number>;
|
|
10578
|
+
};
|
|
10579
|
+
overrider: {
|
|
10580
|
+
/** Hashes of components to detach from the overridden entity. */
|
|
10581
|
+
componentsToDetach?: Array<number>;
|
|
10582
|
+
/** Mark the overridden entity as deleted in the composed scene. */
|
|
10583
|
+
deleter?: boolean;
|
|
10584
|
+
/** Target entity to override. */
|
|
10585
|
+
entityRef?: {
|
|
10586
|
+
linkage: Array<string>;
|
|
10587
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10588
|
+
originalEUID: string;
|
|
10589
|
+
};
|
|
10590
|
+
};
|
|
10591
|
+
perspective_lens: {
|
|
10592
|
+
/** Far clipping plane distance (meters). Set to 0 for an infinite far plane. */
|
|
10593
|
+
farPlane?: number;
|
|
10594
|
+
/** Vertical field of view angle in degrees. */
|
|
10595
|
+
fovy?: number;
|
|
10596
|
+
/** Near clipping plane distance (meters). */
|
|
10597
|
+
nearPlane?: number;
|
|
10598
|
+
/** Projection center offset for stereoscopic rendering (meters). */
|
|
10599
|
+
offset?: Array<number>;
|
|
10600
|
+
};
|
|
10601
|
+
physics_material: {
|
|
10602
|
+
/** Applied contact velocity offset when colliding (m/s). Only used if modifyContact is true. */
|
|
10603
|
+
contactVelocity?: Array<number>;
|
|
10604
|
+
/** 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. */
|
|
10605
|
+
dynamicFriction?: number;
|
|
10606
|
+
/** Treat associated geometry as a trigger (generates events but no physical response). */
|
|
10607
|
+
isTrigger?: boolean;
|
|
10608
|
+
/** Enable contact modification (applies contactVelocity on collisions). */
|
|
10609
|
+
modifyContact?: boolean;
|
|
10610
|
+
/** Restitution (bounciness) in [0,1]. 0 = no bounce; 1 = perfectly elastic. Effective value is averaged with the other surface. */
|
|
10611
|
+
restitution?: number;
|
|
10612
|
+
/** Static friction coefficient (typically 0..1). 0 feels like ice; higher resists start of motion. Effective value is averaged with the other surface. */
|
|
10613
|
+
staticFriction?: number;
|
|
10614
|
+
};
|
|
10615
|
+
plane_geometry: {
|
|
10616
|
+
/** Signed distance from the origin along the plane normal (meters). */
|
|
10617
|
+
distance?: number;
|
|
10618
|
+
/** Unit normal vector of the plane (in local space). */
|
|
10619
|
+
normal?: Array<number>;
|
|
10620
|
+
};
|
|
10621
|
+
point_cloud_ref: {
|
|
10622
|
+
/** Referenced point cloud (UUID). */
|
|
10623
|
+
value?: string;
|
|
10624
|
+
};
|
|
10625
|
+
point_light: {
|
|
10626
|
+
/** RGB light color in linear space [0-1]. Multiplies intensity. */
|
|
10627
|
+
color?: Array<number>;
|
|
10628
|
+
/** Luminous intensity in candela (cd) for point and spot lights. Illuminance in lux (lx) when isDirectional, above the atmosphere when isSun. */
|
|
10629
|
+
intensity?: number;
|
|
10630
|
+
/** Treat this as a directional light using the entity's orientation; position is ignored. */
|
|
10631
|
+
isDirectional?: boolean;
|
|
10632
|
+
/** Use this light's direction to control the atmosphere sun direction. */
|
|
10633
|
+
isSun?: boolean;
|
|
10634
|
+
/** Distance in meters at which the inverse-square falloff is windowed to zero. 0 for no cutoff. */
|
|
10635
|
+
range?: number;
|
|
10636
|
+
};
|
|
10637
|
+
reflection_probe: {
|
|
10638
|
+
/** Capture far clip distance (meters). */
|
|
10639
|
+
farDist?: number;
|
|
10640
|
+
/** Capture near clip distance (meters). */
|
|
10641
|
+
nearDist?: number;
|
|
10642
|
+
/** Offset of the probe capture origin relative to the entity position (meters). */
|
|
10643
|
+
offset?: Array<number>;
|
|
10644
|
+
/** Reflection cubemap resolution (pixels per face). Higher values increase detail and cost. */
|
|
10645
|
+
quality?: number;
|
|
10646
|
+
};
|
|
10647
|
+
rigid_body: {
|
|
10648
|
+
/** Angular damping coefficient (s^-1). 0 = no damping; must be non-negative. */
|
|
10649
|
+
angularDamping?: number;
|
|
10650
|
+
/** Center of mass relative to the entity's local transform (meters). */
|
|
10651
|
+
centerOfMass?: Array<number>;
|
|
10652
|
+
/** Collision detection mode (CCD). Kinematic bodies do not support Linear/Continuous CCD. */
|
|
10653
|
+
collisionDetection?: (0 | 1 | 2 | 3) & number;
|
|
10654
|
+
/** Treat the rigid body as kinematic (unaffected by forces; driven by animation/app logic). */
|
|
10655
|
+
isKinematic?: boolean;
|
|
10656
|
+
/** Linear damping coefficient (s^-1). 0 = no damping; must be non-negative. */
|
|
10657
|
+
linearDamping?: number;
|
|
10658
|
+
/** Lock motion along/around the specified axes. */
|
|
10659
|
+
lockedAxis?: number;
|
|
10660
|
+
/** Mass (kg). A value of 0 is treated as infinite mass (static). */
|
|
10661
|
+
mass?: number;
|
|
10662
|
+
/** Maximum angular velocity (rad/s). Must be non-negative. */
|
|
10663
|
+
maxAngularVelocity?: number;
|
|
10664
|
+
/** Maximum linear velocity (m/s). Must be non-negative. */
|
|
10665
|
+
maxLinearVelocity?: number;
|
|
10666
|
+
/** Whether the rigid body is affected by gravity. */
|
|
10667
|
+
useGravity?: boolean;
|
|
10668
|
+
};
|
|
10669
|
+
scene_ref: {
|
|
10670
|
+
/** Maximum recursion depth when a scene references itself. */
|
|
10671
|
+
maxRecursionCount?: number;
|
|
10672
|
+
/** Referenced scene (UUID). */
|
|
10673
|
+
value?: string;
|
|
10674
|
+
};
|
|
10675
|
+
script_element: {
|
|
10676
|
+
/** Script input values in JSON; schema defined by scriptRef. */
|
|
10677
|
+
dataJSON?: {
|
|
10678
|
+
[_additionalproperties_: string]: any;
|
|
10679
|
+
};
|
|
10680
|
+
/** Referenced script (UUID). */
|
|
10681
|
+
scriptRef?: string;
|
|
10682
|
+
};
|
|
10683
|
+
script_map: {
|
|
10684
|
+
/** Map of script UUID to script element. */
|
|
10685
|
+
elements?: {
|
|
10686
|
+
/** References a script and supplies its input values. */
|
|
10687
|
+
[_additionalproperties_: string]: {
|
|
10688
|
+
/** Script input values in JSON; schema defined by scriptRef. */
|
|
10689
|
+
dataJSON?: {
|
|
10690
|
+
[_additionalproperties_: string]: any;
|
|
10691
|
+
};
|
|
10692
|
+
/** Referenced script (UUID). */
|
|
10693
|
+
scriptRef?: string;
|
|
10694
|
+
};
|
|
10695
|
+
};
|
|
10696
|
+
};
|
|
10697
|
+
shadow_caster: {
|
|
10698
|
+
/** Directional lights only: blend/accumulate all cascades to reduce visible transitions between splits. */
|
|
10699
|
+
accumulateShadowCascades?: boolean;
|
|
10700
|
+
/** Depth bias applied during shadow tests to reduce self-shadowing (acne). Increase to mitigate artifacts; too high causes peter-panning. */
|
|
10701
|
+
bias?: number;
|
|
10702
|
+
/** Directional lights only: number of cascades for CSM. 0 = static shadow map, 1–4 = increasing cascade count. */
|
|
10703
|
+
cascadeCount?: (0 | 1 | 2 | 3 | 4) & number;
|
|
10704
|
+
/** 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. */
|
|
10705
|
+
cascadeSplitLambda?: number;
|
|
10706
|
+
/** Shadow camera far clip distance (meters). Use the smallest range that contains casters/receivers. */
|
|
10707
|
+
farDist?: number;
|
|
10708
|
+
/** Shadow camera near clip distance (meters). Tighten to improve depth precision. */
|
|
10709
|
+
nearDist?: number;
|
|
10710
|
+
/** Shadow map resolution (pixels per side). Higher values increase detail at the cost of memory and performance. */
|
|
10711
|
+
quality?: (256 | 512 | 1024 | 2048 | 3072 | 4096 | 6144 | 8192) & number;
|
|
10712
|
+
};
|
|
10713
|
+
skeleton_ref: {
|
|
10714
|
+
/** Referenced skeleton (UUID). */
|
|
10715
|
+
value?: string;
|
|
10716
|
+
};
|
|
10717
|
+
sound_ref: {
|
|
10718
|
+
/** Distance attenuation model. */
|
|
10719
|
+
attenuationModel?: (0 | 1 | 2 | 3) & number;
|
|
10720
|
+
/** Rolloff factor for distance attenuation. */
|
|
10721
|
+
attenuationRolloffFactor?: number;
|
|
10722
|
+
/** Autoplay when the simulation starts. */
|
|
10723
|
+
autoPlayOnStart?: boolean;
|
|
10724
|
+
/** Scale factor for the Doppler effect. */
|
|
10725
|
+
dopplerFactor?: number;
|
|
10726
|
+
/** Behavior when the sound becomes inaudible. */
|
|
10727
|
+
inaudibleBehavior?: (0 | 1 | 2) & number;
|
|
10728
|
+
/** Whether the sound loops. */
|
|
10729
|
+
looping?: boolean;
|
|
10730
|
+
/** Distance beyond which the sound is inaudible (meters). */
|
|
10731
|
+
maxDistance?: number;
|
|
10732
|
+
/** Distance at which the sound stays at max volume (meters). */
|
|
10733
|
+
minDistance?: number;
|
|
10734
|
+
/** Stereo pan. −1 = left, 1 = right. */
|
|
10735
|
+
pan?: number;
|
|
10736
|
+
/** Playback speed multiplier (1.0 = normal). */
|
|
10737
|
+
playSpeed?: number;
|
|
10738
|
+
/** Referenced sound (UUID). */
|
|
10739
|
+
value?: string;
|
|
10740
|
+
/** Playback volume [0..1]. */
|
|
10741
|
+
volume?: number;
|
|
10742
|
+
};
|
|
10743
|
+
sphere_geometry: {
|
|
10744
|
+
/** Local offset of the geometry origin (meters). */
|
|
10745
|
+
offset?: Array<number>;
|
|
10746
|
+
/** Radius of the sphere (meters). */
|
|
10747
|
+
radius?: number;
|
|
10748
|
+
};
|
|
10749
|
+
spline: {
|
|
10750
|
+
/** Display color of the curve. */
|
|
10751
|
+
color?: Array<number>;
|
|
10752
|
+
/** Catmull-Rom tension (only when type is Catmull-Rom). */
|
|
10753
|
+
tension?: number;
|
|
10754
|
+
/** Spline interpolation type. */
|
|
10755
|
+
type?: (0 | 1 | 2) & number;
|
|
10756
|
+
};
|
|
10757
|
+
spot_light: {
|
|
10758
|
+
/** Optional IES photometric profile (2D texture). Modulates emitted intensity by direction; leave empty for uniform distribution. */
|
|
10759
|
+
IESProfile?: string;
|
|
10760
|
+
/** Cone half-angle in degrees, from the axis to the edge. Light falls to zero at the cone edge. */
|
|
10761
|
+
cutoff?: number;
|
|
10762
|
+
};
|
|
10763
|
+
tags: {
|
|
10764
|
+
/** List of tags applied to this entity. */
|
|
10765
|
+
value?: Array<string>;
|
|
10766
|
+
};
|
|
10767
|
+
vehicle_controller: {
|
|
10768
|
+
/** The chassis. */
|
|
10769
|
+
chassis?: {
|
|
10770
|
+
linkage: Array<string>;
|
|
10771
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10772
|
+
originalEUID: string;
|
|
10773
|
+
};
|
|
10774
|
+
/** The front left wheel. */
|
|
10775
|
+
frontLeftWheel?: {
|
|
10776
|
+
linkage: Array<string>;
|
|
10777
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10778
|
+
originalEUID: string;
|
|
10779
|
+
};
|
|
10780
|
+
/** The front right wheel. */
|
|
10781
|
+
frontRightWheel?: {
|
|
10782
|
+
linkage: Array<string>;
|
|
10783
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10784
|
+
originalEUID: string;
|
|
10785
|
+
};
|
|
10786
|
+
/** The rear left wheel. */
|
|
10787
|
+
rearLeftWheel?: {
|
|
10788
|
+
linkage: Array<string>;
|
|
10789
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10790
|
+
originalEUID: string;
|
|
10791
|
+
};
|
|
10792
|
+
/** The rear right wheel. */
|
|
10793
|
+
rearRightWheel?: {
|
|
10794
|
+
linkage: Array<string>;
|
|
10795
|
+
/** A unique identifier, such as an entity's, or the nil uuid for none. */
|
|
10796
|
+
originalEUID: string;
|
|
10797
|
+
};
|
|
10798
|
+
};
|
|
10799
|
+
volume_filter: {
|
|
10800
|
+
/** Apply Gaussian smoothing when sampling voxels. */
|
|
10801
|
+
applyGaussianFiltering?: boolean;
|
|
10802
|
+
/** Whether this volume is visible in the 3D view. */
|
|
10803
|
+
enable3D?: boolean;
|
|
10804
|
+
/** Whether this volume is visible in the MPR (multi-planar reconstruction) view. */
|
|
10805
|
+
enableMPR?: boolean;
|
|
10806
|
+
/** Tint applied to this volume's MPR/projection output. */
|
|
10807
|
+
mprColor?: Array<number>;
|
|
10808
|
+
/** Displayed voxel intensity range [min, max]. Values outside the material's valid range are clamped/ignored. */
|
|
10809
|
+
range?: Array<number>;
|
|
10810
|
+
/** Sample texels without hardware filtering (nearest). */
|
|
10811
|
+
sampleUnfiltered?: boolean;
|
|
10812
|
+
};
|
|
10813
|
+
volume_material_ref: {
|
|
10814
|
+
/** Referenced volume material (UUID). */
|
|
10815
|
+
value?: string;
|
|
10816
|
+
};
|
|
10817
|
+
volume_ref: {
|
|
10818
|
+
/** Referenced 3D texture (UUID) containing the volume voxels. */
|
|
10819
|
+
texture3dRef?: string;
|
|
10820
|
+
};
|
|
10821
|
+
}, {}, any>>;
|
|
10204
10822
|
/**
|
|
10205
10823
|
* Delete a specific entity from a scene.
|
|
10206
10824
|
* @throws {InvalidParameter}
|
|
@@ -10215,7 +10833,7 @@ export declare function updateEntity({ scene_id, entity_id, animation_controller
|
|
|
10215
10833
|
export declare function deleteEntity({ scene_id, entity_id, }: {
|
|
10216
10834
|
scene_id: AssetId;
|
|
10217
10835
|
entity_id: string;
|
|
10218
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
10836
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
10219
10837
|
/**
|
|
10220
10838
|
* Get the settings of a scene.
|
|
10221
10839
|
* @throws {InvalidParameter}
|
|
@@ -10244,7 +10862,7 @@ export declare function getSceneSettings({ scene_id, }: {
|
|
|
10244
10862
|
export declare function updateSceneSettings({ scene_id, body, }: {
|
|
10245
10863
|
scene_id: AssetId;
|
|
10246
10864
|
body: SceneSettings;
|
|
10247
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any,
|
|
10865
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, SceneSettings, {}, any>>;
|
|
10248
10866
|
/**
|
|
10249
10867
|
* Lists all running rendering sessions.
|
|
10250
10868
|
* @throws {InvalidParameter}
|
|
@@ -10321,7 +10939,7 @@ export declare function getSession({ session_id, }: {
|
|
|
10321
10939
|
*/
|
|
10322
10940
|
export declare function killSession({ session_id, }: {
|
|
10323
10941
|
session_id: SessionId;
|
|
10324
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
10942
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
10325
10943
|
/**
|
|
10326
10944
|
* Creates a new client for the user and returns a token to join the session.
|
|
10327
10945
|
* @throws {InvalidParameter}
|
|
@@ -10372,7 +10990,7 @@ export declare function getClient({ session_id, client_id, }: {
|
|
|
10372
10990
|
export declare function kickClientFromSession({ session_id, client_id, }: {
|
|
10373
10991
|
session_id: SessionId;
|
|
10374
10992
|
client_id: ClientId;
|
|
10375
|
-
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}>>;
|
|
10993
|
+
}, headers?: RawAxiosRequestHeaders | AxiosRequestHeaders): Promise<AxiosResponse<any, any, {}, any>>;
|
|
10376
10994
|
/**
|
|
10377
10995
|
* Join a session as guest.
|
|
10378
10996
|
* @throws {InvalidParameter}
|