@3dverse/livelink.core 0.7.12 → 0.8.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.
Files changed (59) hide show
  1. package/dist/_prebuild/EditorMessageHandler.d.ts +5 -5
  2. package/dist/_prebuild/GatewayConnection.d.ts +6 -0
  3. package/dist/_prebuild/GatewayMessageHandler.d.ts +7 -4
  4. package/dist/_prebuild/enums.d.ts +4 -1
  5. package/dist/_prebuild/messages/editor/ConnectConfirmation.d.ts +18 -17
  6. package/dist/_prebuild/messages/editor/EditorEntity.d.ts +52 -3
  7. package/dist/_prebuild/messages/editor/EntityCreationCoreOptions.d.ts +6 -0
  8. package/dist/_prebuild/messages/editor/EntityUpdatedEvent.d.ts +1 -1
  9. package/dist/_prebuild/messages/editor/EntityVisibilityChangedEvent.d.ts +3 -0
  10. package/dist/_prebuild/messages/editor/UpdateComponentsCommand.d.ts +3 -3
  11. package/dist/_prebuild/messages/editor/index.d.ts +1 -1
  12. package/dist/_prebuild/messages/gateway/AssetLoadingEvent.d.ts +2 -2
  13. package/dist/_prebuild/messages/gateway/AssignClientToScriptMessage.d.ts +3 -2
  14. package/dist/_prebuild/messages/gateway/AuthenticationResponse.d.ts +3 -3
  15. package/dist/_prebuild/messages/gateway/ClientConfig.d.ts +4 -4
  16. package/dist/_prebuild/messages/gateway/ClientConfigResponse.d.ts +3 -3
  17. package/dist/_prebuild/messages/gateway/FireEventMessage.d.ts +3 -3
  18. package/dist/_prebuild/messages/gateway/FrameData.d.ts +5 -5
  19. package/dist/_prebuild/messages/gateway/HighlightEntitiesMessage.d.ts +3 -3
  20. package/dist/_prebuild/messages/gateway/InputState.d.ts +3 -3
  21. package/dist/_prebuild/messages/gateway/RemoveComponentsCommand.d.ts +4 -4
  22. package/dist/_prebuild/messages/gateway/RemoveFilterMessage.d.ts +4 -3
  23. package/dist/_prebuild/messages/gateway/ResizeResponse.d.ts +2 -2
  24. package/dist/_prebuild/messages/gateway/ScreenSpaceRayQuery.d.ts +4 -3
  25. package/dist/_prebuild/messages/gateway/ScreenSpaceRayResult.d.ts +2 -2
  26. package/dist/_prebuild/messages/gateway/ScriptEvent.d.ts +4 -4
  27. package/dist/_prebuild/messages/gateway/SendSkeletonPoseMessage.d.ts +4 -4
  28. package/dist/_prebuild/messages/gateway/SessionAuth.d.ts +1 -1
  29. package/dist/_prebuild/messages/gateway/SetFilterMessage.d.ts +4 -3
  30. package/dist/_prebuild/messages/gateway/ToggleFilterMessage.d.ts +4 -3
  31. package/dist/_prebuild/messages/gateway/UpdateEntitiesFromBytesMessage.d.ts +4 -4
  32. package/dist/_prebuild/messages/gateway/UpdateEntitiesFromJsonMessage.d.ts +4 -4
  33. package/dist/_prebuild/messages/gateway/ViewportConfig.d.ts +4 -4
  34. package/dist/_prebuild/messages/gateway/enums.d.ts +6 -6
  35. package/dist/_prebuild/types/ComponentsHashes.d.ts +53 -0
  36. package/dist/_prebuild/types/ComponentsRecord.d.ts +186 -0
  37. package/dist/_prebuild/types/SceneSettingsRecord.d.ts +50 -0
  38. package/dist/_prebuild/types/assets.d.ts +27 -23
  39. package/dist/_prebuild/types/components.d.ts +380 -318
  40. package/dist/_prebuild/types/{settings.d.ts → sceneSettings.d.ts} +85 -70
  41. package/dist/sources/ActivityWatcher.d.ts +44 -0
  42. package/dist/sources/LivelinkCore.d.ts +12 -11
  43. package/dist/sources/RequestHandler.d.ts +2 -0
  44. package/dist/sources/Serializer.d.ts +6 -6
  45. package/dist/sources/{types/constants.d.ts → constants.d.ts} +2 -2
  46. package/dist/sources/controllers/GatewayController.d.ts +10 -3
  47. package/dist/sources/core.d.ts +25 -5
  48. package/dist/sources/interfaces/ClientInterface.d.ts +5 -0
  49. package/dist/sources/interfaces/EntityInterface.d.ts +11 -0
  50. package/dist/sources/interfaces/SessionInterface.d.ts +9 -4
  51. package/dist/sources/types/RTID.d.ts +4 -3
  52. package/dist/sources/types/UUID.d.ts +4 -4
  53. package/dist/sources/types/dataObjects.d.ts +52 -0
  54. package/dist/sources/types/index.d.ts +2 -5
  55. package/dist/sources/types/math.d.ts +38 -17
  56. package/dist/sources/types/nativeTypes.d.ts +84 -13
  57. package/package.json +10 -2
  58. package/dist/_prebuild/messages/editor/EntityCreationOptions.d.ts +0 -6
  59. package/dist/sources/controllers/ActivityWatcher.d.ts +0 -22
@@ -2,952 +2,1014 @@
2
2
  * DO NOT EDIT THIS FILE MANUALLY.
3
3
  * This file has been generated automatically from ftl-schemas
4
4
  */
5
- import type { RTID, UUID, Mat4, Quat, Vec3, Vec2, Int32, UInt32, Float, Int8, UInt8 } from "../../sources/types";
5
+ import type { EntityRef, AssetRef, AnimationGraphDataObject, RenderGraphDataObject, ShaderDataObject, ScriptDataObject, RTID, UUID, Mat4, Quat, Vec3, Vec2, Float, Int32, UInt32, Int8, UInt8 } from "../../sources/types";
6
6
  import type * as Assets from "./assets";
7
7
  /**
8
- *
9
- */
10
- export type ComponentType = keyof typeof ComponentHash;
11
- /**
12
- *
13
- */
14
- export type AssetRef<T> = UUID;
15
- /**
16
- *
17
- */
18
- export type EntityRef = {
19
- originalEUID: UUID;
20
- linkage: Array<UUID>;
21
- };
22
- /**
23
- *
8
+ * Unique identifier for an entity.
24
9
  */
25
10
  export type Euid = {
11
+ /**
12
+ * Unique identifier value.
13
+ */
26
14
  value: UUID;
15
+ /**
16
+ * Runtime id of this entity, needed to differentiate between cloned entities.
17
+ */
27
18
  rtid: RTID;
28
19
  };
29
20
  /**
30
21
  * Animation controller with reference to an animation graph and an animation set. Enables skeletal animation on its skinned mesh descendents whose skeleton is compatible with the animations in the animation set.
31
22
  */
32
- export type AnimationController = Partial<{
23
+ export type AnimationController = {
33
24
  /**
34
25
  * UUID of the referenced animation graph.
35
26
  */
36
- animationGraphRef: AssetRef<Assets.AnimationGraph>;
27
+ animationGraphRef?: AssetRef<Assets.AnimationGraph>;
37
28
  /**
38
29
  * UUID of the referenced animation set.
39
30
  */
40
- animationSetRef: AssetRef<Assets.AnimationSet>;
31
+ animationSetRef?: AssetRef<Assets.AnimationSet>;
41
32
  /**
42
33
  * Input values as described in the referenced animation graph in their original JSON format.
43
34
  */
44
- dataJSON: Record<string, unknown>;
35
+ dataJSON?: AnimationGraphDataObject;
45
36
  /**
46
37
  * Reference to the entity with the bone component that corresponds the root bone of the skeleton.
47
38
  */
48
- rootBoneEntityRef: EntityRef;
39
+ rootBoneEntityRef?: EntityRef;
49
40
  /**
50
41
  * Whether or not root motion is enabled.
42
+ * @defaultValue false
51
43
  */
52
- rootMotionEnabled: boolean;
53
- }>;
44
+ rootMotionEnabled?: boolean;
45
+ };
54
46
  /**
55
47
  * Animation sequence controller with reference to an animation sequence and assigned entities.
56
48
  */
57
- export type AnimationSequenceController = Partial<{
49
+ export type AnimationSequenceController = {
58
50
  /**
59
51
  * A reference to an animation sequence.
60
52
  */
61
- animationSequenceRef: AssetRef<Assets.AnimationSequence>;
53
+ animationSequenceRef?: AssetRef<Assets.AnimationSequence>;
62
54
  /**
63
55
  * Track to entity map. Key is track uuid, value is the entity to assign to it.
64
56
  */
65
- entities: Record<UUID, EntityRef>;
57
+ entities?: Record<UUID, EntityRef>;
66
58
  /**
67
59
  * The speed at which to play the animation sequence. The sequence will go in reverse if set to a value lower than 0.
60
+ * @defaultValue 1
68
61
  */
69
- playbackSpeed: Float;
62
+ playbackSpeed?: Float;
70
63
  /**
71
64
  * The normalized offset at which to start the playback.
65
+ * @defaultValue 0
72
66
  */
73
- startOffset: Float;
67
+ startOffset?: Float;
74
68
  /**
75
69
  * The normalized offset at which to stop the playback (or loop back to start offset).
70
+ * @defaultValue 1
76
71
  */
77
- stopOffset: Float;
72
+ stopOffset?: Float;
78
73
  /**
79
74
  * Whether or not the animation loops when it reaches the end of the sequence.
75
+ * @defaultValue false
80
76
  */
81
- loop: boolean;
77
+ loop?: boolean;
82
78
  /**
83
79
  * The play state of the animation.
80
+ * @defaultValue 0
84
81
  */
85
- playState: Int32;
82
+ playState?: Int32;
86
83
  /**
87
84
  * The offset to seek at next frame. Must be in the [0, 1] range.
85
+ * @defaultValue -1
88
86
  */
89
- seekOffset: Float;
90
- }>;
87
+ seekOffset?: Float;
88
+ };
91
89
  /**
92
90
  * Links entity to bone in skeleton.
93
91
  */
94
- export type Bone = Partial<{
92
+ export type Bone = {
95
93
  /**
96
94
  * Index of bone in skeleton.
97
95
  */
98
- boneIndex: UInt32;
99
- }>;
96
+ boneIndex?: UInt32;
97
+ };
100
98
  /**
101
99
  * Box geometry.
102
100
  */
103
- export type BoxGeometry = Partial<{
101
+ export type BoxGeometry = {
104
102
  /**
105
103
  * Width, height and depth of the box.
104
+ * @defaultValue 1,1,1
106
105
  */
107
- dimension: Vec3;
106
+ dimension?: Vec3;
108
107
  /**
109
108
  * Geometry offset.
109
+ * @defaultValue 0,0,0
110
110
  */
111
- offset: Vec3;
112
- }>;
111
+ offset?: Vec3;
112
+ };
113
113
  /**
114
114
  * Virtual camera.
115
115
  */
116
- export type Camera = Partial<{
116
+ export type Camera = {
117
117
  /**
118
118
  * UUID of the referenced render graph this camera should use.
119
119
  */
120
- renderGraphRef: AssetRef<Assets.RenderGraph>;
120
+ renderGraphRef?: AssetRef<Assets.RenderGraph>;
121
121
  /**
122
122
  * Index of the render target to blit.
123
+ * @defaultValue -1
123
124
  */
124
- renderTargetIndex: Int32;
125
+ renderTargetIndex?: Int32;
125
126
  /**
126
127
  * Input values as described in the referenced render graph in their original JSON format.
127
128
  */
128
- dataJSON: Record<string, unknown>;
129
- }>;
129
+ dataJSON?: RenderGraphDataObject;
130
+ };
130
131
  /**
131
132
  * Capsule geometry.
132
133
  */
133
- export type CapsuleGeometry = Partial<{
134
+ export type CapsuleGeometry = {
134
135
  /**
135
136
  * Radius of the spheres at each end of the capsule.
137
+ * @defaultValue 0.5
136
138
  */
137
- radius: Float;
139
+ radius?: Float;
138
140
  /**
139
141
  * Height of the cylindrical part of the capsule.
142
+ * @defaultValue 1
140
143
  */
141
- height: Float;
144
+ height?: Float;
142
145
  /**
143
146
  * Alignment axis. 0 for X, 1 for Y, 2 for Z.
147
+ * @defaultValue 1
144
148
  */
145
- axis: Int32;
149
+ axis?: Int32;
146
150
  /**
147
151
  * Geometry offset.
152
+ * @defaultValue 0,0,0
148
153
  */
149
- offset: Vec3;
150
- }>;
154
+ offset?: Vec3;
155
+ };
151
156
  /**
152
157
  * Character controller used for movement constrained by collisions without having to deal with a rigid body. A character controller is kinematic, and so is not affected by forces. It uses its own tweaked collision algorithm to give a good feeling while controlling the character.
153
158
  */
154
- export type CharacterController = Partial<{
159
+ export type CharacterController = {
155
160
  /**
156
161
  * Step offset. If the height of a step is greater than stepOffset, the controller cannot climb automatically and gets stuck.
162
+ * @defaultValue 0
157
163
  */
158
- stepOffset: Float;
164
+ stepOffset?: Float;
159
165
  /**
160
166
  * Slope limit in degrees. A slope steeper than the slopeLimit will not be walkable by the controller.
167
+ * @defaultValue 45
161
168
  */
162
- slopeLimit: Float;
169
+ slopeLimit?: Float;
163
170
  /**
164
171
  * The character's collision skin width.
172
+ * @defaultValue 0
165
173
  */
166
- skinWidth: Float;
174
+ skinWidth?: Float;
167
175
  /**
168
176
  * Displacement vector for current frame.
177
+ * @defaultValue 0,0,0
169
178
  */
170
- displacement: Vec3;
171
- }>;
179
+ displacement?: Vec3;
180
+ };
172
181
  /**
173
182
  * Reference to a collision geometry.
174
183
  */
175
- export type CollisionGeometryRef = Partial<{
184
+ export type CollisionGeometryRef = {
176
185
  /**
177
186
  * UUID of the referenced collision geometry.
178
187
  */
179
- collisionGeometryRef: AssetRef<Assets.CollisionGeometry>;
180
- }>;
188
+ collisionGeometryRef?: AssetRef<Assets.CollisionGeometry>;
189
+ };
181
190
  /**
182
191
  * A physics constraint that can be configured along 6 degrees of freedom. In its default state it behaves as a fixed constraint - that is, it rigidly fixes the constraint frames of its two entities. However, individual degrees of freedom may be unlocked to permit any combination of rotation around the x-, y- and z- axes, and translation along these axes.
183
192
  */
184
- export type Constraint = Partial<{
193
+ export type Constraint = {
185
194
  /**
186
195
  * Motion along the X axis
196
+ * @defaultValue 0
187
197
  */
188
- motionAlongX: Int32;
198
+ motionAlongX?: Int32;
189
199
  /**
190
200
  * Motion along the Y axis
201
+ * @defaultValue 0
191
202
  */
192
- motionAlongY: Int32;
203
+ motionAlongY?: Int32;
193
204
  /**
194
205
  * Motion along the Z axis
206
+ * @defaultValue 0
195
207
  */
196
- motionAlongZ: Int32;
208
+ motionAlongZ?: Int32;
197
209
  /**
198
210
  * Motion around the X axis
211
+ * @defaultValue 0
199
212
  */
200
- motionAroundX: Int32;
213
+ motionAroundX?: Int32;
201
214
  /**
202
215
  * Motion around the Y axis
216
+ * @defaultValue 0
203
217
  */
204
- motionAroundY: Int32;
218
+ motionAroundY?: Int32;
205
219
  /**
206
220
  * Motion around the Z axis
221
+ * @defaultValue 0
207
222
  */
208
- motionAroundZ: Int32;
223
+ motionAroundZ?: Int32;
209
224
  /**
210
225
  * The lower distance of the limit.
226
+ * @defaultValue 0,0,0
211
227
  */
212
- motionLowerLimit: Vec3;
228
+ motionLowerLimit?: Vec3;
213
229
  /**
214
230
  * The upper distance of the limit.
231
+ * @defaultValue 0,0,0
215
232
  */
216
- motionUpperLimit: Vec3;
233
+ motionUpperLimit?: Vec3;
217
234
  /**
218
235
  * If greater than zero, the limit is soft, i.e. a spring pulls the joint back to the limit.
236
+ * @defaultValue 0,0,0
219
237
  */
220
- motionLimitSpringStiffness: Vec3;
238
+ motionLimitSpringStiffness?: Vec3;
221
239
  /**
222
240
  * If greater than zero, this is the damping of the limit spring.
241
+ * @defaultValue 0,0,0
223
242
  */
224
- motionLimitSpringDamping: Vec3;
243
+ motionLimitSpringDamping?: Vec3;
225
244
  /**
226
245
  * The limit angle from the Y-axis and the Z-axis of the constraint frame. The cone limit is used if either or both swing axes are limited. The extents are symmetrical and measured in the frame of the parent. If only one swing degree of freedom is limited, the corresponding value from the cone limit defines the limit range.
246
+ * @defaultValue 0,0
227
247
  */
228
- swingLimitAngle: Vec2;
248
+ swingLimitAngle?: Vec2;
229
249
  /**
230
250
  * If greater than zero, the limit is soft, i.e. a spring pulls the joint back to the limit.
251
+ * @defaultValue 0
231
252
  */
232
- swingSpringStiffness: Float;
253
+ swingSpringStiffness?: Float;
233
254
  /**
234
255
  * If greater than zero, this is the damping of the limit spring.
256
+ * @defaultValue 0
235
257
  */
236
- swingSpringDamping: Float;
258
+ swingSpringDamping?: Float;
237
259
  /**
238
260
  * The twist limit controls the range of motion around the twist axis. The limit angle range is (-360, 360).
261
+ * @defaultValue 0,0
239
262
  */
240
- twistLimitAngle: Vec2;
263
+ twistLimitAngle?: Vec2;
241
264
  /**
242
265
  * If greater than zero, the limit is soft, i.e. a spring pulls the joint back to the limit.
266
+ * @defaultValue 0
243
267
  */
244
- twistSpringStiffness: Float;
268
+ twistSpringStiffness?: Float;
245
269
  /**
246
270
  * If greater than zero, this is the damping of the limit spring.
271
+ * @defaultValue 0
247
272
  */
248
- twistSpringDamping: Float;
273
+ twistSpringDamping?: Float;
249
274
  /**
250
275
  * If greater than zero, the limit is soft, i.e. a spring pulls the joint back to the limit.
276
+ * @defaultValue 0,0,0
251
277
  */
252
- linearDriveStiffness: Vec3;
278
+ linearDriveStiffness?: Vec3;
253
279
  /**
254
280
  * If greater than zero, this is the damping of the limit spring.
281
+ * @defaultValue 0,0,0
255
282
  */
256
- linearDriveDamping: Vec3;
283
+ linearDriveDamping?: Vec3;
257
284
  /**
258
285
  * The maximum impulse or force that can be exerted by the drive. -1 for no limit.
286
+ * @defaultValue -1,-1,-1
259
287
  */
260
- linearDriveForceLimit: Vec3;
288
+ linearDriveForceLimit?: Vec3;
261
289
  /**
262
290
  * If greater than zero, the limit is soft, i.e. a spring pulls the joint back to the limit.
291
+ * @defaultValue 0,0,0
263
292
  */
264
- angularDriveStiffness: Vec3;
293
+ angularDriveStiffness?: Vec3;
265
294
  /**
266
295
  * If greater than zero, this is the damping of the limit spring.
296
+ * @defaultValue 0,0,0
267
297
  */
268
- angularDriveDamping: Vec3;
298
+ angularDriveDamping?: Vec3;
269
299
  /**
270
300
  * The maximum impulse or force that can be exerted by the drive. -1 for no limit.
301
+ * @defaultValue -1,-1,-1
271
302
  */
272
- angularDriveForceLimit: Vec3;
303
+ angularDriveForceLimit?: Vec3;
273
304
  /**
274
305
  * The drive type
306
+ * @defaultValue 1
275
307
  */
276
- driveType: Int8;
308
+ driveType?: Int8;
277
309
  /**
278
310
  * The goal velocity for linear drive.
311
+ * @defaultValue 0,0,0
279
312
  */
280
- driveLinearVelocity: Vec3;
313
+ driveLinearVelocity?: Vec3;
281
314
  /**
282
315
  * The goal velocity for angular drive.
316
+ * @defaultValue 0,0,0
283
317
  */
284
- driveAngularVelocity: Vec3;
285
- }>;
318
+ driveAngularVelocity?: Vec3;
319
+ };
286
320
  /**
287
321
  * Culling geometry. Add this component in addition to another geometry component (e.g. box geometry, sphere geometry, etc.) to enable culling geometry.
288
322
  */
289
- export type CullingGeometry = Partial<{
323
+ export type CullingGeometry = {
290
324
  /**
291
325
  * Additive geometry will only display elements (vertices or voxels) inside the geometry. Subtractive will only display elements outside the geometry.
326
+ * @defaultValue true
292
327
  */
293
- isAdditive: boolean;
294
- }>;
328
+ isAdditive?: boolean;
329
+ };
295
330
  /**
296
331
  * Cylinder geometry.
297
332
  */
298
- export type CylinderGeometry = Partial<{
333
+ export type CylinderGeometry = {
299
334
  /**
300
335
  * Radius of the cylinder.
336
+ * @defaultValue 0.5
301
337
  */
302
- radius: Float;
338
+ radius?: Float;
303
339
  /**
304
340
  * Height of the cylinder.
341
+ * @defaultValue 1
305
342
  */
306
- height: Float;
343
+ height?: Float;
307
344
  /**
308
345
  * Alignment axis. 0 for X, 1 for Y, 2 for Z.
346
+ * @defaultValue 1
309
347
  */
310
- axis: Int32;
348
+ axis?: Int32;
311
349
  /**
312
350
  * Geometry offset.
351
+ * @defaultValue 0,0,0
313
352
  */
314
- offset: Vec3;
315
- }>;
353
+ offset?: Vec3;
354
+ };
316
355
  /**
317
356
  * Name of the entity.
318
357
  */
319
- export type DebugName = Partial<{
358
+ export type DebugName = {
320
359
  /**
321
360
  * Entity name.
322
361
  */
323
- value: string;
324
- }>;
362
+ value?: string;
363
+ };
325
364
  /**
326
365
  * Decal Projector.
327
366
  */
328
- export type DecalProjector = Partial<{
367
+ export type DecalProjector = {
329
368
  /**
330
369
  * Z-Index order of the decal projection. The higher index will render on top of the lower ones.
370
+ * @defaultValue 0
331
371
  */
332
- zIndex: Int32;
333
- }>;
372
+ zIndex?: Int32;
373
+ };
334
374
  /**
335
375
  * The environment of a scene. Used to give a scene a skybox.
336
376
  */
337
- export type Environment = Partial<{
377
+ export type Environment = {
338
378
  /**
339
379
  * UUID of the skybox cubemap.
340
380
  */
341
- skyboxUUID: AssetRef<Assets.Cubemap>;
381
+ skyboxUUID?: AssetRef<Assets.Cubemap>;
342
382
  /**
343
383
  * Reference to the radiance cubemap.
344
384
  */
345
- radianceUUID: AssetRef<Assets.Cubemap>;
385
+ radianceUUID?: AssetRef<Assets.Cubemap>;
346
386
  /**
347
387
  * Reference to the irradiance cubemap.
348
388
  */
349
- irradianceUUID: AssetRef<Assets.Cubemap>;
350
- }>;
389
+ irradianceUUID?: AssetRef<Assets.Cubemap>;
390
+ };
351
391
  /**
352
392
  * Base component of all the other joint components (revolute_joint, etc.). By itself it will lock the orientations and distances of the constrainer and constrainee.
353
393
  */
354
- export type Joint = Partial<{
394
+ export type Joint = {
355
395
  /**
356
396
  * An entity that is a rigid body.
357
397
  */
358
- constrainee: EntityRef;
398
+ constrainee?: EntityRef;
359
399
  /**
360
400
  * An entity that is a rigid or static body, or simply null.
361
401
  */
362
- constrainer: EntityRef;
402
+ constrainer?: EntityRef;
363
403
  /**
364
404
  * The force that needs to be applied for this joint to break.
405
+ * @defaultValue 10
365
406
  */
366
- breakForce: Float;
407
+ breakForce?: Float;
367
408
  /**
368
409
  * The torque that needs to be applied for this joint to break.
410
+ * @defaultValue 10
369
411
  */
370
- breakTorque: Float;
412
+ breakTorque?: Float;
371
413
  /**
372
414
  * Whether to enable collision between constrainer and constrainee.
415
+ * @defaultValue false
373
416
  */
374
- enableCollision: boolean;
375
- }>;
417
+ enableCollision?: boolean;
418
+ };
376
419
  /**
377
420
  * Lineage of the entity through linkers.
378
421
  */
379
- export type Lineage = Partial<{
422
+ export type Lineage = {
380
423
  /**
381
424
  * UUIDs of the hierarchy of linkers that brought this entity.
382
425
  */
383
- readonly value: Array<UUID>;
426
+ readonly value?: Array<UUID>;
384
427
  /**
385
428
  * UUID of the parent of this entity (default is root).
386
429
  */
387
- parentUUID: UUID;
430
+ parentUUID?: UUID;
388
431
  /**
389
432
  * Ordinal number of this entity in respect of its siblings.
433
+ * @defaultValue 0
390
434
  */
391
- ordinal: Int32;
392
- }>;
435
+ ordinal?: Int32;
436
+ };
393
437
  /**
394
438
  * Local Axis Aligned Bounding Box of the entity.
395
439
  */
396
- export type LocalAabb = Partial<{
440
+ export type LocalAabb = {
397
441
  /**
398
442
  * Minimum point of the box.
399
443
  */
400
- min: Vec3;
444
+ min?: Vec3;
401
445
  /**
402
446
  * Maximum point of the box.
403
447
  */
404
- max: Vec3;
405
- }>;
448
+ max?: Vec3;
449
+ };
406
450
  /**
407
451
  * Local transform of the entity.
408
452
  */
409
- export type LocalTransform = Partial<{
453
+ export type LocalTransform = {
410
454
  /**
411
455
  * x, y, z position of the entity.
456
+ * @defaultValue 0,0,0
412
457
  */
413
- position: Vec3;
458
+ position?: Vec3;
414
459
  /**
415
460
  * Orientation of the entity expressed as a quaternion.
461
+ * @defaultValue 0,0,0,1
416
462
  */
417
- orientation: Quat;
463
+ orientation?: Quat;
418
464
  /**
419
465
  * x, y, z scale of the entity.
466
+ * @defaultValue 1,1,1
420
467
  */
421
- scale: Vec3;
468
+ scale?: Vec3;
422
469
  /**
423
470
  * Orientation of the entity expressed as euler angles.
471
+ * @defaultValue 0,0,0
424
472
  */
425
- eulerOrientation: Vec3;
473
+ eulerOrientation?: Vec3;
426
474
  /**
427
475
  * Last global orientation of the entity expressed as euler angles submitted by a user. This value may not be valid, and should be checked.
476
+ * @defaultValue 0,0,0
428
477
  */
429
- globalEulerOrientation: Vec3;
430
- }>;
478
+ globalEulerOrientation?: Vec3;
479
+ };
431
480
  /**
432
481
  * References a shader and specifies input values if needed.
433
482
  */
434
- export type Material = Partial<{
483
+ export type Material = {
435
484
  /**
436
485
  * UUID of the referenced shader.
437
486
  */
438
- shaderRef: AssetRef<Assets.Shader>;
487
+ shaderRef?: AssetRef<Assets.Shader>;
439
488
  /**
440
489
  * Whether the material is double sided or not.
490
+ * @defaultValue false
441
491
  */
442
- isDoubleSided: boolean;
492
+ isDoubleSided?: boolean;
443
493
  /**
444
494
  * Input values as described in the referenced shader in their original JSON format.
445
495
  */
446
- dataJSON: Record<string, unknown>;
496
+ dataJSON?: ShaderDataObject;
447
497
  /**
448
498
  * Specialization constants values as described in the referenced shader in their original JSON format.
449
499
  */
450
- constantsJSON: Record<string, unknown>;
451
- }>;
500
+ constantsJSON?: ShaderDataObject;
501
+ };
452
502
  /**
453
503
  * Reference to a material.
454
504
  */
455
- export type MaterialRef = Partial<{
505
+ export type MaterialRef = {
456
506
  /**
457
507
  * UUID of the referenced material.
458
508
  */
459
- value: AssetRef<Assets.Material>;
509
+ value?: AssetRef<Assets.Material>;
460
510
  /**
461
511
  * Face culling mode. 0 to inherit from material, 1 for single sided, 2 for double sided.
512
+ * @defaultValue 0
462
513
  */
463
- faceCulling: Int32;
464
- }>;
514
+ faceCulling?: Int32;
515
+ };
465
516
  /**
466
517
  * Reference to a mesh.
467
518
  */
468
- export type MeshRef = Partial<{
519
+ export type MeshRef = {
469
520
  /**
470
521
  * UUID of the referenced mesh.
471
522
  */
472
- value: AssetRef<Assets.Mesh>;
523
+ value?: AssetRef<Assets.Mesh>;
473
524
  /**
474
525
  * Index of the submesh inside the mesh's submesh array.
526
+ * @defaultValue 0
475
527
  */
476
- submeshIndex: Int32;
528
+ submeshIndex?: Int32;
477
529
  /**
478
530
  * Whether or not this mesh casts shadows.
531
+ * @defaultValue 1
479
532
  */
480
- shadowCastingMode: UInt8;
481
- }>;
533
+ shadowCastingMode?: UInt8;
534
+ };
482
535
  /**
483
536
  * A lens that applies an orthographic projection.
484
537
  */
485
- export type OrthographicLens = Partial<{
538
+ export type OrthographicLens = {
486
539
  /**
487
540
  * Left plane.
541
+ * @defaultValue -1
488
542
  */
489
- left: Float;
543
+ left?: Float;
490
544
  /**
491
545
  * Right plane.
546
+ * @defaultValue 1
492
547
  */
493
- right: Float;
548
+ right?: Float;
494
549
  /**
495
550
  * Top plane.
551
+ * @defaultValue -1
496
552
  */
497
- top: Float;
553
+ top?: Float;
498
554
  /**
499
555
  * Bottom plane.
556
+ * @defaultValue 1
500
557
  */
501
- bottom: Float;
558
+ bottom?: Float;
502
559
  /**
503
560
  * Near plane.
561
+ * @defaultValue -1
504
562
  */
505
- zNear: Float;
563
+ zNear?: Float;
506
564
  /**
507
565
  * Far plane.
566
+ * @defaultValue 1
508
567
  */
509
- zFar: Float;
510
- }>;
568
+ zFar?: Float;
569
+ };
511
570
  /**
512
571
  * Overrides a given entity in a sub scene.
513
572
  */
514
- export type Overrider = Partial<{
573
+ export type Overrider = {
515
574
  /**
516
575
  * Mark the overridden entity as deleted.
576
+ * @defaultValue false
517
577
  */
518
- deleter: boolean;
578
+ deleter?: boolean;
519
579
  /**
520
580
  * Entity to override.
521
581
  */
522
- entityRef: EntityRef;
582
+ entityRef?: EntityRef;
523
583
  /**
524
584
  * Hashes of the components to detach from the overridden entity.
525
585
  */
526
- componentsToDetach: Array<Int32>;
527
- }>;
586
+ componentsToDetach?: Array<Int32>;
587
+ };
528
588
  /**
529
589
  * A lens that applies a perspective projection.
530
590
  */
531
- export type PerspectiveLens = Partial<{
591
+ export type PerspectiveLens = {
532
592
  /**
533
593
  * Aspect ratio of the viewport, usually equals width/height.
594
+ * @defaultValue 1.777
534
595
  */
535
- aspectRatio: Float;
596
+ aspectRatio?: Float;
536
597
  /**
537
598
  * Field of view angle in the y direction.
599
+ * @defaultValue 60
538
600
  */
539
- fovy: Float;
601
+ fovy?: Float;
540
602
  /**
541
603
  * Distance from the viewer to the near clipping plane.
604
+ * @defaultValue 0.01
542
605
  */
543
- nearPlane: Float;
606
+ nearPlane?: Float;
544
607
  /**
545
608
  * Distance from the viewer to the far clipping plane.
609
+ * @defaultValue 0
546
610
  */
547
- farPlane: Float;
611
+ farPlane?: Float;
548
612
  /**
549
613
  * Offset of the projection for stereoscopic rendering.
614
+ * @defaultValue 0,0
550
615
  */
551
- offset: Vec2;
552
- }>;
616
+ offset?: Vec2;
617
+ };
553
618
  /**
554
619
  * Physics material which represents a set of physical surface properties.
555
620
  */
556
- export type PhysicsMaterial = Partial<{
621
+ export type PhysicsMaterial = {
557
622
  /**
558
623
  * The friction coefficient applied between this surface and another surface if they are not moving lateral to each other. Usually a value from 0 to 1. A value of zero feels like ice, a value of 1 will make it very hard to get the object moving. Resulting static friction of a physics body colliding with another is determined by the average of both bodies' static friction coefficient.
624
+ * @defaultValue 0.5
559
625
  */
560
- staticFriction: Float;
626
+ staticFriction?: Float;
561
627
  /**
562
628
  * The friction coefficient applied between this surface and another surface if they are moving relative to each other. Usually a value from 0 to 1. A value of zero feels like ice, a value of 1 will make it very hard to get the object moving. If set to greater than staticFriction, the effective value of staticFriction will be increased to match. Resulting dynamic friction of a physics body colliding with another is determined by the average of both bodies' dynamic friction coefficient.
629
+ * @defaultValue 0.5
563
630
  */
564
- dynamicFriction: Float;
631
+ dynamicFriction?: Float;
565
632
  /**
566
633
  * Restitution coefficient, or bounciness of surface. A coefficient of 0 indicates as little bounce as possible, higher values up to 1.0 result in more bounce. Should be in the range [0,1]. Resulting bounciness of a physics body colliding with another is determined by the average of both bodies' restitution.
634
+ * @defaultValue 0
567
635
  */
568
- restitution: Float;
636
+ restitution?: Float;
569
637
  /**
570
638
  * The velocity applied to the contact between this physics body and another body. Only applies if modifyContact is true.
639
+ * @defaultValue 0,0,0
571
640
  */
572
- contactVelocity: Vec3;
641
+ contactVelocity?: Vec3;
573
642
  /**
574
643
  * Whether to modify the contact when this physics body collides with another body.
644
+ * @defaultValue false
575
645
  */
576
- modifyContact: boolean;
646
+ modifyContact?: boolean;
577
647
  /**
578
648
  * Whether to consider the geometry associated to this physics material as a trigger or not.
649
+ * @defaultValue false
579
650
  */
580
- isTrigger: boolean;
581
- }>;
651
+ isTrigger?: boolean;
652
+ };
582
653
  /**
583
654
  * Plane geometry.
584
655
  */
585
- export type PlaneGeometry = Partial<{
656
+ export type PlaneGeometry = {
586
657
  /**
587
658
  * Distance from the origin in the plane's normal direction.
659
+ * @defaultValue 0
588
660
  */
589
- distance: Float;
661
+ distance?: Float;
590
662
  /**
591
663
  * Normal of the plane.
664
+ * @defaultValue 0,1,0
592
665
  */
593
- normal: Vec3;
594
- }>;
666
+ normal?: Vec3;
667
+ };
595
668
  /**
596
669
  * Reference to a point cloud.
597
670
  */
598
- export type PointCloudRef = Partial<{
671
+ export type PointCloudRef = {
599
672
  /**
600
673
  * UUID of the referenced point cloud.
601
674
  */
602
- value: AssetRef<Assets.PointCloud>;
603
- }>;
675
+ value?: AssetRef<Assets.PointCloud>;
676
+ };
604
677
  /**
605
678
  * A light with color and intensity. A point light by default, add a spot light component to add a cutoff. Can be parameterized to simulate the atmosphere sun.
606
679
  */
607
- export type PointLight = Partial<{
680
+ export type PointLight = {
608
681
  /**
609
682
  * Light color.
683
+ * @defaultValue 1,1,1
610
684
  */
611
- color: Vec3;
685
+ color?: Vec3;
612
686
  /**
613
687
  * Light intensity.
688
+ * @defaultValue 1
614
689
  */
615
- intensity: Float;
690
+ intensity?: Float;
616
691
  /**
617
692
  * The range for the point light. If the range is 0, then physically correct point light attenuation function is used.
693
+ * @defaultValue 0
618
694
  */
619
- range: Float;
695
+ range?: Float;
620
696
  /**
621
697
  * Make this light directional, position is ignored in this case.
698
+ * @defaultValue false
622
699
  */
623
- isDirectional: boolean;
700
+ isDirectional?: boolean;
624
701
  /**
625
702
  * Make this light direction control the atmosphere sun direction. If more than one light is marked to be a sun results are undefined.
703
+ * @defaultValue false
626
704
  */
627
- isSun: boolean;
628
- }>;
705
+ isSun?: boolean;
706
+ };
629
707
  /**
630
708
  * Omni directional reflection probe parameters, used for local cubemap reflection generation.
631
709
  */
632
- export type ReflectionProbe = Partial<{
710
+ export type ReflectionProbe = {
633
711
  /**
634
712
  * x, y, z offset of the probe reflection origin.
713
+ * @defaultValue 0,0,0
635
714
  */
636
- offset: Vec3;
715
+ offset?: Vec3;
637
716
  /**
638
717
  * Distance to the near plane.
718
+ * @defaultValue 0.1
639
719
  */
640
- nearDist: Float;
720
+ nearDist?: Float;
641
721
  /**
642
722
  * Distance to the far plane.
723
+ * @defaultValue 100
643
724
  */
644
- farDist: Float;
725
+ farDist?: Float;
645
726
  /**
646
727
  * Resolution of the reflection map.
728
+ * @defaultValue 128
647
729
  */
648
- quality: Int32;
649
- }>;
730
+ quality?: Int32;
731
+ };
650
732
  /**
651
733
  * Rigid body parameters.
652
734
  */
653
- export type RigidBody = Partial<{
735
+ export type RigidBody = {
654
736
  /**
655
737
  * Mass of the rigid body. A value of 0 is interpreted as infinite mass.
738
+ * @defaultValue 1
656
739
  */
657
- mass: Float;
740
+ mass?: Float;
658
741
  /**
659
742
  * Center of mass. Relative to the entity's transform.
743
+ * @defaultValue 0,0,0
660
744
  */
661
- centerOfMass: Vec3;
745
+ centerOfMass?: Vec3;
662
746
  /**
663
747
  * Linear damping coefficient. Used to slow down the rigid body's linear velocity. Zero represents no damping. Must be non-negative.
748
+ * @defaultValue 0
664
749
  */
665
- linearDamping: Float;
750
+ linearDamping?: Float;
666
751
  /**
667
752
  * Angular damping coefficient. Used to slow down the rigid body's angular velocity, i.e. how much it rotates. Zero represents no damping. Must be non-negative.
753
+ * @defaultValue 0.05
668
754
  */
669
- angularDamping: Float;
755
+ angularDamping?: Float;
670
756
  /**
671
757
  *
758
+ * @defaultValue 0,0,0
672
759
  */
673
- force: Vec3;
760
+ force?: Vec3;
674
761
  /**
675
762
  *
763
+ * @defaultValue 0,0,0
676
764
  */
677
- torque: Vec3;
765
+ torque?: Vec3;
678
766
  /**
679
767
  * The type of collision detection to use for this rigid body.
768
+ * @defaultValue 0
680
769
  */
681
- collisionDetection: Int32;
770
+ collisionDetection?: Int32;
682
771
  /**
683
772
  * Controls whether rigid body is affected by gravity.
773
+ * @defaultValue true
684
774
  */
685
- useGravity: boolean;
775
+ useGravity?: boolean;
686
776
  /**
687
777
  * Specifies if rigid body is kinematic. Kinematic rigid bodies are not affected by forces such as gravity.
778
+ * @defaultValue false
688
779
  */
689
- isKinematic: boolean;
690
- }>;
780
+ isKinematic?: boolean;
781
+ };
691
782
  /**
692
783
  * Reference to a scene.
693
784
  */
694
- export type SceneRef = Partial<{
785
+ export type SceneRef = {
695
786
  /**
696
787
  * UUID of the referenced scene.
697
788
  */
698
- value: AssetRef<Assets.Scene>;
789
+ value?: AssetRef<Assets.Scene>;
699
790
  /**
700
791
  * Maximum number of times a scene appears when it references itself.
792
+ * @defaultValue 1
701
793
  */
702
- maxRecursionCount: UInt32;
703
- }>;
794
+ maxRecursionCount?: UInt32;
795
+ };
704
796
  /**
705
797
  * References a script and specifies input values if needed.
706
798
  */
707
- export type ScriptElement = Partial<{
799
+ export type ScriptElement = {
708
800
  /**
709
801
  * UUID of the referenced script.
710
802
  */
711
- scriptRef: AssetRef<Assets.Script>;
803
+ scriptRef?: AssetRef<Assets.Script>;
712
804
  /**
713
805
  * Input values as described in the referenced script in their original JSON format.
714
806
  */
715
- dataJSON: Record<string, unknown>;
716
- }>;
807
+ dataJSON?: ScriptDataObject;
808
+ };
717
809
  /**
718
810
  * References multiple scripts.
719
811
  */
720
- export type ScriptMap = Partial<{
812
+ export type ScriptMap = {
721
813
  /**
722
814
  * List of scripts.
723
815
  */
724
- elements: Record<UUID, ScriptElement>;
725
- }>;
816
+ elements?: Record<UUID, ScriptElement>;
817
+ };
726
818
  /**
727
819
  * Enables a light to cast shadows.
728
820
  */
729
- export type ShadowCaster = Partial<{
821
+ export type ShadowCaster = {
730
822
  /**
731
823
  * Bias to apply to avoid self shadowing artifacts.
824
+ * @defaultValue 0.002
732
825
  */
733
- bias: Float;
826
+ bias?: Float;
734
827
  /**
735
828
  * Distance to the near plane.
829
+ * @defaultValue 0.1
736
830
  */
737
- nearDist: Float;
831
+ nearDist?: Float;
738
832
  /**
739
833
  * Distance to the far plane.
834
+ * @defaultValue 100
740
835
  */
741
- farDist: Float;
836
+ farDist?: Float;
742
837
  /**
743
838
  * Resolution of the shadow map.
839
+ * @defaultValue 1024
744
840
  */
745
- quality: Int32;
841
+ quality?: Int32;
746
842
  /**
747
843
  * For directional lights, adjusts the distribution of cascade splits in Cascaded Shadow Mapping for directional lights. A value of 0 results in uniform (linear) splits across the view frustum, while a value of 1 skews the splits toward the camera, providing higher shadow resolution near the viewer and lower resolution in the distance. Intermediate values blend linear and logarithmic distributions for a balanced result. The value ranges from 0 to 1.
844
+ * @defaultValue 0.94
748
845
  */
749
- cascadeSplitLambda: Float;
846
+ cascadeSplitLambda?: Float;
750
847
  /**
751
848
  * For directional lights, number of cascades.
849
+ * @defaultValue 4
752
850
  */
753
- cascadeCount: Int8;
851
+ cascadeCount?: Int8;
754
852
  /**
755
853
  * For directional lights, accumulate all shadow cascades.
854
+ * @defaultValue true
756
855
  */
757
- accumulateShadowCascades: boolean;
758
- }>;
856
+ accumulateShadowCascades?: boolean;
857
+ };
759
858
  /**
760
859
  * Reference to a skeleton.
761
860
  */
762
- export type SkeletonRef = Partial<{
861
+ export type SkeletonRef = {
763
862
  /**
764
863
  * UUID of the referenced skeleton.
765
864
  */
766
- value: AssetRef<Assets.Skeleton>;
767
- }>;
865
+ value?: AssetRef<Assets.Skeleton>;
866
+ };
768
867
  /**
769
868
  * Reference to a sound.
770
869
  */
771
- export type SoundRef = Partial<{
870
+ export type SoundRef = {
772
871
  /**
773
872
  * UUID of the referenced sound.
774
873
  */
775
- value: AssetRef<Assets.Sound>;
874
+ value?: AssetRef<Assets.Sound>;
776
875
  /**
777
876
  * Volume from 0.0f to 1.0f.
877
+ * @defaultValue 1
778
878
  */
779
- volume: Float;
879
+ volume?: Float;
780
880
  /**
781
881
  * Pan. -1.0f is left, 1.0f is right.
882
+ * @defaultValue 0
782
883
  */
783
- pan: Float;
884
+ pan?: Float;
784
885
  /**
785
886
  * The speed at which the sound will play. 1.0f is normal.
887
+ * @defaultValue 1
786
888
  */
787
- playSpeed: Float;
889
+ playSpeed?: Float;
788
890
  /**
789
891
  * Whether or not the sound loops.
892
+ * @defaultValue false
790
893
  */
791
- looping: boolean;
792
- }>;
894
+ looping?: boolean;
895
+ };
793
896
  /**
794
897
  * Sphere geometry.
795
898
  */
796
- export type SphereGeometry = Partial<{
899
+ export type SphereGeometry = {
797
900
  /**
798
901
  * Radius of the sphere.
902
+ * @defaultValue 0.5
799
903
  */
800
- radius: Float;
904
+ radius?: Float;
801
905
  /**
802
906
  * Geometry offset.
907
+ * @defaultValue 0,0,0
803
908
  */
804
- offset: Vec3;
805
- }>;
909
+ offset?: Vec3;
910
+ };
806
911
  /**
807
912
  * Adds a cutoff to a point light to simulate a spot light.
808
913
  */
809
- export type SpotLight = Partial<{
914
+ export type SpotLight = {
810
915
  /**
811
916
  * Cutoff angle.
917
+ * @defaultValue 30
812
918
  */
813
- cutoff: Float;
919
+ cutoff?: Float;
814
920
  /**
815
921
  * Reference to a IES 2d texture.
816
922
  */
817
- IESProfile: AssetRef<Assets.Texture>;
818
- }>;
923
+ IESProfile?: AssetRef<Assets.Texture>;
924
+ };
819
925
  /**
820
926
  * A lens that applies a custom projection.
821
927
  */
822
- export type StereoscopicLens = Partial<{
928
+ export type StereoscopicLens = {
823
929
  /**
824
930
  * Projection matrix.
825
931
  */
826
- cs_from_vs: Mat4;
827
- }>;
932
+ cs_from_vs?: Mat4;
933
+ };
828
934
  /**
829
935
  * Tags used to filter entities.
830
936
  */
831
- export type Tags = Partial<{
937
+ export type Tags = {
832
938
  /**
833
939
  * Tag list.
834
940
  */
835
- value: Array<string>;
836
- }>;
941
+ value?: Array<string>;
942
+ };
837
943
  /**
838
944
  * Vehicle Controller parameters.
839
945
  */
840
- export type VehicleController = Partial<{
946
+ export type VehicleController = {
841
947
  /**
842
948
  * The chassis.
843
949
  */
844
- chassis: EntityRef;
950
+ chassis?: EntityRef;
845
951
  /**
846
952
  * The front left wheel.
847
953
  */
848
- frontLeftWheel: EntityRef;
954
+ frontLeftWheel?: EntityRef;
849
955
  /**
850
956
  * The front right wheel.
851
957
  */
852
- frontRightWheel: EntityRef;
958
+ frontRightWheel?: EntityRef;
853
959
  /**
854
960
  * The rear left wheel.
855
961
  */
856
- rearLeftWheel: EntityRef;
962
+ rearLeftWheel?: EntityRef;
857
963
  /**
858
964
  * The rear right wheel.
859
965
  */
860
- rearRightWheel: EntityRef;
861
- }>;
966
+ rearRightWheel?: EntityRef;
967
+ };
862
968
  /**
863
969
  * Filtering properties applied to the volume.
864
970
  */
865
- export type VolumeFilter = Partial<{
971
+ export type VolumeFilter = {
866
972
  /**
867
973
  * Voxel intensity range displayed, not applicable if outside volume material range.
974
+ * @defaultValue 0,1
868
975
  */
869
- range: Vec2;
976
+ range?: Vec2;
870
977
  /**
871
978
  * Apply gaussian filtering on voxels.
979
+ * @defaultValue false
872
980
  */
873
- applyGaussianFiltering: boolean;
981
+ applyGaussianFiltering?: boolean;
874
982
  /**
875
983
  * Are texel values from the voxel texture sampled unfiltered.
984
+ * @defaultValue false
876
985
  */
877
- sampleUnfiltered: boolean;
986
+ sampleUnfiltered?: boolean;
878
987
  /**
879
988
  * Whether or not this volume is visible in the MPR view.
989
+ * @defaultValue true
880
990
  */
881
- enableMPR: boolean;
991
+ enableMPR?: boolean;
882
992
  /**
883
993
  * Whether or not this volume is visible in the 3D view.
994
+ * @defaultValue true
884
995
  */
885
- enable3D: boolean;
886
- }>;
996
+ enable3D?: boolean;
997
+ };
887
998
  /**
888
999
  * Reference to a material to use with a volume.
889
1000
  */
890
- export type VolumeMaterialRef = Partial<{
1001
+ export type VolumeMaterialRef = {
891
1002
  /**
892
1003
  * UUID of the referenced volume material.
893
1004
  */
894
- value: AssetRef<Assets.VolumeMaterial>;
895
- }>;
1005
+ value?: AssetRef<Assets.VolumeMaterial>;
1006
+ };
896
1007
  /**
897
1008
  * Reference to a volume made of voxels.
898
1009
  */
899
- export type VolumeRef = Partial<{
1010
+ export type VolumeRef = {
900
1011
  /**
901
1012
  * UUID of the referenced 3D texture.
902
1013
  */
903
- texture3dRef: AssetRef<Assets.Texture3D>;
904
- }>;
905
- /**
906
- *
907
- */
908
- export declare enum ComponentHash {
909
- animation_controller = 2978761622,
910
- animation_sequence_controller = 1078130395,
911
- bone = 1352454807,
912
- box_geometry = 3718707752,
913
- camera = 1515175333,
914
- capsule_geometry = 3996568839,
915
- character_controller = 304568171,
916
- collision_geometry_ref = 3193374355,
917
- constraint = 3735282166,
918
- culling_geometry = 611599156,
919
- cylinder_geometry = 2497701877,
920
- debug_name = 2737255849,
921
- decal_projector = 2842087135,
922
- environment = 227427331,
923
- joint = 2286235554,
924
- lineage = 2698448560,
925
- local_aabb = 4132624459,
926
- local_transform = 64958624,
927
- material = 4100970527,
928
- material_ref = 2816861126,
929
- mesh_ref = 1660697531,
930
- orthographic_lens = 3326403741,
931
- overrider = 2758112134,
932
- perspective_lens = 1113360699,
933
- physics_material = 1550394949,
934
- plane_geometry = 4075752378,
935
- point_cloud_ref = 457361603,
936
- point_light = 3624222817,
937
- reflection_probe = 3879689944,
938
- rigid_body = 3452128059,
939
- scene_ref = 371342060,
940
- script_element = 3574396804,
941
- script_map = 3291722836,
942
- shadow_caster = 3403528636,
943
- skeleton_ref = 36879215,
944
- sound_ref = 369352309,
945
- sphere_geometry = 1159992935,
946
- spot_light = 1508811228,
947
- stereoscopic_lens = 698679321,
948
- tags = 163258925,
949
- vehicle_controller = 1287796174,
950
- volume_filter = 2625356468,
951
- volume_material_ref = 3229245461,
952
- volume_ref = 2808449574
953
- }
1014
+ texture3dRef?: AssetRef<Assets.Texture3D>;
1015
+ };