x_ite 16.1.0 → 16.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/assets/components/AnnotationComponent.js +1 -1
- package/dist/assets/components/AnnotationComponent.min.js +1 -1
- package/dist/assets/components/CADGeometryComponent.js +1 -1
- package/dist/assets/components/CADGeometryComponent.min.js +1 -1
- package/dist/assets/components/CubeMapTexturingComponent.js +1 -1
- package/dist/assets/components/CubeMapTexturingComponent.min.js +1 -1
- package/dist/assets/components/DISComponent.js +1 -1
- package/dist/assets/components/DISComponent.min.js +1 -1
- package/dist/assets/components/EventUtilitiesComponent.js +1 -1
- package/dist/assets/components/EventUtilitiesComponent.min.js +1 -1
- package/dist/assets/components/GaussianSplatsComponent.js +1 -1
- package/dist/assets/components/GaussianSplatsComponent.min.js +1 -1
- package/dist/assets/components/Geometry2DComponent.js +1 -1
- package/dist/assets/components/Geometry2DComponent.min.js +1 -1
- package/dist/assets/components/Geometry3DComponent.js +1 -1
- package/dist/assets/components/Geometry3DComponent.min.js +1 -1
- package/dist/assets/components/GeospatialComponent.js +6 -13
- package/dist/assets/components/GeospatialComponent.min.js +2 -2
- package/dist/assets/components/HAnimComponent.js +1 -1
- package/dist/assets/components/HAnimComponent.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensorComponent.js +1 -1
- package/dist/assets/components/KeyDeviceSensorComponent.min.js +1 -1
- package/dist/assets/components/LayoutComponent.js +1 -1
- package/dist/assets/components/LayoutComponent.min.js +1 -1
- package/dist/assets/components/NURBSComponent.js +1 -1
- package/dist/assets/components/NURBSComponent.min.js +1 -1
- package/dist/assets/components/ParticleSystemsComponent.js +1 -1
- package/dist/assets/components/ParticleSystemsComponent.min.js +1 -1
- package/dist/assets/components/PickingComponent.js +1 -1
- package/dist/assets/components/PickingComponent.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysicsComponent.js +1 -1
- package/dist/assets/components/RigidBodyPhysicsComponent.min.js +1 -1
- package/dist/assets/components/ScriptingComponent.js +1 -1
- package/dist/assets/components/ScriptingComponent.min.js +1 -1
- package/dist/assets/components/TextComponent.js +1 -1
- package/dist/assets/components/TextComponent.min.js +1 -1
- package/dist/assets/components/TextureProjectionComponent.js +1 -1
- package/dist/assets/components/TextureProjectionComponent.min.js +1 -1
- package/dist/assets/components/Texturing3DComponent.js +9 -9
- package/dist/assets/components/Texturing3DComponent.min.js +2 -2
- package/dist/assets/components/VolumeRenderingComponent.js +1 -1
- package/dist/assets/components/VolumeRenderingComponent.min.js +1 -1
- package/dist/assets/components/WebXRComponent.js +1 -1
- package/dist/assets/components/WebXRComponent.min.js +1 -1
- package/dist/assets/components/X_ITEComponent.js +1 -1
- package/dist/assets/components/X_ITEComponent.min.js +1 -1
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.d.ts +195 -40
- package/dist/x_ite.js +284 -296
- package/dist/x_ite.min.js +2 -2
- package/dist/x_ite.min.mjs +2 -2
- package/dist/x_ite.mjs +284 -296
- package/dist/x_ite.zip +0 -0
- package/package.json +3 -3
package/dist/x_ite.d.ts
CHANGED
|
@@ -1085,30 +1085,34 @@ declare namespace X3D
|
|
|
1085
1085
|
{
|
|
1086
1086
|
[Symbol .iterator](): IterableIterator <T>;
|
|
1087
1087
|
readonly [index: number]: T;
|
|
1088
|
+
/**
|
|
1089
|
+
* An integer containing the number of elements in the array.
|
|
1090
|
+
*/
|
|
1088
1091
|
readonly length: number;
|
|
1089
1092
|
|
|
1090
1093
|
at (index: number): T;
|
|
1091
1094
|
entries (): IterableIterator <[number, T]>;
|
|
1092
|
-
every (
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1095
|
+
every (callbackFn: ArrayTest <T>, thisArg?: any): boolean;
|
|
1096
|
+
filter (callbackFn: ArrayTest <T>, thisArg?: any): this;
|
|
1097
|
+
find (callbackFn: ArrayTest <T>, thisArg?: any): T | undefined;
|
|
1098
|
+
findIndex (callbackFn: ArrayTest <T>, thisArg?: any): number;
|
|
1099
|
+
findLast (callbackFn: ArrayTest <T>, thisArg?: any): T | undefined;
|
|
1100
|
+
findLastIndex (callbackFn: ArrayTest <T>, thisArg?: any): number;
|
|
1101
|
+
flat (): T [];
|
|
1102
|
+
flatMap <U> (callbackFn: (element: any, index: number, array: this) => U | U [], thisArg?: any): U [];
|
|
1103
|
+
forEach (callbackFn: ArrayAction <T>, thisArg?: any): void;
|
|
1104
|
+
includes (searchElement: T, fromIndex?: number): boolean;
|
|
1105
|
+
indexOf (searchElement: T, fromIndex?: number): number;
|
|
1102
1106
|
join (separator?: string): string;
|
|
1103
1107
|
keys (): number [];
|
|
1104
|
-
lastIndexOf (
|
|
1105
|
-
map <U> (
|
|
1106
|
-
reduce <U> (
|
|
1107
|
-
reduceRight <U> (
|
|
1108
|
+
lastIndexOf (searchElement: T, fromIndex?: number): number;
|
|
1109
|
+
map <U> (callbackFn: (element: T, index: number, array: this) => U, thisArg?: any): this;
|
|
1110
|
+
reduce <U> (callbackFn: ArrayReducer <T, U>, initialValue?: U): U;
|
|
1111
|
+
reduceRight <U> (callbackFn: ArrayReducer <T, U>, initialValue?: U): U;
|
|
1108
1112
|
slice (start?: number, end?: number): this;
|
|
1109
|
-
some (
|
|
1113
|
+
some (callbackFn: ArrayTest <T>, thisArg?: any): boolean;
|
|
1110
1114
|
toReversed (): this;
|
|
1111
|
-
toSorted (
|
|
1115
|
+
toSorted (compareFn?: (a: T, b: T) => number): this;
|
|
1112
1116
|
toSpliced (start: number, deleteCount: number, ... items: T []): this;
|
|
1113
1117
|
values (): IterableIterator <T>;
|
|
1114
1118
|
with (index: number, value: T): this;
|
|
@@ -2206,10 +2210,6 @@ declare namespace X3D
|
|
|
2206
2210
|
* Returns a list of fields defined for the SFNode object.
|
|
2207
2211
|
*/
|
|
2208
2212
|
getFieldDefinitions (): FieldDefinitionArray;
|
|
2209
|
-
/**
|
|
2210
|
-
* @deprecated Returns the corresponding X3DField object associated with *name*. Use sfnode.{fieldName} syntax.
|
|
2211
|
-
*/
|
|
2212
|
-
getField (name: string): X3DField;
|
|
2213
2213
|
/**
|
|
2214
2214
|
* Returns the node name.
|
|
2215
2215
|
*/
|
|
@@ -2988,42 +2988,45 @@ declare namespace X3D
|
|
|
2988
2988
|
length: number;
|
|
2989
2989
|
|
|
2990
2990
|
at (index: number): T;
|
|
2991
|
+
concat (... arrays: this []): this;
|
|
2991
2992
|
entries (): IterableIterator <[number, T]>;
|
|
2992
|
-
every (
|
|
2993
|
-
fill (
|
|
2994
|
-
filter (
|
|
2995
|
-
find (
|
|
2996
|
-
findIndex (
|
|
2997
|
-
findLast (
|
|
2998
|
-
findLastIndex (
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
2993
|
+
every (callbackFn: ArrayTest <T>, thisArg?: any): boolean;
|
|
2994
|
+
fill (value: T, start?: number, end?: number): this;
|
|
2995
|
+
filter (callbackFn: ArrayTest <T>, thisArg?: any): this;
|
|
2996
|
+
find (callbackFn: ArrayTest <T>, thisArg?: any): T | undefined;
|
|
2997
|
+
findIndex (callbackFn: ArrayTest <T>, thisArg?: any): number;
|
|
2998
|
+
findLast (callbackFn: ArrayTest <T>, thisArg?: any): T | undefined;
|
|
2999
|
+
findLastIndex (callbackFn: ArrayTest <T>, thisArg?: any): number;
|
|
3000
|
+
flat (): T [];
|
|
3001
|
+
flatMap <U> (callbackFn: (element: any, index: number, array: this) => U | U [], thisArg?: any): U [];
|
|
3002
|
+
forEach (callbackFn: ArrayAction <T>, thisArg?: any): void;
|
|
3003
|
+
includes (searchElement: T, fromIndex?: number): boolean;
|
|
3004
|
+
indexOf (searchElement: T, fromIndex?: number): number;
|
|
3002
3005
|
join (separator?: string): string;
|
|
3003
3006
|
keys (): number [];
|
|
3004
|
-
lastIndexOf (
|
|
3005
|
-
map <U> (
|
|
3007
|
+
lastIndexOf (searchElement: T, fromIndex?: number): number;
|
|
3008
|
+
map <U> (callbackFn: (element: T, index: number, array: this) => U, thisArg?: any): this;
|
|
3006
3009
|
pop (): T;
|
|
3007
3010
|
push (... elements: T []): number;
|
|
3008
|
-
reduce <U> (
|
|
3009
|
-
reduceRight <U> (
|
|
3011
|
+
reduce <U> (callbackFn: ArrayReducer <T, U>, initialValue?: U): U;
|
|
3012
|
+
reduceRight <U> (callbackFn: ArrayReducer <T, U>, initialValue?: U): U;
|
|
3010
3013
|
reverse (): this;
|
|
3011
3014
|
shift (): T;
|
|
3012
3015
|
slice (start?: number, end?: number): this;
|
|
3013
|
-
some (
|
|
3014
|
-
sort (
|
|
3016
|
+
some (callbackFn: ArrayTest <T>, thisArg?: any): boolean;
|
|
3017
|
+
sort (compareFn?: (a: T, b: T) => number): this;
|
|
3015
3018
|
splice (start: number, deleteCount: number, ... items: T []): this;
|
|
3016
3019
|
toReversed (): this;
|
|
3017
|
-
toSorted (
|
|
3020
|
+
toSorted (compareFn?: (a: T, b: T) => number): this;
|
|
3018
3021
|
toSpliced (start: number, deleteCount: number, ... items: T []): this;
|
|
3019
3022
|
unshift (... elements: T []): number;
|
|
3020
3023
|
values (): IterableIterator <T>;
|
|
3021
3024
|
with (index: number, value: T): this;
|
|
3022
3025
|
}
|
|
3023
3026
|
|
|
3024
|
-
type ArrayTest <T> = (element: T,
|
|
3025
|
-
type ArrayAction <T> = (element: T,
|
|
3026
|
-
type ArrayReducer <T, U> = (
|
|
3027
|
+
type ArrayTest <T> = (element: T, index: number, array: X3DArrayField <T>) => boolean;
|
|
3028
|
+
type ArrayAction <T> = (element: T, index: number, array: X3DArrayField <T>) => void;
|
|
3029
|
+
type ArrayReducer <T, U> = (accumulator: U, currentValue: T, currentIndex: number, array: X3DArrayField <T>) => U;
|
|
3027
3030
|
|
|
3028
3031
|
/**
|
|
3029
3032
|
* The MFBool object corresponds to an X3D MFBool field. It is used to store a one-dimensional array of SFBool objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfBoolObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `false`.
|
|
@@ -3032,6 +3035,13 @@ declare namespace X3D
|
|
|
3032
3035
|
{
|
|
3033
3036
|
static readonly type: number;
|
|
3034
3037
|
static readonly typeName: "MFBool";
|
|
3038
|
+
|
|
3039
|
+
/**
|
|
3040
|
+
* Returns a new `MFBool` field initialized with the values from the specified iterable.
|
|
3041
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3042
|
+
*/
|
|
3043
|
+
static from (items: Iterable<any> | ArrayLike<any>): MFBool;
|
|
3044
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => boolean, thisArg?: any): MFBool;
|
|
3035
3045
|
}
|
|
3036
3046
|
|
|
3037
3047
|
/**
|
|
@@ -3041,6 +3051,13 @@ declare namespace X3D
|
|
|
3041
3051
|
{
|
|
3042
3052
|
static readonly type: number;
|
|
3043
3053
|
static readonly typeName: "MFColor";
|
|
3054
|
+
|
|
3055
|
+
/**
|
|
3056
|
+
* Returns a new `MFColor` field initialized with the values from the specified iterable.
|
|
3057
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3058
|
+
*/
|
|
3059
|
+
static from (items: Iterable<SFColor> | ArrayLike<SFColor>): MFColor;
|
|
3060
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFColor, thisArg?: any): MFColor;
|
|
3044
3061
|
}
|
|
3045
3062
|
|
|
3046
3063
|
/**
|
|
@@ -3050,6 +3067,13 @@ declare namespace X3D
|
|
|
3050
3067
|
{
|
|
3051
3068
|
static readonly type: number;
|
|
3052
3069
|
static readonly typeName: "MFColorRGBA";
|
|
3070
|
+
|
|
3071
|
+
/**
|
|
3072
|
+
* Returns a new `MFColorRGBA` field initialized with the values from the specified iterable.
|
|
3073
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3074
|
+
*/
|
|
3075
|
+
static from (items: Iterable<SFColorRGBA> | ArrayLike<SFColorRGBA>): MFColorRGBA;
|
|
3076
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFColorRGBA, thisArg?: any): MFColorRGBA;
|
|
3053
3077
|
}
|
|
3054
3078
|
|
|
3055
3079
|
/**
|
|
@@ -3059,6 +3083,13 @@ declare namespace X3D
|
|
|
3059
3083
|
{
|
|
3060
3084
|
static readonly type: number;
|
|
3061
3085
|
static readonly typeName: "MFDouble";
|
|
3086
|
+
|
|
3087
|
+
/**
|
|
3088
|
+
* Returns a new `MFDouble` field initialized with the values from the specified iterable.
|
|
3089
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3090
|
+
*/
|
|
3091
|
+
static from (items: Iterable<any> | ArrayLike<any>): MFDouble;
|
|
3092
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFDouble;
|
|
3062
3093
|
}
|
|
3063
3094
|
|
|
3064
3095
|
/**
|
|
@@ -3068,6 +3099,13 @@ declare namespace X3D
|
|
|
3068
3099
|
{
|
|
3069
3100
|
static readonly type: number;
|
|
3070
3101
|
static readonly typeName: "MFFloat";
|
|
3102
|
+
|
|
3103
|
+
/**
|
|
3104
|
+
* Returns a new `MFFloat` field initialized with the values from the specified iterable.
|
|
3105
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3106
|
+
*/
|
|
3107
|
+
static from (items: Iterable<any> | ArrayLike<any>): MFFloat;
|
|
3108
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFFloat;
|
|
3071
3109
|
}
|
|
3072
3110
|
|
|
3073
3111
|
/**
|
|
@@ -3077,6 +3115,13 @@ declare namespace X3D
|
|
|
3077
3115
|
{
|
|
3078
3116
|
static readonly type: number;
|
|
3079
3117
|
static readonly typeName: "MFImage";
|
|
3118
|
+
|
|
3119
|
+
/**
|
|
3120
|
+
* Returns a new `MFImage` field initialized with the values from the specified iterable.
|
|
3121
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3122
|
+
*/
|
|
3123
|
+
static from (items: Iterable<SFImage> | ArrayLike<SFImage>): MFImage;
|
|
3124
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFImage, thisArg?: any): MFImage;
|
|
3080
3125
|
}
|
|
3081
3126
|
|
|
3082
3127
|
/**
|
|
@@ -3086,6 +3131,13 @@ declare namespace X3D
|
|
|
3086
3131
|
{
|
|
3087
3132
|
static readonly type: number;
|
|
3088
3133
|
static readonly typeName: "MFInt32";
|
|
3134
|
+
|
|
3135
|
+
/**
|
|
3136
|
+
* Returns a new `MFInt32` field initialized with the values from the specified iterable.
|
|
3137
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3138
|
+
*/
|
|
3139
|
+
static from (items: Iterable<any> | ArrayLike<any>): MFInt32;
|
|
3140
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFInt32;
|
|
3089
3141
|
}
|
|
3090
3142
|
|
|
3091
3143
|
/**
|
|
@@ -3095,6 +3147,13 @@ declare namespace X3D
|
|
|
3095
3147
|
{
|
|
3096
3148
|
static readonly type: number;
|
|
3097
3149
|
static readonly typeName: "MFMatrix3d";
|
|
3150
|
+
|
|
3151
|
+
/**
|
|
3152
|
+
* Returns a new `MFMatrix3d` field initialized with the values from the specified iterable.
|
|
3153
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3154
|
+
*/
|
|
3155
|
+
static from (items: Iterable<SFMatrix3d> | ArrayLike<SFMatrix3d>): MFMatrix3d;
|
|
3156
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFMatrix3d, thisArg?: any): MFMatrix3d;
|
|
3098
3157
|
}
|
|
3099
3158
|
|
|
3100
3159
|
/**
|
|
@@ -3104,6 +3163,12 @@ declare namespace X3D
|
|
|
3104
3163
|
{
|
|
3105
3164
|
static readonly type: number;
|
|
3106
3165
|
static readonly typeName: "MFMatrix3f";
|
|
3166
|
+
|
|
3167
|
+
/**
|
|
3168
|
+
* Returns a new `MFMatrix3f` field initialized with the values from the specified iterable.
|
|
3169
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3170
|
+
*/
|
|
3171
|
+
static from (items: Iterable<SFMatrix3f> | ArrayLike<SFMatrix3f>, mapFn: (element: SFMatrix3f, index: number) => SFMatrix3f, thisArg?: any): MFMatrix3f;
|
|
3107
3172
|
}
|
|
3108
3173
|
|
|
3109
3174
|
/**
|
|
@@ -3113,6 +3178,12 @@ declare namespace X3D
|
|
|
3113
3178
|
{
|
|
3114
3179
|
static readonly type: number;
|
|
3115
3180
|
static readonly typeName: "MFMatrix4d";
|
|
3181
|
+
|
|
3182
|
+
/**
|
|
3183
|
+
* Returns a new `MFMatrix4d` field initialized with the values from the specified iterable.
|
|
3184
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3185
|
+
*/
|
|
3186
|
+
static from (items: Iterable<SFMatrix4d> | ArrayLike<SFMatrix4d>, mapFn: (element: SFMatrix4d, index: number) => SFMatrix4d, thisArg?: any): MFMatrix4d;
|
|
3116
3187
|
}
|
|
3117
3188
|
|
|
3118
3189
|
/**
|
|
@@ -3122,6 +3193,13 @@ declare namespace X3D
|
|
|
3122
3193
|
{
|
|
3123
3194
|
static readonly type: number;
|
|
3124
3195
|
static readonly typeName: "MFMatrix4f";
|
|
3196
|
+
|
|
3197
|
+
/**
|
|
3198
|
+
* Returns a new `MFMatrix4f` field initialized with the values from the specified iterable.
|
|
3199
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3200
|
+
*/
|
|
3201
|
+
static from (items: Iterable<SFMatrix4f> | ArrayLike<SFMatrix4f>): MFMatrix4f;
|
|
3202
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFMatrix4f, thisArg?: any): MFMatrix4f;
|
|
3125
3203
|
}
|
|
3126
3204
|
|
|
3127
3205
|
/**
|
|
@@ -3131,6 +3209,13 @@ declare namespace X3D
|
|
|
3131
3209
|
{
|
|
3132
3210
|
static readonly type: number;
|
|
3133
3211
|
static readonly typeName: "MFNode";
|
|
3212
|
+
|
|
3213
|
+
/**
|
|
3214
|
+
* Returns a new `MFNode` field initialized with the values from the specified iterable.
|
|
3215
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3216
|
+
*/
|
|
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;
|
|
3134
3219
|
}
|
|
3135
3220
|
|
|
3136
3221
|
/**
|
|
@@ -3140,6 +3225,13 @@ declare namespace X3D
|
|
|
3140
3225
|
{
|
|
3141
3226
|
static readonly type: number;
|
|
3142
3227
|
static readonly typeName: "MFQuaternion";
|
|
3228
|
+
|
|
3229
|
+
/**
|
|
3230
|
+
* Returns a new `MFQuaternion` field initialized with the values from the specified iterable.
|
|
3231
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3232
|
+
*/
|
|
3233
|
+
static from (items: Iterable<SFQuaternion> | ArrayLike<SFQuaternion>): MFQuaternion;
|
|
3234
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFQuaternion, thisArg?: any): MFQuaternion;
|
|
3143
3235
|
}
|
|
3144
3236
|
|
|
3145
3237
|
/**
|
|
@@ -3149,6 +3241,13 @@ declare namespace X3D
|
|
|
3149
3241
|
{
|
|
3150
3242
|
static readonly type: number;
|
|
3151
3243
|
static readonly typeName: "MFRotation";
|
|
3244
|
+
|
|
3245
|
+
/**
|
|
3246
|
+
* Returns a new `MFRotation` field initialized with the values from the specified iterable.
|
|
3247
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3248
|
+
*/
|
|
3249
|
+
static from (items: Iterable<SFRotation> | ArrayLike<SFRotation>): MFRotation;
|
|
3250
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFRotation, thisArg?: any): MFRotation;
|
|
3152
3251
|
}
|
|
3153
3252
|
|
|
3154
3253
|
/**
|
|
@@ -3158,6 +3257,13 @@ declare namespace X3D
|
|
|
3158
3257
|
{
|
|
3159
3258
|
static readonly type: number;
|
|
3160
3259
|
static readonly typeName: "MFString";
|
|
3260
|
+
|
|
3261
|
+
/**
|
|
3262
|
+
* Returns a new `MFString` field initialized with the values from the specified iterable.
|
|
3263
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3264
|
+
*/
|
|
3265
|
+
static from (items: Iterable<any> | ArrayLike<any>): MFString;
|
|
3266
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => string, thisArg?: any): MFString;
|
|
3161
3267
|
}
|
|
3162
3268
|
|
|
3163
3269
|
/**
|
|
@@ -3167,6 +3273,13 @@ declare namespace X3D
|
|
|
3167
3273
|
{
|
|
3168
3274
|
static readonly type: number;
|
|
3169
3275
|
static readonly typeName: "MFTime";
|
|
3276
|
+
|
|
3277
|
+
/**
|
|
3278
|
+
* Returns a new `MFTime` field initialized with the values from the specified iterable.
|
|
3279
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3280
|
+
*/
|
|
3281
|
+
static from (items: Iterable<any> | ArrayLike<any>): MFTime;
|
|
3282
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => number, thisArg?: any): MFTime;
|
|
3170
3283
|
}
|
|
3171
3284
|
|
|
3172
3285
|
/**
|
|
@@ -3176,6 +3289,13 @@ declare namespace X3D
|
|
|
3176
3289
|
{
|
|
3177
3290
|
static readonly type: number;
|
|
3178
3291
|
static readonly typeName: "MFVec2d";
|
|
3292
|
+
|
|
3293
|
+
/**
|
|
3294
|
+
* Returns a new `MFVec2d` field initialized with the values from the specified iterable.
|
|
3295
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3296
|
+
*/
|
|
3297
|
+
static from (items: Iterable<SFVec2d> | ArrayLike<SFVec2d>): MFVec2d;
|
|
3298
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec2d, thisArg?: any): MFVec2d;
|
|
3179
3299
|
}
|
|
3180
3300
|
|
|
3181
3301
|
/**
|
|
@@ -3185,6 +3305,13 @@ declare namespace X3D
|
|
|
3185
3305
|
{
|
|
3186
3306
|
static readonly type: number;
|
|
3187
3307
|
static readonly typeName: "MFVec2f";
|
|
3308
|
+
|
|
3309
|
+
/**
|
|
3310
|
+
* Returns a new `MFVec2f` field initialized with the values from the specified iterable.
|
|
3311
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3312
|
+
*/
|
|
3313
|
+
static from (items: Iterable<SFVec2f> | ArrayLike<SFVec2f>): MFVec2f;
|
|
3314
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec2f, thisArg?: any): MFVec2f;
|
|
3188
3315
|
}
|
|
3189
3316
|
|
|
3190
3317
|
/**
|
|
@@ -3194,6 +3321,13 @@ declare namespace X3D
|
|
|
3194
3321
|
{
|
|
3195
3322
|
static readonly type: number;
|
|
3196
3323
|
static readonly typeName: "MFVec3d";
|
|
3324
|
+
|
|
3325
|
+
/**
|
|
3326
|
+
* Returns a new `MFVec3d` field initialized with the values from the specified iterable.
|
|
3327
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3328
|
+
*/
|
|
3329
|
+
static from (items: Iterable<SFVec3d> | ArrayLike<SFVec3d>): MFVec3d;
|
|
3330
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec3d, thisArg?: any): MFVec3d;
|
|
3197
3331
|
}
|
|
3198
3332
|
|
|
3199
3333
|
/**
|
|
@@ -3203,6 +3337,13 @@ declare namespace X3D
|
|
|
3203
3337
|
{
|
|
3204
3338
|
static readonly type: number;
|
|
3205
3339
|
static readonly typeName: "MFVec3f";
|
|
3340
|
+
|
|
3341
|
+
/**
|
|
3342
|
+
* Returns a new `MFVec3f` field initialized with the values from the specified iterable.
|
|
3343
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3344
|
+
*/
|
|
3345
|
+
static from (items: Iterable<SFVec3f> | ArrayLike<SFVec3f>): MFVec3f;
|
|
3346
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec3f, thisArg?: any): MFVec3f;
|
|
3206
3347
|
}
|
|
3207
3348
|
|
|
3208
3349
|
/**
|
|
@@ -3212,6 +3353,13 @@ declare namespace X3D
|
|
|
3212
3353
|
{
|
|
3213
3354
|
static readonly type: number;
|
|
3214
3355
|
static readonly typeName: "MFVec4d";
|
|
3356
|
+
|
|
3357
|
+
/**
|
|
3358
|
+
* Returns a new `MFVec4d` field initialized with the values from the specified iterable.
|
|
3359
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3360
|
+
*/
|
|
3361
|
+
static from (items: Iterable<SFVec4d> | ArrayLike<SFVec4d>): MFVec4d;
|
|
3362
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec4d, thisArg?: any): MFVec4d;
|
|
3215
3363
|
}
|
|
3216
3364
|
|
|
3217
3365
|
/**
|
|
@@ -3221,6 +3369,13 @@ declare namespace X3D
|
|
|
3221
3369
|
{
|
|
3222
3370
|
static readonly type: number;
|
|
3223
3371
|
static readonly typeName: "MFVec4f";
|
|
3372
|
+
|
|
3373
|
+
/**
|
|
3374
|
+
* Returns a new `MFVec4f` field initialized with the values from the specified iterable.
|
|
3375
|
+
* @param items An iterable or array-like object to convert to an array.
|
|
3376
|
+
*/
|
|
3377
|
+
static from (items: Iterable<SFVec4f> | ArrayLike<SFVec4f>): MFVec4f;
|
|
3378
|
+
static from (items: Iterable<any> | ArrayLike<any>, mapFn: (element: any, index: number) => SFVec4f, thisArg?: any): MFVec4f;
|
|
3224
3379
|
}
|
|
3225
3380
|
|
|
3226
3381
|
/**
|