x_ite 16.1.2 → 16.2.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 (57) hide show
  1. package/README.md +6 -6
  2. package/dist/X3DUOM.xml +10 -0
  3. package/dist/assets/components/AnnotationComponent.js +17 -38
  4. package/dist/assets/components/AnnotationComponent.min.js +2 -2
  5. package/dist/assets/components/CADGeometryComponent.js +17 -38
  6. package/dist/assets/components/CADGeometryComponent.min.js +2 -2
  7. package/dist/assets/components/CubeMapTexturingComponent.js +17 -38
  8. package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
  9. package/dist/assets/components/DISComponent.js +17 -38
  10. package/dist/assets/components/DISComponent.min.js +2 -2
  11. package/dist/assets/components/EventUtilitiesComponent.js +17 -38
  12. package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
  13. package/dist/assets/components/GaussianSplatsComponent.js +17 -38
  14. package/dist/assets/components/GaussianSplatsComponent.min.js +2 -2
  15. package/dist/assets/components/Geometry2DComponent.js +17 -38
  16. package/dist/assets/components/Geometry2DComponent.min.js +2 -2
  17. package/dist/assets/components/Geometry3DComponent.js +17 -38
  18. package/dist/assets/components/Geometry3DComponent.min.js +2 -2
  19. package/dist/assets/components/GeospatialComponent.js +17 -38
  20. package/dist/assets/components/GeospatialComponent.min.js +2 -2
  21. package/dist/assets/components/HAnimComponent.js +17 -38
  22. package/dist/assets/components/HAnimComponent.min.js +2 -2
  23. package/dist/assets/components/KeyDeviceSensorComponent.js +17 -38
  24. package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
  25. package/dist/assets/components/LayoutComponent.js +17 -38
  26. package/dist/assets/components/LayoutComponent.min.js +2 -2
  27. package/dist/assets/components/NURBSComponent.js +18 -39
  28. package/dist/assets/components/NURBSComponent.min.js +2 -2
  29. package/dist/assets/components/ParticleSystemsComponent.js +17 -38
  30. package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
  31. package/dist/assets/components/PickingComponent.js +17 -38
  32. package/dist/assets/components/PickingComponent.min.js +2 -2
  33. package/dist/assets/components/RigidBodyPhysicsComponent.js +28 -39
  34. package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
  35. package/dist/assets/components/ScriptingComponent.js +17 -38
  36. package/dist/assets/components/ScriptingComponent.min.js +2 -2
  37. package/dist/assets/components/TextComponent.js +17 -38
  38. package/dist/assets/components/TextComponent.min.js +2 -2
  39. package/dist/assets/components/TextureProjectionComponent.js +17 -38
  40. package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
  41. package/dist/assets/components/Texturing3DComponent.js +27 -46
  42. package/dist/assets/components/Texturing3DComponent.min.js +2 -2
  43. package/dist/assets/components/VolumeRenderingComponent.js +17 -38
  44. package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
  45. package/dist/assets/components/WebXRComponent.js +17 -38
  46. package/dist/assets/components/WebXRComponent.min.js +2 -2
  47. package/dist/assets/components/X_ITEComponent.js +22 -39
  48. package/dist/assets/components/X_ITEComponent.min.js +2 -2
  49. package/dist/example.html +1 -1
  50. package/dist/x_ite.css +1 -1
  51. package/dist/x_ite.d.ts +129 -8
  52. package/dist/x_ite.js +443 -264
  53. package/dist/x_ite.min.js +2 -2
  54. package/dist/x_ite.min.mjs +2 -2
  55. package/dist/x_ite.mjs +443 -264
  56. package/dist/x_ite.zip +0 -0
  57. package/package.json +8 -8
package/dist/x_ite.d.ts CHANGED
@@ -396,6 +396,7 @@ declare namespace X3D
396
396
  Shading: ShadingTypes,
397
397
  MotionBlur: boolean,
398
398
  // Additional options:
399
+ AudioIntensity: number,
399
400
  AlwaysUpdateGeometries: boolean,
400
401
  AutoUpdate: boolean,
401
402
  Cache: boolean,
@@ -403,6 +404,7 @@ declare namespace X3D
403
404
  ContentScale: number,
404
405
  ContextMenu: boolean,
405
406
  Debug: boolean,
407
+ DisplayColorSpace: "SRGB" | "DISPLAY_P3",
406
408
  Exposure: number,
407
409
  Gravity: number,
408
410
  LoadUrlObjects: boolean,
@@ -440,6 +442,7 @@ declare namespace X3D
440
442
  MaxSamples: number,
441
443
  Multisampling: number,
442
444
  PixelsPerPoint: number,
445
+ SoundDestinations: number,
443
446
  XRSession: boolean,
444
447
  };
445
448
 
@@ -3040,8 +3043,13 @@ declare namespace X3D
3040
3043
  * Returns a new `MFBool` field initialized with the values from the specified iterable.
3041
3044
  * @param items An iterable or array-like object to convert to an array.
3042
3045
  */
3043
- static from (items: Iterable<any> | ArrayLike<any>): MFBool;
3046
+ static from (items: Iterable<boolean> | ArrayLike<boolean>): MFBool;
3044
3047
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => boolean, thisArg?: any): MFBool;
3048
+ /**
3049
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3050
+ * @param values A flat array of values.
3051
+ */
3052
+ static fromArray (values: boolean []): MFBool;
3045
3053
  }
3046
3054
 
3047
3055
  /**
@@ -3058,6 +3066,11 @@ declare namespace X3D
3058
3066
  */
3059
3067
  static from (items: Iterable<SFColor> | ArrayLike<SFColor>): MFColor;
3060
3068
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFColor, thisArg?: any): MFColor;
3069
+ /**
3070
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3071
+ * @param values A flat array of values.
3072
+ */
3073
+ static fromArray (values: number []): MFColor;
3061
3074
  }
3062
3075
 
3063
3076
  /**
@@ -3074,6 +3087,11 @@ declare namespace X3D
3074
3087
  */
3075
3088
  static from (items: Iterable<SFColorRGBA> | ArrayLike<SFColorRGBA>): MFColorRGBA;
3076
3089
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFColorRGBA, thisArg?: any): MFColorRGBA;
3090
+ /**
3091
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3092
+ * @param values A flat array of values.
3093
+ */
3094
+ static fromArray (values: number []): MFColorRGBA;
3077
3095
  }
3078
3096
 
3079
3097
  /**
@@ -3088,8 +3106,13 @@ declare namespace X3D
3088
3106
  * Returns a new `MFDouble` field initialized with the values from the specified iterable.
3089
3107
  * @param items An iterable or array-like object to convert to an array.
3090
3108
  */
3091
- static from (items: Iterable<any> | ArrayLike<any>): MFDouble;
3109
+ static from (items: Iterable<number> | ArrayLike<number>): MFDouble;
3092
3110
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFDouble;
3111
+ /**
3112
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3113
+ * @param values A flat array of values.
3114
+ */
3115
+ static fromArray (values: number []): MFDouble;
3093
3116
  }
3094
3117
 
3095
3118
  /**
@@ -3104,8 +3127,13 @@ declare namespace X3D
3104
3127
  * Returns a new `MFFloat` field initialized with the values from the specified iterable.
3105
3128
  * @param items An iterable or array-like object to convert to an array.
3106
3129
  */
3107
- static from (items: Iterable<any> | ArrayLike<any>): MFFloat;
3130
+ static from (items: Iterable<number> | ArrayLike<number>): MFFloat;
3108
3131
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFFloat;
3132
+ /**
3133
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3134
+ * @param values A flat array of values.
3135
+ */
3136
+ static fromArray (values: number []): MFFloat;
3109
3137
  }
3110
3138
 
3111
3139
  /**
@@ -3122,6 +3150,11 @@ declare namespace X3D
3122
3150
  */
3123
3151
  static from (items: Iterable<SFImage> | ArrayLike<SFImage>): MFImage;
3124
3152
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFImage, thisArg?: any): MFImage;
3153
+ /**
3154
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3155
+ * @param values A flat array of values.
3156
+ */
3157
+ static fromArray (values: number []): MFImage;
3125
3158
  }
3126
3159
 
3127
3160
  /**
@@ -3136,8 +3169,13 @@ declare namespace X3D
3136
3169
  * Returns a new `MFInt32` field initialized with the values from the specified iterable.
3137
3170
  * @param items An iterable or array-like object to convert to an array.
3138
3171
  */
3139
- static from (items: Iterable<any> | ArrayLike<any>): MFInt32;
3172
+ static from (items: Iterable<number> | ArrayLike<number>): MFInt32;
3140
3173
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFInt32;
3174
+ /**
3175
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3176
+ * @param values A flat array of values.
3177
+ */
3178
+ static fromArray (values: number []): MFInt32;
3141
3179
  }
3142
3180
 
3143
3181
  /**
@@ -3154,6 +3192,11 @@ declare namespace X3D
3154
3192
  */
3155
3193
  static from (items: Iterable<SFMatrix3d> | ArrayLike<SFMatrix3d>): MFMatrix3d;
3156
3194
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFMatrix3d, thisArg?: any): MFMatrix3d;
3195
+ /**
3196
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3197
+ * @param values A flat array of values.
3198
+ */
3199
+ static fromArray (values: number []): MFMatrix3d;
3157
3200
  }
3158
3201
 
3159
3202
  /**
@@ -3168,7 +3211,13 @@ declare namespace X3D
3168
3211
  * Returns a new `MFMatrix3f` field initialized with the values from the specified iterable.
3169
3212
  * @param items An iterable or array-like object to convert to an array.
3170
3213
  */
3214
+ static from (items: Iterable<SFMatrix3f> | ArrayLike<SFMatrix3f>): MFMatrix3f;
3171
3215
  static from (items: Iterable<SFMatrix3f> | ArrayLike<SFMatrix3f>, mapFn: (element: SFMatrix3f, index: number) => SFMatrix3f, thisArg?: any): MFMatrix3f;
3216
+ /**
3217
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3218
+ * @param values A flat array of values.
3219
+ */
3220
+ static fromArray (values: number []): MFMatrix3f;
3172
3221
  }
3173
3222
 
3174
3223
  /**
@@ -3183,7 +3232,13 @@ declare namespace X3D
3183
3232
  * Returns a new `MFMatrix4d` field initialized with the values from the specified iterable.
3184
3233
  * @param items An iterable or array-like object to convert to an array.
3185
3234
  */
3235
+ static from (items: Iterable<SFMatrix4d> | ArrayLike<SFMatrix4d>): MFMatrix4d;
3186
3236
  static from (items: Iterable<SFMatrix4d> | ArrayLike<SFMatrix4d>, mapFn: (element: SFMatrix4d, index: number) => SFMatrix4d, thisArg?: any): MFMatrix4d;
3237
+ /**
3238
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3239
+ * @param values A flat array of values.
3240
+ */
3241
+ static fromArray (values: number []): MFMatrix4d;
3187
3242
  }
3188
3243
 
3189
3244
  /**
@@ -3200,6 +3255,11 @@ declare namespace X3D
3200
3255
  */
3201
3256
  static from (items: Iterable<SFMatrix4f> | ArrayLike<SFMatrix4f>): MFMatrix4f;
3202
3257
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFMatrix4f, thisArg?: any): MFMatrix4f;
3258
+ /**
3259
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3260
+ * @param values A flat array of values.
3261
+ */
3262
+ static fromArray (values: number []): MFMatrix4f;
3203
3263
  }
3204
3264
 
3205
3265
  /**
@@ -3214,8 +3274,13 @@ declare namespace X3D
3214
3274
  * Returns a new `MFNode` field initialized with the values from the specified iterable.
3215
3275
  * @param items An iterable or array-like object to convert to an array.
3216
3276
  */
3217
- static from (items: Iterable<SFNode> | ArrayLike<SFNode>): MFNode;
3218
- static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFNode, thisArg?: any): MFNode;
3277
+ static from (items: Iterable<SFNode | null> | ArrayLike<SFNode | null>): MFNode;
3278
+ static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFNode | null, thisArg?: any): MFNode;
3279
+ /**
3280
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3281
+ * @param values A flat array of values.
3282
+ */
3283
+ static fromArray (values: (SFNode | null) []): MFNode;
3219
3284
  }
3220
3285
 
3221
3286
  /**
@@ -3232,6 +3297,11 @@ declare namespace X3D
3232
3297
  */
3233
3298
  static from (items: Iterable<SFQuaternion> | ArrayLike<SFQuaternion>): MFQuaternion;
3234
3299
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFQuaternion, thisArg?: any): MFQuaternion;
3300
+ /**
3301
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3302
+ * @param values A flat array of values.
3303
+ */
3304
+ static fromArray (values: number []): MFQuaternion;
3235
3305
  }
3236
3306
 
3237
3307
  /**
@@ -3248,6 +3318,11 @@ declare namespace X3D
3248
3318
  */
3249
3319
  static from (items: Iterable<SFRotation> | ArrayLike<SFRotation>): MFRotation;
3250
3320
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFRotation, thisArg?: any): MFRotation;
3321
+ /**
3322
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3323
+ * @param values A flat array of values.
3324
+ */
3325
+ static fromArray (values: number []): MFRotation;
3251
3326
  }
3252
3327
 
3253
3328
  /**
@@ -3262,8 +3337,13 @@ declare namespace X3D
3262
3337
  * Returns a new `MFString` field initialized with the values from the specified iterable.
3263
3338
  * @param items An iterable or array-like object to convert to an array.
3264
3339
  */
3265
- static from (items: Iterable<any> | ArrayLike<any>): MFString;
3340
+ static from (items: Iterable<string> | ArrayLike<string>): MFString;
3266
3341
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => string, thisArg?: any): MFString;
3342
+ /**
3343
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3344
+ * @param values A flat array of values.
3345
+ */
3346
+ static fromArray (values: string []): MFString;
3267
3347
  }
3268
3348
 
3269
3349
  /**
@@ -3278,8 +3358,13 @@ declare namespace X3D
3278
3358
  * Returns a new `MFTime` field initialized with the values from the specified iterable.
3279
3359
  * @param items An iterable or array-like object to convert to an array.
3280
3360
  */
3281
- static from (items: Iterable<any> | ArrayLike<any>): MFTime;
3361
+ static from (items: Iterable<number> | ArrayLike<number>): MFTime;
3282
3362
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFTime;
3363
+ /**
3364
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3365
+ * @param values A flat array of values.
3366
+ */
3367
+ static fromArray (values: number []): MFTime;
3283
3368
  }
3284
3369
 
3285
3370
  /**
@@ -3296,6 +3381,11 @@ declare namespace X3D
3296
3381
  */
3297
3382
  static from (items: Iterable<SFVec2d> | ArrayLike<SFVec2d>): MFVec2d;
3298
3383
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec2d, thisArg?: any): MFVec2d;
3384
+ /**
3385
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3386
+ * @param values A flat array of values.
3387
+ */
3388
+ static fromArray (values: number []): MFVec2d;
3299
3389
  }
3300
3390
 
3301
3391
  /**
@@ -3312,6 +3402,11 @@ declare namespace X3D
3312
3402
  */
3313
3403
  static from (items: Iterable<SFVec2f> | ArrayLike<SFVec2f>): MFVec2f;
3314
3404
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec2f, thisArg?: any): MFVec2f;
3405
+ /**
3406
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3407
+ * @param values A flat array of values.
3408
+ */
3409
+ static fromArray (values: number []): MFVec2f;
3315
3410
  }
3316
3411
 
3317
3412
  /**
@@ -3328,6 +3423,11 @@ declare namespace X3D
3328
3423
  */
3329
3424
  static from (items: Iterable<SFVec3d> | ArrayLike<SFVec3d>): MFVec3d;
3330
3425
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec3d, thisArg?: any): MFVec3d;
3426
+ /**
3427
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3428
+ * @param values A flat array of values.
3429
+ */
3430
+ static fromArray (values: number []): MFVec3d;
3331
3431
  }
3332
3432
 
3333
3433
  /**
@@ -3344,6 +3444,11 @@ declare namespace X3D
3344
3444
  */
3345
3445
  static from (items: Iterable<SFVec3f> | ArrayLike<SFVec3f>): MFVec3f;
3346
3446
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec3f, thisArg?: any): MFVec3f;
3447
+ /**
3448
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3449
+ * @param values A flat array of values.
3450
+ */
3451
+ static fromArray (values: number []): MFVec3f;
3347
3452
  }
3348
3453
 
3349
3454
  /**
@@ -3360,6 +3465,11 @@ declare namespace X3D
3360
3465
  */
3361
3466
  static from (items: Iterable<SFVec4d> | ArrayLike<SFVec4d>): MFVec4d;
3362
3467
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec4d, thisArg?: any): MFVec4d;
3468
+ /**
3469
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3470
+ * @param values A flat array of values.
3471
+ */
3472
+ static fromArray (values: number []): MFVec4d;
3363
3473
  }
3364
3474
 
3365
3475
  /**
@@ -3376,6 +3486,11 @@ declare namespace X3D
3376
3486
  */
3377
3487
  static from (items: Iterable<SFVec4f> | ArrayLike<SFVec4f>): MFVec4f;
3378
3488
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec4f, thisArg?: any): MFVec4f;
3489
+ /**
3490
+ * Creates a new field of the corresponding type initialized with the values from the specified flat array. The array length must be multiple of the components size of one element.
3491
+ * @param values A flat array of values.
3492
+ */
3493
+ static fromArray (values: number []): MFVec4f;
3379
3494
  }
3380
3495
 
3381
3496
  /**
@@ -10900,6 +11015,12 @@ declare namespace X3D
10900
11015
  * This field is of access type 'outputOnly' and type SFInt32.
10901
11016
  */
10902
11017
  readonly colorDepth: number;
11018
+ /**
11019
+ * If true, the texture is converted to the color space of the display.
11020
+ *
11021
+ * This field is of access type 'inputOutput' and type SFBool.
11022
+ */
11023
+ colorSpaceConversion: boolean;
10903
11024
  /**
10904
11025
  * Author-provided prose that describes intended purpose of the url asset.
10905
11026
  *