x_ite 16.1.2 → 16.1.3

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 +5 -5
  2. package/dist/X3DUOM.xml +10 -0
  3. package/dist/assets/components/AnnotationComponent.js +1 -1
  4. package/dist/assets/components/AnnotationComponent.min.js +1 -1
  5. package/dist/assets/components/CADGeometryComponent.js +1 -1
  6. package/dist/assets/components/CADGeometryComponent.min.js +1 -1
  7. package/dist/assets/components/CubeMapTexturingComponent.js +1 -1
  8. package/dist/assets/components/CubeMapTexturingComponent.min.js +1 -1
  9. package/dist/assets/components/DISComponent.js +1 -1
  10. package/dist/assets/components/DISComponent.min.js +1 -1
  11. package/dist/assets/components/EventUtilitiesComponent.js +1 -1
  12. package/dist/assets/components/EventUtilitiesComponent.min.js +1 -1
  13. package/dist/assets/components/GaussianSplatsComponent.js +1 -1
  14. package/dist/assets/components/GaussianSplatsComponent.min.js +1 -1
  15. package/dist/assets/components/Geometry2DComponent.js +1 -1
  16. package/dist/assets/components/Geometry2DComponent.min.js +1 -1
  17. package/dist/assets/components/Geometry3DComponent.js +1 -1
  18. package/dist/assets/components/Geometry3DComponent.min.js +1 -1
  19. package/dist/assets/components/GeospatialComponent.js +1 -1
  20. package/dist/assets/components/GeospatialComponent.min.js +1 -1
  21. package/dist/assets/components/HAnimComponent.js +1 -1
  22. package/dist/assets/components/HAnimComponent.min.js +1 -1
  23. package/dist/assets/components/KeyDeviceSensorComponent.js +1 -1
  24. package/dist/assets/components/KeyDeviceSensorComponent.min.js +1 -1
  25. package/dist/assets/components/LayoutComponent.js +1 -1
  26. package/dist/assets/components/LayoutComponent.min.js +1 -1
  27. package/dist/assets/components/NURBSComponent.js +1 -1
  28. package/dist/assets/components/NURBSComponent.min.js +1 -1
  29. package/dist/assets/components/ParticleSystemsComponent.js +1 -1
  30. package/dist/assets/components/ParticleSystemsComponent.min.js +1 -1
  31. package/dist/assets/components/PickingComponent.js +1 -1
  32. package/dist/assets/components/PickingComponent.min.js +1 -1
  33. package/dist/assets/components/RigidBodyPhysicsComponent.js +1 -1
  34. package/dist/assets/components/RigidBodyPhysicsComponent.min.js +1 -1
  35. package/dist/assets/components/ScriptingComponent.js +1 -1
  36. package/dist/assets/components/ScriptingComponent.min.js +1 -1
  37. package/dist/assets/components/TextComponent.js +1 -1
  38. package/dist/assets/components/TextComponent.min.js +1 -1
  39. package/dist/assets/components/TextureProjectionComponent.js +1 -1
  40. package/dist/assets/components/TextureProjectionComponent.min.js +1 -1
  41. package/dist/assets/components/Texturing3DComponent.js +9 -9
  42. package/dist/assets/components/Texturing3DComponent.min.js +2 -2
  43. package/dist/assets/components/VolumeRenderingComponent.js +1 -1
  44. package/dist/assets/components/VolumeRenderingComponent.min.js +1 -1
  45. package/dist/assets/components/WebXRComponent.js +1 -1
  46. package/dist/assets/components/WebXRComponent.min.js +1 -1
  47. package/dist/assets/components/X_ITEComponent.js +1 -1
  48. package/dist/assets/components/X_ITEComponent.min.js +1 -1
  49. package/dist/example.html +1 -1
  50. package/dist/x_ite.css +1 -1
  51. package/dist/x_ite.d.ts +126 -8
  52. package/dist/x_ite.js +246 -108
  53. package/dist/x_ite.min.js +2 -2
  54. package/dist/x_ite.min.mjs +2 -2
  55. package/dist/x_ite.mjs +246 -108
  56. package/dist/x_ite.zip +0 -0
  57. package/package.json +5 -5
package/dist/x_ite.d.ts CHANGED
@@ -3040,8 +3040,13 @@ declare namespace X3D
3040
3040
  * Returns a new `MFBool` field initialized with the values from the specified iterable.
3041
3041
  * @param items An iterable or array-like object to convert to an array.
3042
3042
  */
3043
- static from (items: Iterable<any> | ArrayLike<any>): MFBool;
3043
+ static from (items: Iterable<boolean> | ArrayLike<boolean>): MFBool;
3044
3044
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => boolean, thisArg?: any): MFBool;
3045
+ /**
3046
+ * 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.
3047
+ * @param values A flat array of values.
3048
+ */
3049
+ static fromArray (values: boolean []): MFBool;
3045
3050
  }
3046
3051
 
3047
3052
  /**
@@ -3058,6 +3063,11 @@ declare namespace X3D
3058
3063
  */
3059
3064
  static from (items: Iterable<SFColor> | ArrayLike<SFColor>): MFColor;
3060
3065
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFColor, thisArg?: any): MFColor;
3066
+ /**
3067
+ * 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.
3068
+ * @param values A flat array of values.
3069
+ */
3070
+ static fromArray (values: number []): MFColor;
3061
3071
  }
3062
3072
 
3063
3073
  /**
@@ -3074,6 +3084,11 @@ declare namespace X3D
3074
3084
  */
3075
3085
  static from (items: Iterable<SFColorRGBA> | ArrayLike<SFColorRGBA>): MFColorRGBA;
3076
3086
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFColorRGBA, thisArg?: any): MFColorRGBA;
3087
+ /**
3088
+ * 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.
3089
+ * @param values A flat array of values.
3090
+ */
3091
+ static fromArray (values: number []): MFColorRGBA;
3077
3092
  }
3078
3093
 
3079
3094
  /**
@@ -3088,8 +3103,13 @@ declare namespace X3D
3088
3103
  * Returns a new `MFDouble` field initialized with the values from the specified iterable.
3089
3104
  * @param items An iterable or array-like object to convert to an array.
3090
3105
  */
3091
- static from (items: Iterable<any> | ArrayLike<any>): MFDouble;
3106
+ static from (items: Iterable<number> | ArrayLike<number>): MFDouble;
3092
3107
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFDouble;
3108
+ /**
3109
+ * 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.
3110
+ * @param values A flat array of values.
3111
+ */
3112
+ static fromArray (values: number []): MFDouble;
3093
3113
  }
3094
3114
 
3095
3115
  /**
@@ -3104,8 +3124,13 @@ declare namespace X3D
3104
3124
  * Returns a new `MFFloat` field initialized with the values from the specified iterable.
3105
3125
  * @param items An iterable or array-like object to convert to an array.
3106
3126
  */
3107
- static from (items: Iterable<any> | ArrayLike<any>): MFFloat;
3127
+ static from (items: Iterable<number> | ArrayLike<number>): MFFloat;
3108
3128
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFFloat;
3129
+ /**
3130
+ * 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.
3131
+ * @param values A flat array of values.
3132
+ */
3133
+ static fromArray (values: number []): MFFloat;
3109
3134
  }
3110
3135
 
3111
3136
  /**
@@ -3122,6 +3147,11 @@ declare namespace X3D
3122
3147
  */
3123
3148
  static from (items: Iterable<SFImage> | ArrayLike<SFImage>): MFImage;
3124
3149
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFImage, thisArg?: any): MFImage;
3150
+ /**
3151
+ * 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.
3152
+ * @param values A flat array of values.
3153
+ */
3154
+ static fromArray (values: number []): MFImage;
3125
3155
  }
3126
3156
 
3127
3157
  /**
@@ -3136,8 +3166,13 @@ declare namespace X3D
3136
3166
  * Returns a new `MFInt32` field initialized with the values from the specified iterable.
3137
3167
  * @param items An iterable or array-like object to convert to an array.
3138
3168
  */
3139
- static from (items: Iterable<any> | ArrayLike<any>): MFInt32;
3169
+ static from (items: Iterable<number> | ArrayLike<number>): MFInt32;
3140
3170
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFInt32;
3171
+ /**
3172
+ * 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.
3173
+ * @param values A flat array of values.
3174
+ */
3175
+ static fromArray (values: number []): MFInt32;
3141
3176
  }
3142
3177
 
3143
3178
  /**
@@ -3154,6 +3189,11 @@ declare namespace X3D
3154
3189
  */
3155
3190
  static from (items: Iterable<SFMatrix3d> | ArrayLike<SFMatrix3d>): MFMatrix3d;
3156
3191
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFMatrix3d, thisArg?: any): MFMatrix3d;
3192
+ /**
3193
+ * 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.
3194
+ * @param values A flat array of values.
3195
+ */
3196
+ static fromArray (values: number []): MFMatrix3d;
3157
3197
  }
3158
3198
 
3159
3199
  /**
@@ -3168,7 +3208,13 @@ declare namespace X3D
3168
3208
  * Returns a new `MFMatrix3f` field initialized with the values from the specified iterable.
3169
3209
  * @param items An iterable or array-like object to convert to an array.
3170
3210
  */
3211
+ static from (items: Iterable<SFMatrix3f> | ArrayLike<SFMatrix3f>): MFMatrix3f;
3171
3212
  static from (items: Iterable<SFMatrix3f> | ArrayLike<SFMatrix3f>, mapFn: (element: SFMatrix3f, index: number) => SFMatrix3f, thisArg?: any): MFMatrix3f;
3213
+ /**
3214
+ * 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.
3215
+ * @param values A flat array of values.
3216
+ */
3217
+ static fromArray (values: number []): MFMatrix3f;
3172
3218
  }
3173
3219
 
3174
3220
  /**
@@ -3183,7 +3229,13 @@ declare namespace X3D
3183
3229
  * Returns a new `MFMatrix4d` field initialized with the values from the specified iterable.
3184
3230
  * @param items An iterable or array-like object to convert to an array.
3185
3231
  */
3232
+ static from (items: Iterable<SFMatrix4d> | ArrayLike<SFMatrix4d>): MFMatrix4d;
3186
3233
  static from (items: Iterable<SFMatrix4d> | ArrayLike<SFMatrix4d>, mapFn: (element: SFMatrix4d, index: number) => SFMatrix4d, thisArg?: any): MFMatrix4d;
3234
+ /**
3235
+ * 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.
3236
+ * @param values A flat array of values.
3237
+ */
3238
+ static fromArray (values: number []): MFMatrix4d;
3187
3239
  }
3188
3240
 
3189
3241
  /**
@@ -3200,6 +3252,11 @@ declare namespace X3D
3200
3252
  */
3201
3253
  static from (items: Iterable<SFMatrix4f> | ArrayLike<SFMatrix4f>): MFMatrix4f;
3202
3254
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFMatrix4f, thisArg?: any): MFMatrix4f;
3255
+ /**
3256
+ * 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.
3257
+ * @param values A flat array of values.
3258
+ */
3259
+ static fromArray (values: number []): MFMatrix4f;
3203
3260
  }
3204
3261
 
3205
3262
  /**
@@ -3214,8 +3271,13 @@ declare namespace X3D
3214
3271
  * Returns a new `MFNode` field initialized with the values from the specified iterable.
3215
3272
  * @param items An iterable or array-like object to convert to an array.
3216
3273
  */
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;
3274
+ static from (items: Iterable<SFNode | null> | ArrayLike<SFNode | null>): MFNode;
3275
+ static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFNode | null, thisArg?: any): MFNode;
3276
+ /**
3277
+ * 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.
3278
+ * @param values A flat array of values.
3279
+ */
3280
+ static fromArray (values: (SFNode | null) []): MFNode;
3219
3281
  }
3220
3282
 
3221
3283
  /**
@@ -3232,6 +3294,11 @@ declare namespace X3D
3232
3294
  */
3233
3295
  static from (items: Iterable<SFQuaternion> | ArrayLike<SFQuaternion>): MFQuaternion;
3234
3296
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFQuaternion, thisArg?: any): MFQuaternion;
3297
+ /**
3298
+ * 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.
3299
+ * @param values A flat array of values.
3300
+ */
3301
+ static fromArray (values: number []): MFQuaternion;
3235
3302
  }
3236
3303
 
3237
3304
  /**
@@ -3248,6 +3315,11 @@ declare namespace X3D
3248
3315
  */
3249
3316
  static from (items: Iterable<SFRotation> | ArrayLike<SFRotation>): MFRotation;
3250
3317
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFRotation, thisArg?: any): MFRotation;
3318
+ /**
3319
+ * 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.
3320
+ * @param values A flat array of values.
3321
+ */
3322
+ static fromArray (values: number []): MFRotation;
3251
3323
  }
3252
3324
 
3253
3325
  /**
@@ -3262,8 +3334,13 @@ declare namespace X3D
3262
3334
  * Returns a new `MFString` field initialized with the values from the specified iterable.
3263
3335
  * @param items An iterable or array-like object to convert to an array.
3264
3336
  */
3265
- static from (items: Iterable<any> | ArrayLike<any>): MFString;
3337
+ static from (items: Iterable<string> | ArrayLike<string>): MFString;
3266
3338
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => string, thisArg?: any): MFString;
3339
+ /**
3340
+ * 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.
3341
+ * @param values A flat array of values.
3342
+ */
3343
+ static fromArray (values: string []): MFString;
3267
3344
  }
3268
3345
 
3269
3346
  /**
@@ -3278,8 +3355,13 @@ declare namespace X3D
3278
3355
  * Returns a new `MFTime` field initialized with the values from the specified iterable.
3279
3356
  * @param items An iterable or array-like object to convert to an array.
3280
3357
  */
3281
- static from (items: Iterable<any> | ArrayLike<any>): MFTime;
3358
+ static from (items: Iterable<number> | ArrayLike<number>): MFTime;
3282
3359
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFTime;
3360
+ /**
3361
+ * 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.
3362
+ * @param values A flat array of values.
3363
+ */
3364
+ static fromArray (values: number []): MFTime;
3283
3365
  }
3284
3366
 
3285
3367
  /**
@@ -3296,6 +3378,11 @@ declare namespace X3D
3296
3378
  */
3297
3379
  static from (items: Iterable<SFVec2d> | ArrayLike<SFVec2d>): MFVec2d;
3298
3380
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec2d, thisArg?: any): MFVec2d;
3381
+ /**
3382
+ * 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.
3383
+ * @param values A flat array of values.
3384
+ */
3385
+ static fromArray (values: number []): MFVec2d;
3299
3386
  }
3300
3387
 
3301
3388
  /**
@@ -3312,6 +3399,11 @@ declare namespace X3D
3312
3399
  */
3313
3400
  static from (items: Iterable<SFVec2f> | ArrayLike<SFVec2f>): MFVec2f;
3314
3401
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec2f, thisArg?: any): MFVec2f;
3402
+ /**
3403
+ * 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.
3404
+ * @param values A flat array of values.
3405
+ */
3406
+ static fromArray (values: number []): MFVec2f;
3315
3407
  }
3316
3408
 
3317
3409
  /**
@@ -3328,6 +3420,11 @@ declare namespace X3D
3328
3420
  */
3329
3421
  static from (items: Iterable<SFVec3d> | ArrayLike<SFVec3d>): MFVec3d;
3330
3422
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec3d, thisArg?: any): MFVec3d;
3423
+ /**
3424
+ * 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.
3425
+ * @param values A flat array of values.
3426
+ */
3427
+ static fromArray (values: number []): MFVec3d;
3331
3428
  }
3332
3429
 
3333
3430
  /**
@@ -3344,6 +3441,11 @@ declare namespace X3D
3344
3441
  */
3345
3442
  static from (items: Iterable<SFVec3f> | ArrayLike<SFVec3f>): MFVec3f;
3346
3443
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec3f, thisArg?: any): MFVec3f;
3444
+ /**
3445
+ * 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.
3446
+ * @param values A flat array of values.
3447
+ */
3448
+ static fromArray (values: number []): MFVec3f;
3347
3449
  }
3348
3450
 
3349
3451
  /**
@@ -3360,6 +3462,11 @@ declare namespace X3D
3360
3462
  */
3361
3463
  static from (items: Iterable<SFVec4d> | ArrayLike<SFVec4d>): MFVec4d;
3362
3464
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec4d, thisArg?: any): MFVec4d;
3465
+ /**
3466
+ * 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.
3467
+ * @param values A flat array of values.
3468
+ */
3469
+ static fromArray (values: number []): MFVec4d;
3363
3470
  }
3364
3471
 
3365
3472
  /**
@@ -3376,6 +3483,11 @@ declare namespace X3D
3376
3483
  */
3377
3484
  static from (items: Iterable<SFVec4f> | ArrayLike<SFVec4f>): MFVec4f;
3378
3485
  static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec4f, thisArg?: any): MFVec4f;
3486
+ /**
3487
+ * 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.
3488
+ * @param values A flat array of values.
3489
+ */
3490
+ static fromArray (values: number []): MFVec4f;
3379
3491
  }
3380
3492
 
3381
3493
  /**
@@ -10900,6 +11012,12 @@ declare namespace X3D
10900
11012
  * This field is of access type 'outputOnly' and type SFInt32.
10901
11013
  */
10902
11014
  readonly colorDepth: number;
11015
+ /**
11016
+ * If true, the texture is converted to the color space of the display.
11017
+ *
11018
+ * This field is of access type 'inputOutput' and type SFBool.
11019
+ */
11020
+ colorSpaceConversion: boolean;
10903
11021
  /**
10904
11022
  * Author-provided prose that describes intended purpose of the url asset.
10905
11023
  *