x_ite 14.1.4 → 14.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.
- package/README.md +32 -32
- package/dist/X3DUOM.xml +6 -0
- package/dist/assets/components/AnnotationComponent.js +2 -2
- package/dist/assets/components/AnnotationComponent.min.js +2 -2
- package/dist/assets/components/CADGeometryComponent.js +2 -2
- package/dist/assets/components/CADGeometryComponent.min.js +2 -2
- package/dist/assets/components/CubeMapTexturingComponent.js +2 -2
- package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
- package/dist/assets/components/DISComponent.js +2 -2
- package/dist/assets/components/DISComponent.min.js +2 -2
- package/dist/assets/components/EventUtilitiesComponent.js +2 -2
- package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
- package/dist/assets/components/Geometry2DComponent.js +2 -2
- package/dist/assets/components/Geometry2DComponent.min.js +2 -2
- package/dist/assets/components/Geometry3DComponent.js +2 -2
- package/dist/assets/components/Geometry3DComponent.min.js +2 -2
- package/dist/assets/components/GeospatialComponent.js +2 -2
- package/dist/assets/components/GeospatialComponent.min.js +2 -2
- package/dist/assets/components/HAnimComponent.js +2 -2
- package/dist/assets/components/HAnimComponent.min.js +2 -2
- package/dist/assets/components/KeyDeviceSensorComponent.js +2 -2
- package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
- package/dist/assets/components/LayoutComponent.js +8 -5
- package/dist/assets/components/LayoutComponent.min.js +2 -2
- package/dist/assets/components/NURBSComponent.js +2 -2
- package/dist/assets/components/NURBSComponent.min.js +2 -2
- package/dist/assets/components/ParticleSystemsComponent.js +2 -2
- package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
- package/dist/assets/components/PickingComponent.js +2 -2
- package/dist/assets/components/PickingComponent.min.js +2 -2
- package/dist/assets/components/RigidBodyPhysicsComponent.js +2 -2
- package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
- package/dist/assets/components/ScriptingComponent.js +3 -3
- package/dist/assets/components/ScriptingComponent.min.js +2 -2
- package/dist/assets/components/TextComponent.js +48 -29
- package/dist/assets/components/TextComponent.min.js +2 -2
- package/dist/assets/components/TextureProjectionComponent.js +2 -2
- package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
- package/dist/assets/components/Texturing3DComponent.js +10 -10
- package/dist/assets/components/Texturing3DComponent.min.js +2 -2
- package/dist/assets/components/VolumeRenderingComponent.js +2 -2
- package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
- package/dist/assets/components/WebXRComponent.js +2 -2
- package/dist/assets/components/WebXRComponent.min.js +2 -2
- package/dist/assets/components/X_ITEComponent.js +2 -2
- package/dist/assets/components/X_ITEComponent.min.js +2 -2
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.d.ts +70 -20
- package/dist/x_ite.js +289 -280
- package/dist/x_ite.min.js +2 -2
- package/dist/x_ite.min.mjs +2 -2
- package/dist/x_ite.mjs +288 -278
- package/dist/x_ite.zip +0 -0
- package/package.json +3 -3
package/dist/x_ite.d.ts
CHANGED
|
@@ -247,6 +247,7 @@ declare namespace X3D
|
|
|
247
247
|
*/
|
|
248
248
|
changeViewpoint (layer: X3DLayerNodeProxy, name: string): void;
|
|
249
249
|
changeViewpoint (name: string): void;
|
|
250
|
+
|
|
250
251
|
/**
|
|
251
252
|
* Changes the default cursor images to the ones specified in *cursorTypes*. You can omit properties if you want to use the default cursor image for this action. The values can be any valid CSS cursor.
|
|
252
253
|
*/
|
|
@@ -263,6 +264,11 @@ declare namespace X3D
|
|
|
263
264
|
*/
|
|
264
265
|
getClosestObject (layer: X3DLayerNodeProxy, direction: SFVec3d | SFVec3f): ClosestObject;
|
|
265
266
|
getClosestObject (direction: SFVec3d | SFVec3f): ClosestObject;
|
|
267
|
+
/**
|
|
268
|
+
* Loses the WebGL context.
|
|
269
|
+
*/
|
|
270
|
+
loseContext (): void;
|
|
271
|
+
|
|
266
272
|
/**
|
|
267
273
|
* Start processing events.
|
|
268
274
|
*/
|
|
@@ -1634,6 +1640,22 @@ declare namespace X3D
|
|
|
1634
1640
|
addRouteCallback (key: any, callback: () => void): void;
|
|
1635
1641
|
removeRouteCallback (key: any): void;
|
|
1636
1642
|
getRouteCallbacks (): Map <any, () => void>;
|
|
1643
|
+
/**
|
|
1644
|
+
* Set value from string.
|
|
1645
|
+
*/
|
|
1646
|
+
fromString (value: string, scene?: X3DScene): void;
|
|
1647
|
+
/**
|
|
1648
|
+
* Set value from VRML string.
|
|
1649
|
+
*/
|
|
1650
|
+
fromVRMLString (value: string, scene?: X3DScene): void;
|
|
1651
|
+
/**
|
|
1652
|
+
* Set value from XML string.
|
|
1653
|
+
*/
|
|
1654
|
+
fromXMLString (value: string, scene?: X3DScene): void;
|
|
1655
|
+
/**
|
|
1656
|
+
* Set value from JSON string.
|
|
1657
|
+
*/
|
|
1658
|
+
fromJSONString (value: string, scene?: X3DScene): void;
|
|
1637
1659
|
}
|
|
1638
1660
|
|
|
1639
1661
|
/**
|
|
@@ -1661,6 +1683,17 @@ declare namespace X3D
|
|
|
1661
1683
|
static readonly BLACK: SFColor;
|
|
1662
1684
|
static readonly WHITE: SFColor;
|
|
1663
1685
|
|
|
1686
|
+
/**
|
|
1687
|
+
* Creates a SFColor object from a HSV color value; *h* is the hue, *s* is the saturation, *v* is the value and a is the alpha component of the HSV color.
|
|
1688
|
+
*
|
|
1689
|
+
* The saturation, and value component must be in the range 0–1, and the hue component must be in the range 0–2π.
|
|
1690
|
+
*/
|
|
1691
|
+
static fromHSV (h: number, s: number, v: number): SFColor;
|
|
1692
|
+
/**
|
|
1693
|
+
* Creates a SFColor object from string. *value* can be any valid X3D or CSS color value. Hex values must start with `0x`.
|
|
1694
|
+
*/
|
|
1695
|
+
static fromString (value: string): SFColor;
|
|
1696
|
+
|
|
1664
1697
|
/**
|
|
1665
1698
|
* A new color initialized with zero values is created and returned.
|
|
1666
1699
|
*/
|
|
@@ -1722,6 +1755,17 @@ declare namespace X3D
|
|
|
1722
1755
|
static readonly TRANSPARENT: SFColor;
|
|
1723
1756
|
static readonly WHITE: SFColor;
|
|
1724
1757
|
|
|
1758
|
+
/**
|
|
1759
|
+
* Creates a SFColorRGBA object from a HSV color value; *h* is the hue, *s* is the saturation, *v* is the value and *a* is the alpha component of the HSVA color.
|
|
1760
|
+
*
|
|
1761
|
+
* The saturation, and value component must be in the range 0–1, and the hue component must be in the range 0–2π.
|
|
1762
|
+
*/
|
|
1763
|
+
static fromHSVA (h: number, s: number, v: number, a: number): SFColorRGBA;
|
|
1764
|
+
/**
|
|
1765
|
+
* Creates a SFColorRGBA object from string. *value* can be any valid X3D or CSS color value. Hex values must start with `0x`.
|
|
1766
|
+
*/
|
|
1767
|
+
static fromString (value: string): SFColorRGBA;
|
|
1768
|
+
|
|
1725
1769
|
/**
|
|
1726
1770
|
* A new color initialized with zero values is created and returned.
|
|
1727
1771
|
*/
|
|
@@ -3851,7 +3895,7 @@ declare namespace X3D
|
|
|
3851
3895
|
*/
|
|
3852
3896
|
description: string;
|
|
3853
3897
|
/**
|
|
3854
|
-
* The detune field
|
|
3898
|
+
* The detune field, measured in cents, modulates the speed at which the the audio stream is rendered.
|
|
3855
3899
|
*
|
|
3856
3900
|
* This field is of access type 'inputOutput' and type SFFloat.
|
|
3857
3901
|
*/
|
|
@@ -4331,7 +4375,7 @@ declare namespace X3D
|
|
|
4331
4375
|
*/
|
|
4332
4376
|
description: string;
|
|
4333
4377
|
/**
|
|
4334
|
-
* The detune field
|
|
4378
|
+
* The detune field, measured in cents, modulates the speed at which the the audio stream is rendered.
|
|
4335
4379
|
*
|
|
4336
4380
|
* This field is of access type 'inputOutput' and type SFFloat.
|
|
4337
4381
|
*/
|
|
@@ -8190,7 +8234,7 @@ declare namespace X3D
|
|
|
8190
8234
|
spine: MFVec3f;
|
|
8191
8235
|
}
|
|
8192
8236
|
|
|
8193
|
-
/** FillProperties indicates whether appearance is filled or hatched for associated geometry
|
|
8237
|
+
/** FillProperties indicates whether appearance is filled or hatched for associated geometry inside the same Shape. */
|
|
8194
8238
|
interface FillPropertiesProxy extends X3DAppearanceChildNodeProxy
|
|
8195
8239
|
{
|
|
8196
8240
|
/**
|
|
@@ -9964,7 +10008,7 @@ declare namespace X3D
|
|
|
9964
10008
|
*/
|
|
9965
10009
|
children: MFNode <X3DChildNodeProxy>;
|
|
9966
10010
|
/**
|
|
9967
|
-
* the coord field is used for HAnimSegment objects that have deformable meshes and shall contain coordinates referenced from the IndexedFaceSet for the
|
|
10011
|
+
* the coord field is used for HAnimSegment objects that have deformable meshes and shall contain coordinates referenced from the IndexedFaceSet for the parent HAnimSegment object.
|
|
9968
10012
|
*
|
|
9969
10013
|
* This field is of access type 'inputOutput' and type SFNode.
|
|
9970
10014
|
*/
|
|
@@ -11751,7 +11795,7 @@ declare namespace X3D
|
|
|
11751
11795
|
sortOrder: "ANY" | "CLOSEST" | "ALL" | "ALL_SORTED";
|
|
11752
11796
|
}
|
|
11753
11797
|
|
|
11754
|
-
/** LineProperties allows precise fine-grained control over the rendering style of lines and edges for associated geometry
|
|
11798
|
+
/** LineProperties allows precise fine-grained control over the rendering style of lines and edges for associated geometry inside the same Shape. */
|
|
11755
11799
|
interface LinePropertiesProxy extends X3DAppearanceChildNodeProxy
|
|
11756
11800
|
{
|
|
11757
11801
|
/**
|
|
@@ -12107,7 +12151,7 @@ declare namespace X3D
|
|
|
12107
12151
|
visible: boolean;
|
|
12108
12152
|
}
|
|
12109
12153
|
|
|
12110
|
-
/** Material specifies surface rendering properties for associated geometry
|
|
12154
|
+
/** Material specifies surface rendering properties for associated geometry. */
|
|
12111
12155
|
interface MaterialProxy extends X3DOneSidedMaterialNodeProxy
|
|
12112
12156
|
{
|
|
12113
12157
|
/**
|
|
@@ -14001,7 +14045,7 @@ declare namespace X3D
|
|
|
14001
14045
|
*/
|
|
14002
14046
|
description: string;
|
|
14003
14047
|
/**
|
|
14004
|
-
* The detune
|
|
14048
|
+
* The detune field, measured in cents, modulates the speed at which the the audio stream is rendered.
|
|
14005
14049
|
*
|
|
14006
14050
|
* This field is of access type 'inputOutput' and type SFFloat.
|
|
14007
14051
|
*/
|
|
@@ -14335,7 +14379,7 @@ declare namespace X3D
|
|
|
14335
14379
|
type: "SINE" | "SQUARE" | "SAWTOOTH" | "TRIANGLE" | "CUSTOM";
|
|
14336
14380
|
}
|
|
14337
14381
|
|
|
14338
|
-
/** PhysicalMaterial specifies
|
|
14382
|
+
/** PhysicalMaterial specifies Physically Based Rendering (PBR) properties for associated geometry. */
|
|
14339
14383
|
interface PhysicalMaterialProxy extends X3DOneSidedMaterialNodeProxy
|
|
14340
14384
|
{
|
|
14341
14385
|
/**
|
|
@@ -15932,6 +15976,12 @@ declare namespace X3D
|
|
|
15932
15976
|
* This field is of access type 'outputOnly' and type SFBool.
|
|
15933
15977
|
*/
|
|
15934
15978
|
readonly isActive: boolean;
|
|
15979
|
+
/**
|
|
15980
|
+
* The maximumNumberFrames field indicates the maximum number of frames that can be saved for a single series of image captures. A value of 0 indicates no limit.
|
|
15981
|
+
*
|
|
15982
|
+
* This field is of access type 'inputOutput' and type SFInt32.
|
|
15983
|
+
*/
|
|
15984
|
+
maximumNumberFrames: number;
|
|
15935
15985
|
/**
|
|
15936
15986
|
* Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
15937
15987
|
*
|
|
@@ -18306,7 +18356,7 @@ declare namespace X3D
|
|
|
18306
18356
|
streamIdentifier: MFString;
|
|
18307
18357
|
}
|
|
18308
18358
|
|
|
18309
|
-
/** StringSensor generates events as the user
|
|
18359
|
+
/** StringSensor generates events as the user enters strings on the keyboard. */
|
|
18310
18360
|
interface StringSensorProxy extends X3DKeyDeviceSensorNodeProxy
|
|
18311
18361
|
{
|
|
18312
18362
|
/**
|
|
@@ -18852,7 +18902,7 @@ declare namespace X3D
|
|
|
18852
18902
|
*/
|
|
18853
18903
|
ambientIntensity: number;
|
|
18854
18904
|
/**
|
|
18855
|
-
* aspectRatio is the ratio of width and height that is projected.
|
|
18905
|
+
* aspectRatio is the ratio of width and height that is projected, reported as output event when contained image is loaded.
|
|
18856
18906
|
*
|
|
18857
18907
|
* This field is of access type 'outputOnly' and type SFFloat.
|
|
18858
18908
|
*/
|
|
@@ -18876,7 +18926,7 @@ declare namespace X3D
|
|
|
18876
18926
|
*/
|
|
18877
18927
|
direction: SFVec3f;
|
|
18878
18928
|
/**
|
|
18879
|
-
* maximum distance necessary for texture display.
|
|
18929
|
+
* maximum distance necessary for texture display, -1 if unconstrained.
|
|
18880
18930
|
*
|
|
18881
18931
|
* This field is of access type 'inputOutput' and type SFFloat.
|
|
18882
18932
|
*/
|
|
@@ -18912,7 +18962,7 @@ declare namespace X3D
|
|
|
18912
18962
|
*/
|
|
18913
18963
|
metadata: X3DMetadataObjectProxy | null;
|
|
18914
18964
|
/**
|
|
18915
|
-
* minimum distance necessary for texture display.
|
|
18965
|
+
* minimum distance necessary for texture display, -1 if unconstrained.
|
|
18916
18966
|
*
|
|
18917
18967
|
* This field is of access type 'inputOutput' and type SFFloat.
|
|
18918
18968
|
*/
|
|
@@ -18942,7 +18992,7 @@ declare namespace X3D
|
|
|
18942
18992
|
*/
|
|
18943
18993
|
texture: X3DTexture2DNodeProxy | null;
|
|
18944
18994
|
/**
|
|
18945
|
-
* upVector describes
|
|
18995
|
+
* upVector describes camera orientation by defining which direction is up.
|
|
18946
18996
|
*
|
|
18947
18997
|
* This field is of access type 'inputOutput' and type SFVec3f.
|
|
18948
18998
|
*/
|
|
@@ -18959,7 +19009,7 @@ declare namespace X3D
|
|
|
18959
19009
|
*/
|
|
18960
19010
|
ambientIntensity: number;
|
|
18961
19011
|
/**
|
|
18962
|
-
* aspectRatio is the ratio of width and height that is projected.
|
|
19012
|
+
* aspectRatio is the ratio of width and height that is projected, reported as output event when contained image is loaded.
|
|
18963
19013
|
*
|
|
18964
19014
|
* This field is of access type 'outputOnly' and type SFFloat.
|
|
18965
19015
|
*/
|
|
@@ -18983,7 +19033,7 @@ declare namespace X3D
|
|
|
18983
19033
|
*/
|
|
18984
19034
|
direction: SFVec3f;
|
|
18985
19035
|
/**
|
|
18986
|
-
* maximum distance necessary for texture display.
|
|
19036
|
+
* maximum distance necessary for texture display, -1 if unconstrained.
|
|
18987
19037
|
*
|
|
18988
19038
|
* This field is of access type 'inputOutput' and type SFFloat.
|
|
18989
19039
|
*/
|
|
@@ -19019,7 +19069,7 @@ declare namespace X3D
|
|
|
19019
19069
|
*/
|
|
19020
19070
|
metadata: X3DMetadataObjectProxy | null;
|
|
19021
19071
|
/**
|
|
19022
|
-
* minimum distance necessary for texture display.
|
|
19072
|
+
* minimum distance necessary for texture display, -1 if unconstrained.
|
|
19023
19073
|
*
|
|
19024
19074
|
* This field is of access type 'inputOutput' and type SFFloat.
|
|
19025
19075
|
*/
|
|
@@ -19049,7 +19099,7 @@ declare namespace X3D
|
|
|
19049
19099
|
*/
|
|
19050
19100
|
texture: X3DTexture2DNodeProxy | null;
|
|
19051
19101
|
/**
|
|
19052
|
-
* upVector describes
|
|
19102
|
+
* upVector describes camera orientation by defining which direction is up.
|
|
19053
19103
|
*
|
|
19054
19104
|
* This field is of access type 'inputOutput' and type SFVec3f.
|
|
19055
19105
|
*/
|
|
@@ -19155,7 +19205,7 @@ declare namespace X3D
|
|
|
19155
19205
|
*/
|
|
19156
19206
|
metadata: X3DMetadataObjectProxy | null;
|
|
19157
19207
|
/**
|
|
19158
|
-
*
|
|
19208
|
+
* Single rotation angle of texture about center (opposite effect appears on geometry).
|
|
19159
19209
|
*
|
|
19160
19210
|
* This field is of access type 'inputOutput' and type SFFloat.
|
|
19161
19211
|
*/
|
|
@@ -20200,7 +20250,7 @@ declare namespace X3D
|
|
|
20200
20250
|
texCoord: X3DSingleTextureCoordinateNodeProxy | MultiTextureCoordinateProxy | null;
|
|
20201
20251
|
}
|
|
20202
20252
|
|
|
20203
|
-
/** TwoSidedMaterial specifies surface rendering properties for associated geometry
|
|
20253
|
+
/** TwoSidedMaterial specifies surface rendering properties for associated geometry, for outer (front) and inner (back) sides of polygons. */
|
|
20204
20254
|
interface TwoSidedMaterialProxy extends X3DMaterialNodeProxy
|
|
20205
20255
|
{
|
|
20206
20256
|
/**
|
|
@@ -20384,7 +20434,7 @@ declare namespace X3D
|
|
|
20384
20434
|
stop2ErrorCorrection: number;
|
|
20385
20435
|
}
|
|
20386
20436
|
|
|
20387
|
-
/** UnlitMaterial specifies surface rendering properties for associated geometry
|
|
20437
|
+
/** UnlitMaterial specifies surface rendering properties for associated geometry that is unaffected by scene lighting. */
|
|
20388
20438
|
interface UnlitMaterialProxy extends X3DOneSidedMaterialNodeProxy
|
|
20389
20439
|
{
|
|
20390
20440
|
/**
|