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