x_ite 9.0.2 → 9.0.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.
- package/dist/assets/components/Annotation.js +33 -33
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +34 -34
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +99 -105
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +92 -47
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +34 -34
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +45 -45
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +90 -76
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +171 -149
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +18 -16
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +44 -44
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +68 -173
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +112 -97
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +106 -102
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +214 -125
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +43 -43
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +34 -33
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +48 -48
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +60 -64
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +66 -66
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +12 -12
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1034 -818
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +1034 -818
- package/dist/x_ite.zip +0 -0
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v9.0.
|
|
1
|
+
/* X_ITE v9.0.3 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,25 +39,25 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometricPropertyNode\")"
|
|
54
|
-
const X3DGeometricPropertyNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
54
|
+
const X3DGeometricPropertyNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Components/Rendering/X3DGeometricPropertyNode");
|
|
55
55
|
var X3DGeometricPropertyNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometricPropertyNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Base/X3DConstants");
|
|
58
58
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
60
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
60
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Namespace");
|
|
61
61
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: ./src/x_ite/Components/HAnim/HAnimDisplacer.js
|
|
63
63
|
/*******************************************************************************
|
|
@@ -131,9 +131,9 @@ Object .defineProperties (HAnimDisplacer,
|
|
|
131
131
|
value: "HAnimDisplacer",
|
|
132
132
|
enumerable: true,
|
|
133
133
|
},
|
|
134
|
-
|
|
134
|
+
componentInfo:
|
|
135
135
|
{
|
|
136
|
-
value: "HAnim",
|
|
136
|
+
value: Object .freeze ({ name: "HAnim", level: 1 }),
|
|
137
137
|
enumerable: true,
|
|
138
138
|
},
|
|
139
139
|
containerField:
|
|
@@ -143,7 +143,7 @@ Object .defineProperties (HAnimDisplacer,
|
|
|
143
143
|
},
|
|
144
144
|
specificationRange:
|
|
145
145
|
{
|
|
146
|
-
value: Object .freeze (
|
|
146
|
+
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
147
147
|
enumerable: true,
|
|
148
148
|
},
|
|
149
149
|
fieldDefinitions:
|
|
@@ -166,28 +166,28 @@ const __default__ = HAnimDisplacer;
|
|
|
166
166
|
Namespace_default().add ("HAnimDisplacer", "x_ite/Components/HAnim/HAnimDisplacer", __default__);
|
|
167
167
|
/* harmony default export */ const HAnim_HAnimDisplacer = (__default__);
|
|
168
168
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
169
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
169
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
170
170
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
171
171
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
|
|
172
|
-
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
172
|
+
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Components/Grouping/Group");
|
|
173
173
|
var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
|
|
174
174
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Transform\")"
|
|
175
|
-
const Transform_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
175
|
+
const Transform_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Components/Grouping/Transform");
|
|
176
176
|
var Transform_default = /*#__PURE__*/__webpack_require__.n(Transform_namespaceObject);
|
|
177
177
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
178
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
178
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
179
179
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
180
180
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
181
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
181
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Rendering/TraverseType");
|
|
182
182
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
183
183
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
184
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
184
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Base/X3DCast");
|
|
185
185
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
186
186
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
187
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
187
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("standard/Math/Numbers/Matrix4");
|
|
188
188
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
189
189
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
190
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
190
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("standard/Math/Algorithm");
|
|
191
191
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
192
192
|
;// CONCATENATED MODULE: ./src/x_ite/Components/HAnim/HAnimHumanoid.js
|
|
193
193
|
/*******************************************************************************
|
|
@@ -261,11 +261,20 @@ function HAnimHumanoid (executionContext)
|
|
|
261
261
|
(X3DConstants_default()).inputOutput, "displacementsTexture", new (Fields_default()).SFTime (),
|
|
262
262
|
(X3DConstants_default()).inputOutput, "displacementWeightsTexture", new (Fields_default()).SFTime ());
|
|
263
263
|
|
|
264
|
+
// Units
|
|
265
|
+
|
|
264
266
|
this ._translation .setUnit ("length");
|
|
265
267
|
this ._center .setUnit ("length");
|
|
266
268
|
this ._bboxSize .setUnit ("length");
|
|
267
269
|
this ._bboxCenter .setUnit ("length");
|
|
268
270
|
|
|
271
|
+
// Legacy
|
|
272
|
+
|
|
273
|
+
if (executionContext .getSpecificationVersion () <= 3.3)
|
|
274
|
+
this ._version = "";
|
|
275
|
+
|
|
276
|
+
// Private properties
|
|
277
|
+
|
|
269
278
|
this .skeletonNode = new (Group_default()) (executionContext);
|
|
270
279
|
this .viewpointsNode = new (Group_default()) (executionContext);
|
|
271
280
|
this .skinNode = new (Group_default()) (executionContext);
|
|
@@ -420,7 +429,14 @@ Object .assign (Object .setPrototypeOf (HAnimHumanoid .prototype, (X3DChildNode_
|
|
|
420
429
|
motionNodes = this .motionNodes;
|
|
421
430
|
|
|
422
431
|
for (const motionNode of motionNodes)
|
|
423
|
-
|
|
432
|
+
{
|
|
433
|
+
motionNode ._joints .removeInterest ("set_connectJoints__", this);
|
|
434
|
+
motionNode ._channelsEnabled .removeInterest ("set_connectJoints__", this);
|
|
435
|
+
motionNode ._channels .removeInterest ("set_connectJoints__", this);
|
|
436
|
+
motionNode ._values .removeInterest ("set_connectJoints__", this);
|
|
437
|
+
|
|
438
|
+
motionNode .disconnectJoints (this .jointNodes);
|
|
439
|
+
}
|
|
424
440
|
|
|
425
441
|
motionNodes .length = 0;
|
|
426
442
|
|
|
@@ -436,7 +452,19 @@ Object .assign (Object .setPrototypeOf (HAnimHumanoid .prototype, (X3DChildNode_
|
|
|
436
452
|
}
|
|
437
453
|
|
|
438
454
|
for (const motionNode of motionNodes)
|
|
439
|
-
|
|
455
|
+
{
|
|
456
|
+
motionNode ._joints .addInterest ("set_connectJoints__", this, motionNode);
|
|
457
|
+
motionNode ._channelsEnabled .addInterest ("set_connectJoints__", this, motionNode);
|
|
458
|
+
motionNode ._channels .addInterest ("set_connectJoints__", this, motionNode);
|
|
459
|
+
motionNode ._values .addInterest ("set_connectJoints__", this, motionNode);
|
|
460
|
+
|
|
461
|
+
motionNode .connectJoints (this .jointNodes);
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
set_connectJoints__ (motionNode)
|
|
465
|
+
{
|
|
466
|
+
motionNode .disconnectJoints (this .jointNodes);
|
|
467
|
+
motionNode .connectJoints (this .jointNodes);
|
|
440
468
|
},
|
|
441
469
|
set_joints__ ()
|
|
442
470
|
{
|
|
@@ -447,9 +475,13 @@ Object .assign (Object .setPrototypeOf (HAnimHumanoid .prototype, (X3DChildNode_
|
|
|
447
475
|
jointBindingRotations = this ._jointBindingRotations,
|
|
448
476
|
jointBindingScales = this ._jointBindingScales;
|
|
449
477
|
|
|
478
|
+
for (const motionNode of this .motionNodes)
|
|
479
|
+
motionNode .disconnectJoints (jointNodes);
|
|
480
|
+
|
|
450
481
|
for (const jointNode of jointNodes)
|
|
451
482
|
{
|
|
452
483
|
jointNode .removeInterest ("enable", this .change);
|
|
484
|
+
|
|
453
485
|
jointNode ._skinCoordIndex .removeInterest ("addEvent", this ._jointTextures);
|
|
454
486
|
jointNode ._skinCoordWeight .removeInterest ("addEvent", this ._jointTextures);
|
|
455
487
|
jointNode ._displacements .removeInterest ("addEvent", this ._displacementsTexture);
|
|
@@ -484,12 +516,16 @@ Object .assign (Object .setPrototypeOf (HAnimHumanoid .prototype, (X3DChildNode_
|
|
|
484
516
|
for (const jointNode of jointNodes)
|
|
485
517
|
{
|
|
486
518
|
jointNode .addInterest ("enable", this .change);
|
|
519
|
+
|
|
487
520
|
jointNode ._skinCoordIndex .addInterest ("addEvent", this ._jointTextures);
|
|
488
521
|
jointNode ._skinCoordWeight .addInterest ("addEvent", this ._jointTextures);
|
|
489
522
|
jointNode ._displacements .addInterest ("addEvent", this ._displacementsTexture);
|
|
490
523
|
jointNode ._displacementWeights .addInterest ("addEvent", this ._displacementWeightsTexture);
|
|
491
524
|
}
|
|
492
525
|
|
|
526
|
+
for (const motionNode of this .motionNodes)
|
|
527
|
+
motionNode .connectJoints (jointNodes);
|
|
528
|
+
|
|
493
529
|
const size = Math .ceil (Math .sqrt (jointNodes .length * 8));
|
|
494
530
|
|
|
495
531
|
this .jointMatricesArray = new Float32Array (size * size * 4),
|
|
@@ -497,9 +533,6 @@ Object .assign (Object .setPrototypeOf (HAnimHumanoid .prototype, (X3DChildNode_
|
|
|
497
533
|
this ._jointTextures .addEvent ();
|
|
498
534
|
this ._displacementsTexture .addEvent ();
|
|
499
535
|
this ._displacementWeightsTexture .addEvent ();
|
|
500
|
-
|
|
501
|
-
for (const motionNode of this .motionNodes)
|
|
502
|
-
motionNode .setJoints (jointNodes);
|
|
503
536
|
},
|
|
504
537
|
set_jointTextures__ ()
|
|
505
538
|
{
|
|
@@ -763,9 +796,9 @@ Object .defineProperties (HAnimHumanoid,
|
|
|
763
796
|
value: "HAnimHumanoid",
|
|
764
797
|
enumerable: true,
|
|
765
798
|
},
|
|
766
|
-
|
|
799
|
+
componentInfo:
|
|
767
800
|
{
|
|
768
|
-
value: "HAnim",
|
|
801
|
+
value: Object .freeze ({ name: "HAnim", level: 1 }),
|
|
769
802
|
enumerable: true,
|
|
770
803
|
},
|
|
771
804
|
containerField:
|
|
@@ -775,14 +808,14 @@ Object .defineProperties (HAnimHumanoid,
|
|
|
775
808
|
},
|
|
776
809
|
specificationRange:
|
|
777
810
|
{
|
|
778
|
-
value: Object .freeze (
|
|
811
|
+
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
779
812
|
enumerable: true,
|
|
780
813
|
},
|
|
781
814
|
fieldDefinitions:
|
|
782
815
|
{
|
|
783
816
|
value: new (FieldDefinitionArray_default()) ([
|
|
784
817
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
785
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "version", new (Fields_default()).SFString ()),
|
|
818
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "version", new (Fields_default()).SFString ("2.0")),
|
|
786
819
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "description", new (Fields_default()).SFString ()),
|
|
787
820
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "name", new (Fields_default()).SFString ()),
|
|
788
821
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "info", new (Fields_default()).MFString ()),
|
|
@@ -807,8 +840,8 @@ Object .defineProperties (HAnimHumanoid,
|
|
|
807
840
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "jointBindingRotations", new (Fields_default()).MFRotation ()),
|
|
808
841
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "jointBindingScales", new (Fields_default()).MFVec3f ()),
|
|
809
842
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "joints", new (Fields_default()).MFNode ()),
|
|
810
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "
|
|
811
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "
|
|
843
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "skinBindingNormals", new (Fields_default()).SFNode ()),
|
|
844
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "skinBindingCoords", new (Fields_default()).SFNode ()),
|
|
812
845
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "skinNormal", new (Fields_default()).SFNode ()),
|
|
813
846
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "skinCoord", new (Fields_default()).SFNode ()),
|
|
814
847
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "skin", new (Fields_default()).MFNode ()),
|
|
@@ -842,10 +875,10 @@ const HAnimHumanoid_default_ = HAnimHumanoid;
|
|
|
842
875
|
Namespace_default().add ("HAnimHumanoid", "x_ite/Components/HAnim/HAnimHumanoid", HAnimHumanoid_default_);
|
|
843
876
|
/* harmony default export */ const HAnim_HAnimHumanoid = (HAnimHumanoid_default_);
|
|
844
877
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformNode\")"
|
|
845
|
-
const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
878
|
+
const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Components/Grouping/X3DTransformNode");
|
|
846
879
|
var X3DTransformNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformNode_namespaceObject);
|
|
847
880
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
848
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
881
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("standard/Math/Numbers/Vector3");
|
|
849
882
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
850
883
|
;// CONCATENATED MODULE: ./src/x_ite/Components/HAnim/HAnimJoint.js
|
|
851
884
|
/*******************************************************************************
|
|
@@ -1000,9 +1033,9 @@ Object .defineProperties (HAnimJoint,
|
|
|
1000
1033
|
value: "HAnimJoint",
|
|
1001
1034
|
enumerable: true,
|
|
1002
1035
|
},
|
|
1003
|
-
|
|
1036
|
+
componentInfo:
|
|
1004
1037
|
{
|
|
1005
|
-
value: "HAnim",
|
|
1038
|
+
value: Object .freeze ({ name: "HAnim", level: 1 }),
|
|
1006
1039
|
enumerable: true,
|
|
1007
1040
|
},
|
|
1008
1041
|
containerField:
|
|
@@ -1012,7 +1045,7 @@ Object .defineProperties (HAnimJoint,
|
|
|
1012
1045
|
},
|
|
1013
1046
|
specificationRange:
|
|
1014
1047
|
{
|
|
1015
|
-
value: Object .freeze (
|
|
1048
|
+
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
1016
1049
|
enumerable: true,
|
|
1017
1050
|
},
|
|
1018
1051
|
fieldDefinitions:
|
|
@@ -1026,8 +1059,8 @@ Object .defineProperties (HAnimJoint,
|
|
|
1026
1059
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "scale", new (Fields_default()).SFVec3f (1, 1, 1)),
|
|
1027
1060
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "scaleOrientation", new (Fields_default()).SFRotation ()),
|
|
1028
1061
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "center", new (Fields_default()).SFVec3f ()),
|
|
1029
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "llimit", new (Fields_default()).MFFloat ()),
|
|
1030
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "ulimit", new (Fields_default()).MFFloat ()),
|
|
1062
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "llimit", new (Fields_default()).MFFloat (0, 0, 0)),
|
|
1063
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "ulimit", new (Fields_default()).MFFloat (0, 0, 0)),
|
|
1031
1064
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "limitOrientation", new (Fields_default()).SFRotation ()),
|
|
1032
1065
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "stiffness", new (Fields_default()).MFFloat (0, 0, 0)),
|
|
1033
1066
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "skinCoordIndex", new (Fields_default()).MFInt32 ()),
|
|
@@ -1051,16 +1084,16 @@ const HAnimJoint_default_ = HAnimJoint;
|
|
|
1051
1084
|
Namespace_default().add ("HAnimJoint", "x_ite/Components/HAnim/HAnimJoint", HAnimJoint_default_);
|
|
1052
1085
|
/* harmony default export */ const HAnim_HAnimJoint = (HAnimJoint_default_);
|
|
1053
1086
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Time/TimeSensor\")"
|
|
1054
|
-
const TimeSensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
1087
|
+
const TimeSensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Components/Time/TimeSensor");
|
|
1055
1088
|
var TimeSensor_default = /*#__PURE__*/__webpack_require__.n(TimeSensor_namespaceObject);
|
|
1056
1089
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/PositionInterpolator\")"
|
|
1057
|
-
const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
1090
|
+
const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Components/Interpolation/PositionInterpolator");
|
|
1058
1091
|
var PositionInterpolator_default = /*#__PURE__*/__webpack_require__.n(PositionInterpolator_namespaceObject);
|
|
1059
1092
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/OrientationInterpolator\")"
|
|
1060
|
-
const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
1093
|
+
const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Components/Interpolation/OrientationInterpolator");
|
|
1061
1094
|
var OrientationInterpolator_default = /*#__PURE__*/__webpack_require__.n(OrientationInterpolator_namespaceObject);
|
|
1062
1095
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
1063
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
1096
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("standard/Math/Numbers/Rotation4");
|
|
1064
1097
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
1065
1098
|
;// CONCATENATED MODULE: ./src/x_ite/Components/HAnim/HAnimMotion.js
|
|
1066
1099
|
/*******************************************************************************
|
|
@@ -1130,7 +1163,6 @@ function HAnimMotion (executionContext)
|
|
|
1130
1163
|
|
|
1131
1164
|
this .timeSensor = new (TimeSensor_default()) (this .getExecutionContext ());
|
|
1132
1165
|
this .interpolators = [ ];
|
|
1133
|
-
this .jointsIndex = new Map ();
|
|
1134
1166
|
}
|
|
1135
1167
|
|
|
1136
1168
|
Object .assign (Object .setPrototypeOf (HAnimMotion .prototype, (X3DChildNode_default()).prototype),
|
|
@@ -1150,44 +1182,75 @@ Object .assign (Object .setPrototypeOf (HAnimMotion .prototype, (X3DChildNode_de
|
|
|
1150
1182
|
|
|
1151
1183
|
this .timeSensor .setup ();
|
|
1152
1184
|
|
|
1153
|
-
this ._enabled .addInterest ("set_enabled__",
|
|
1154
|
-
this ._joints .addInterest ("
|
|
1155
|
-
this .
|
|
1156
|
-
this .
|
|
1157
|
-
this .
|
|
1158
|
-
this .
|
|
1159
|
-
this .
|
|
1160
|
-
this .
|
|
1161
|
-
this .
|
|
1162
|
-
this .
|
|
1163
|
-
this .
|
|
1164
|
-
this ._endFrame .addInterest ("set_start_or_endFrame__", this);
|
|
1185
|
+
this ._enabled .addInterest ("set_enabled__", this);
|
|
1186
|
+
this ._joints .addInterest ("set_joints__", this);
|
|
1187
|
+
this ._channels .addInterest ("set_interpolators__", this);
|
|
1188
|
+
this ._values .addInterest ("set_interpolators__", this);
|
|
1189
|
+
this ._next .addInterest ("set_next_or_previous__", this, 1);
|
|
1190
|
+
this ._previous .addInterest ("set_next_or_previous__", this, -1);
|
|
1191
|
+
this ._frameIndex .addInterest ("set_frameIndex__", this);
|
|
1192
|
+
this ._frameDuration .addInterest ("set_frameDuration__", this);
|
|
1193
|
+
this ._frameIncrement .addInterest ("set_frameIncrement__", this);
|
|
1194
|
+
this ._startFrame .addInterest ("set_start_or_endFrame__", this);
|
|
1195
|
+
this ._endFrame .addInterest ("set_start_or_endFrame__", this);
|
|
1165
1196
|
|
|
1166
1197
|
this .set_enabled__ ();
|
|
1198
|
+
this .set_joints__ ();
|
|
1199
|
+
this .set_frameIncrement__ ();
|
|
1167
1200
|
this .set_interpolators__ ();
|
|
1168
1201
|
},
|
|
1169
|
-
|
|
1202
|
+
connectJoints (jointNodes)
|
|
1170
1203
|
{
|
|
1171
|
-
|
|
1204
|
+
const
|
|
1205
|
+
channelsEnabled = this ._channelsEnabled,
|
|
1206
|
+
joints = this .joints,
|
|
1207
|
+
jointsIndex = this .getJointsIndex (jointNodes);
|
|
1172
1208
|
|
|
1173
|
-
|
|
1209
|
+
// Connect interpolators.
|
|
1174
1210
|
|
|
1175
|
-
|
|
1211
|
+
for (const [j, { positionInterpolator, orientationInterpolator, scaleInterpolator }] of this .interpolators .entries ())
|
|
1212
|
+
{
|
|
1213
|
+
if (j < channelsEnabled .length && !channelsEnabled [j])
|
|
1214
|
+
continue;
|
|
1176
1215
|
|
|
1177
|
-
|
|
1178
|
-
jointsIndex .set (jointNode ._name .getValue () .trim (), jointNode);
|
|
1216
|
+
const jointNode = jointsIndex .get (joints [j]);
|
|
1179
1217
|
|
|
1180
|
-
|
|
1218
|
+
if (!jointNode)
|
|
1219
|
+
continue;
|
|
1181
1220
|
|
|
1182
|
-
|
|
1221
|
+
positionInterpolator ?._value_changed .addFieldInterest (jointNode ._translation);
|
|
1222
|
+
orientationInterpolator ?._value_changed .addFieldInterest (jointNode ._rotation);
|
|
1223
|
+
scaleInterpolator ?._value_changed .addFieldInterest (jointNode ._scale);
|
|
1224
|
+
}
|
|
1225
|
+
},
|
|
1226
|
+
disconnectJoints (jointNodes)
|
|
1227
|
+
{
|
|
1228
|
+
const
|
|
1229
|
+
joints = this .joints,
|
|
1230
|
+
jointsIndex = this .getJointsIndex (jointNodes);
|
|
1183
1231
|
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
this .
|
|
1232
|
+
// Disconnect joint nodes.
|
|
1233
|
+
|
|
1234
|
+
for (const [j, { positionInterpolator, orientationInterpolator, scaleInterpolator }] of this .interpolators .entries ())
|
|
1235
|
+
{
|
|
1236
|
+
const jointNode = jointsIndex .get (joints [j]);
|
|
1237
|
+
|
|
1238
|
+
if (!jointNode)
|
|
1239
|
+
continue;
|
|
1240
|
+
|
|
1241
|
+
positionInterpolator ?._value_changed .removeFieldInterest (jointNode ._translation);
|
|
1242
|
+
orientationInterpolator ?._value_changed .removeFieldInterest (jointNode ._rotation);
|
|
1243
|
+
scaleInterpolator ?._value_changed .removeFieldInterest (jointNode ._scale);
|
|
1244
|
+
}
|
|
1187
1245
|
},
|
|
1188
|
-
|
|
1246
|
+
getJointsIndex (jointNodes)
|
|
1189
1247
|
{
|
|
1190
|
-
|
|
1248
|
+
const jointsIndex = new Map (jointNodes .map (jointNode => [jointNode ._name .getValue () .trim (), jointNode]));
|
|
1249
|
+
|
|
1250
|
+
jointsIndex .delete ("IGNORED");
|
|
1251
|
+
jointsIndex .set ("HumanoidRoot", jointsIndex .get ("humanoid_root"));
|
|
1252
|
+
|
|
1253
|
+
return jointsIndex;
|
|
1191
1254
|
},
|
|
1192
1255
|
set_enabled__ ()
|
|
1193
1256
|
{
|
|
@@ -1196,14 +1259,32 @@ Object .assign (Object .setPrototypeOf (HAnimMotion .prototype, (X3DChildNode_de
|
|
|
1196
1259
|
else
|
|
1197
1260
|
this .timeSensor ._stopTime = Date .now () / 1000;
|
|
1198
1261
|
},
|
|
1262
|
+
set_joints__ ()
|
|
1263
|
+
{
|
|
1264
|
+
this .joints = this ._joints .getValue () .replace (/^[\s,]+|[\s,]+$/sg, "") .split (/[\s,]+/s);
|
|
1265
|
+
|
|
1266
|
+
// Disconnect all joint nodes.
|
|
1267
|
+
|
|
1268
|
+
for (const { positionInterpolator, orientationInterpolator, scaleInterpolator } of this .interpolators)
|
|
1269
|
+
{
|
|
1270
|
+
positionInterpolator ?._value_changed .getFieldInterests ()
|
|
1271
|
+
.forEach (field => positionInterpolator ._value_changed .removeFieldInterest (field));
|
|
1272
|
+
|
|
1273
|
+
orientationInterpolator ?._value_changed .getFieldInterests ()
|
|
1274
|
+
.forEach (field => orientationInterpolator ._value_changed .removeFieldInterest (field));
|
|
1275
|
+
|
|
1276
|
+
scaleInterpolator ?._value_changed .getFieldInterests ()
|
|
1277
|
+
.forEach (field => scaleInterpolator ._value_changed .removeFieldInterest (field));
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1199
1280
|
set_interpolators__ ()
|
|
1200
1281
|
{
|
|
1201
1282
|
// Disconnect old interpolators.
|
|
1202
1283
|
|
|
1203
1284
|
const timeSensor = this .timeSensor;
|
|
1204
1285
|
|
|
1205
|
-
|
|
1206
|
-
timeSensor ._fraction_changed .removeFieldInterest (field);
|
|
1286
|
+
timeSensor ._fraction_changed .getFieldInterests ()
|
|
1287
|
+
.forEach (field => timeSensor ._fraction_changed .removeFieldInterest (field));
|
|
1207
1288
|
|
|
1208
1289
|
// Create interpolators.
|
|
1209
1290
|
|
|
@@ -1243,6 +1324,8 @@ Object .assign (Object .setPrototypeOf (HAnimMotion .prototype, (X3DChildNode_de
|
|
|
1243
1324
|
|
|
1244
1325
|
interpolator ._key .push (key);
|
|
1245
1326
|
interpolator ._keyValue .push (keyValue);
|
|
1327
|
+
|
|
1328
|
+
timeSensor ._fraction_changed .addFieldInterest (interpolator ._set_fraction);
|
|
1246
1329
|
}
|
|
1247
1330
|
|
|
1248
1331
|
if (types .has ("Xrotation") || types .has ("Yrotation") || types .has ("Zrotation"))
|
|
@@ -1258,6 +1341,8 @@ Object .assign (Object .setPrototypeOf (HAnimMotion .prototype, (X3DChildNode_de
|
|
|
1258
1341
|
|
|
1259
1342
|
interpolator ._key .push (key);
|
|
1260
1343
|
interpolator ._keyValue .push (keyValue);
|
|
1344
|
+
|
|
1345
|
+
timeSensor ._fraction_changed .addFieldInterest (interpolator ._set_fraction);
|
|
1261
1346
|
}
|
|
1262
1347
|
|
|
1263
1348
|
if (types .has ("Xscale") || types .has ("Yscale") || types .has ("Zscale"))
|
|
@@ -1273,6 +1358,8 @@ Object .assign (Object .setPrototypeOf (HAnimMotion .prototype, (X3DChildNode_de
|
|
|
1273
1358
|
|
|
1274
1359
|
interpolator ._key .push (key);
|
|
1275
1360
|
interpolator ._keyValue .push (keyValue);
|
|
1361
|
+
|
|
1362
|
+
timeSensor ._fraction_changed .addFieldInterest (interpolator ._set_fraction);
|
|
1276
1363
|
}
|
|
1277
1364
|
}
|
|
1278
1365
|
}
|
|
@@ -1289,78 +1376,8 @@ Object .assign (Object .setPrototypeOf (HAnimMotion .prototype, (X3DChildNode_de
|
|
|
1289
1376
|
this ._endFrame = frameCount - 1;
|
|
1290
1377
|
this ._frameCount = frameCount;
|
|
1291
1378
|
|
|
1292
|
-
this .set_connectInterpolators__ ();
|
|
1293
1379
|
this .set_frameDuration__ ();
|
|
1294
1380
|
},
|
|
1295
|
-
set_connectInterpolators__ ()
|
|
1296
|
-
{
|
|
1297
|
-
const
|
|
1298
|
-
timeSensor = this .timeSensor,
|
|
1299
|
-
channelsEnabled = this ._channelsEnabled,
|
|
1300
|
-
joints = this ._joints .getValue () .replace (/^[\s,]+|[\s,]+$/sg, "") .split (/[\s,]+/s),
|
|
1301
|
-
jointsIndex = this .jointsIndex;
|
|
1302
|
-
|
|
1303
|
-
// Disconnect old joint nodes.
|
|
1304
|
-
|
|
1305
|
-
for (const { positionInterpolator, orientationInterpolator, scaleInterpolator } of this .interpolators)
|
|
1306
|
-
{
|
|
1307
|
-
if (positionInterpolator)
|
|
1308
|
-
{
|
|
1309
|
-
for (const field of positionInterpolator ._value_changed .getFieldInterests ())
|
|
1310
|
-
positionInterpolator ._value_changed .removeFieldInterest (field);
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
if (orientationInterpolator)
|
|
1314
|
-
{
|
|
1315
|
-
for (const field of orientationInterpolator ._value_changed .getFieldInterests ())
|
|
1316
|
-
orientationInterpolator ._value_changed .removeFieldInterest (field);
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
if (scaleInterpolator)
|
|
1320
|
-
{
|
|
1321
|
-
for (const field of scaleInterpolator ._value_changed .getFieldInterests ())
|
|
1322
|
-
scaleInterpolator ._value_changed .removeFieldInterest (field);
|
|
1323
|
-
}
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
// Connect interpolators.
|
|
1327
|
-
|
|
1328
|
-
if (!jointsIndex .size)
|
|
1329
|
-
return;
|
|
1330
|
-
|
|
1331
|
-
for (const [j, { positionInterpolator, orientationInterpolator, scaleInterpolator }] of this .interpolators .entries ())
|
|
1332
|
-
{
|
|
1333
|
-
if (j < channelsEnabled .length && !channelsEnabled [j])
|
|
1334
|
-
continue;
|
|
1335
|
-
|
|
1336
|
-
if (j >= joints .length)
|
|
1337
|
-
continue;
|
|
1338
|
-
|
|
1339
|
-
const jointNode = jointsIndex .get (joints [j])
|
|
1340
|
-
?? (positionInterpolator && jointsIndex .get ("humanoid_root"));
|
|
1341
|
-
|
|
1342
|
-
if (!jointNode)
|
|
1343
|
-
continue;
|
|
1344
|
-
|
|
1345
|
-
if (positionInterpolator)
|
|
1346
|
-
{
|
|
1347
|
-
timeSensor ._fraction_changed .addFieldInterest (positionInterpolator ._set_fraction);
|
|
1348
|
-
positionInterpolator ._value_changed .addFieldInterest (jointNode ._translation);
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
if (orientationInterpolator)
|
|
1352
|
-
{
|
|
1353
|
-
timeSensor ._fraction_changed .addFieldInterest (orientationInterpolator ._set_fraction);
|
|
1354
|
-
orientationInterpolator ._value_changed .addFieldInterest (jointNode ._rotation);
|
|
1355
|
-
}
|
|
1356
|
-
|
|
1357
|
-
if (scaleInterpolator)
|
|
1358
|
-
{
|
|
1359
|
-
timeSensor ._fraction_changed .addFieldInterest (scaleInterpolator ._set_fraction);
|
|
1360
|
-
scaleInterpolator ._value_changed .addFieldInterest (jointNode ._scale);
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
},
|
|
1364
1381
|
set_next_or_previous__ (direction, field)
|
|
1365
1382
|
{
|
|
1366
1383
|
if (!field .getValue ())
|
|
@@ -1414,6 +1431,10 @@ Object .assign (Object .setPrototypeOf (HAnimMotion .prototype, (X3DChildNode_de
|
|
|
1414
1431
|
|
|
1415
1432
|
this .timeSensor ._cycleInterval = frameCount > 1 ? (frameCount - 1) * frameDuration : 0;
|
|
1416
1433
|
},
|
|
1434
|
+
set_frameIncrement__ ()
|
|
1435
|
+
{
|
|
1436
|
+
this .timeSensor ._enabled = this ._frameIncrement .getValue ();
|
|
1437
|
+
},
|
|
1417
1438
|
set_start_or_endFrame__ ()
|
|
1418
1439
|
{
|
|
1419
1440
|
const
|
|
@@ -1454,9 +1475,9 @@ Object .defineProperties (HAnimMotion,
|
|
|
1454
1475
|
value: "HAnimMotion",
|
|
1455
1476
|
enumerable: true,
|
|
1456
1477
|
},
|
|
1457
|
-
|
|
1478
|
+
componentInfo:
|
|
1458
1479
|
{
|
|
1459
|
-
value: "HAnim",
|
|
1480
|
+
value: Object .freeze ({ name: "HAnim", level: 2 }),
|
|
1460
1481
|
enumerable: true,
|
|
1461
1482
|
},
|
|
1462
1483
|
containerField:
|
|
@@ -1466,7 +1487,7 @@ Object .defineProperties (HAnimMotion,
|
|
|
1466
1487
|
},
|
|
1467
1488
|
specificationRange:
|
|
1468
1489
|
{
|
|
1469
|
-
value: Object .freeze (
|
|
1490
|
+
value: Object .freeze ({ from: "4.0", to: "Infinity" }),
|
|
1470
1491
|
enumerable: true,
|
|
1471
1492
|
},
|
|
1472
1493
|
fieldDefinitions:
|
|
@@ -1474,6 +1495,7 @@ Object .defineProperties (HAnimMotion,
|
|
|
1474
1495
|
value: new (FieldDefinitionArray_default()) ([
|
|
1475
1496
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1476
1497
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "description", new (Fields_default()).SFString ()),
|
|
1498
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "name", new (Fields_default()).SFString ()),
|
|
1477
1499
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "enabled", new (Fields_default()).SFBool (true)),
|
|
1478
1500
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "loa", new (Fields_default()).SFInt32 (-1)),
|
|
1479
1501
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "joints", new (Fields_default()).SFString ()),
|
|
@@ -1502,7 +1524,7 @@ const HAnimMotion_default_ = HAnimMotion;
|
|
|
1502
1524
|
Namespace_default().add ("HAnimMotion", "x_ite/Components/HAnim/HAnimMotion", HAnimMotion_default_);
|
|
1503
1525
|
/* harmony default export */ const HAnim_HAnimMotion = (HAnimMotion_default_);
|
|
1504
1526
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
1505
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.
|
|
1527
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0.3")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
1506
1528
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
1507
1529
|
;// CONCATENATED MODULE: ./src/x_ite/Components/HAnim/HAnimSegment.js
|
|
1508
1530
|
/*******************************************************************************
|
|
@@ -1576,9 +1598,9 @@ Object .defineProperties (HAnimSegment,
|
|
|
1576
1598
|
value: "HAnimSegment",
|
|
1577
1599
|
enumerable: true,
|
|
1578
1600
|
},
|
|
1579
|
-
|
|
1601
|
+
componentInfo:
|
|
1580
1602
|
{
|
|
1581
|
-
value: "HAnim",
|
|
1603
|
+
value: Object .freeze ({ name: "HAnim", level: 1 }),
|
|
1582
1604
|
enumerable: true,
|
|
1583
1605
|
},
|
|
1584
1606
|
containerField:
|
|
@@ -1588,7 +1610,7 @@ Object .defineProperties (HAnimSegment,
|
|
|
1588
1610
|
},
|
|
1589
1611
|
specificationRange:
|
|
1590
1612
|
{
|
|
1591
|
-
value: Object .freeze (
|
|
1613
|
+
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
1592
1614
|
enumerable: true,
|
|
1593
1615
|
},
|
|
1594
1616
|
fieldDefinitions:
|
|
@@ -1689,9 +1711,9 @@ Object .defineProperties (HAnimSite,
|
|
|
1689
1711
|
value: "HAnimSite",
|
|
1690
1712
|
enumerable: true,
|
|
1691
1713
|
},
|
|
1692
|
-
|
|
1714
|
+
componentInfo:
|
|
1693
1715
|
{
|
|
1694
|
-
value: "HAnim",
|
|
1716
|
+
value: Object .freeze ({ name: "HAnim", level: 1 }),
|
|
1695
1717
|
enumerable: true,
|
|
1696
1718
|
},
|
|
1697
1719
|
containerField:
|
|
@@ -1701,7 +1723,7 @@ Object .defineProperties (HAnimSite,
|
|
|
1701
1723
|
},
|
|
1702
1724
|
specificationRange:
|
|
1703
1725
|
{
|
|
1704
|
-
value: Object .freeze (
|
|
1726
|
+
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
1705
1727
|
enumerable: true,
|
|
1706
1728
|
},
|
|
1707
1729
|
fieldDefinitions:
|