x_ite 12.1.5 → 12.1.7
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 +4 -4
- 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/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 +2 -2
- package/dist/assets/components/LayoutComponent.min.js +2 -2
- package/dist/assets/components/NURBSComponent.js +4 -4
- package/dist/assets/components/NURBSComponent.min.js +2 -2
- package/dist/assets/components/ParticleSystemsComponent.js +10 -13
- 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 +2 -2
- package/dist/assets/components/ScriptingComponent.min.js +2 -2
- package/dist/assets/components/TextComponent.js +2 -2
- 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 +4365 -4365
- 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 +104 -78
- package/dist/x_ite.js +51874 -51978
- package/dist/x_ite.min.js +2 -2
- package/dist/x_ite.min.mjs +2 -2
- package/dist/x_ite.mjs +51753 -51857
- package/dist/x_ite.zip +0 -0
- package/package.json +3 -3
package/dist/x_ite.d.ts
CHANGED
|
@@ -64,23 +64,23 @@ declare namespace X3D
|
|
|
64
64
|
class X3DBrowser extends X3DObject
|
|
65
65
|
{
|
|
66
66
|
/**
|
|
67
|
-
* A browser-implementation specific string describing the browser. This property is read
|
|
67
|
+
* A browser-implementation specific string describing the browser. This property is read-only.
|
|
68
68
|
*/
|
|
69
69
|
readonly name: string;
|
|
70
70
|
/**
|
|
71
|
-
* A browser-implementation specific string describing the browser version. This property is read
|
|
71
|
+
* A browser-implementation specific string describing the browser version. This property is read-only.
|
|
72
72
|
*/
|
|
73
73
|
readonly version: string;
|
|
74
74
|
/**
|
|
75
|
-
* If provided, the URL to the entity that wrote this browser. This property is read
|
|
75
|
+
* If provided, the URL to the entity that wrote this browser. This property is read-only.
|
|
76
76
|
*/
|
|
77
77
|
readonly providerURL: string;
|
|
78
78
|
/**
|
|
79
|
-
* The current speed of the avatar in m/s. This property is read
|
|
79
|
+
* The current speed of the avatar in m/s. This property is read-only.
|
|
80
80
|
*/
|
|
81
81
|
readonly currentSpeed: number;
|
|
82
82
|
/**
|
|
83
|
-
* The current frame rate in frames per second. This property is read
|
|
83
|
+
* The current frame rate in frames per second. This property is read-only.
|
|
84
84
|
*/
|
|
85
85
|
readonly currentFrameRate: number;
|
|
86
86
|
/**
|
|
@@ -88,23 +88,23 @@ declare namespace X3D
|
|
|
88
88
|
*/
|
|
89
89
|
description: string;
|
|
90
90
|
/**
|
|
91
|
-
* Returns the list of all profiles that are supported by this browser. This property is read
|
|
91
|
+
* Returns the list of all profiles that are supported by this browser. This property is read-only.
|
|
92
92
|
*/
|
|
93
93
|
readonly supportedProfiles: ProfileInfoArray;
|
|
94
94
|
/**
|
|
95
|
-
* Returns a list of all components that are supported by this browser. This property is read
|
|
95
|
+
* Returns a list of all components that are supported by this browser. This property is read-only.
|
|
96
96
|
*/
|
|
97
97
|
readonly supportedComponents: ComponentInfoArray;
|
|
98
98
|
/**
|
|
99
|
-
* Returns a list of all concrete node classes that are supported by this browser. This property is read
|
|
99
|
+
* Returns a list of all concrete node classes that are supported by this browser. This property is read-only.
|
|
100
100
|
*/
|
|
101
101
|
readonly concreteNodes: ConcreteNodesArray;
|
|
102
102
|
/**
|
|
103
|
-
* Returns a list of all abstract node classes that are supported by this browser. This property is read
|
|
103
|
+
* Returns a list of all abstract node classes that are supported by this browser. This property is read-only.
|
|
104
104
|
*/
|
|
105
105
|
readonly abstractNodes: AbstractNodesArray;
|
|
106
106
|
/**
|
|
107
|
-
* Returns a list of all field type classes that are supported by this browser. This property is read
|
|
107
|
+
* Returns a list of all field type classes that are supported by this browser. This property is read-only.
|
|
108
108
|
*/
|
|
109
109
|
readonly fieldTypes: FieldTypesArray;
|
|
110
110
|
/**
|
|
@@ -112,27 +112,27 @@ declare namespace X3D
|
|
|
112
112
|
*/
|
|
113
113
|
baseURL: string;
|
|
114
114
|
/**
|
|
115
|
-
* The real type of this class is dependent on whether the user code is inside a prototype instance or not. If the user code is inside a prototype instance the property represent an X3DExecutionContext otherwise it represent an X3DScene. This property is read
|
|
115
|
+
* The real type of this class is dependent on whether the user code is inside a prototype instance or not. If the user code is inside a prototype instance the property represent an X3DExecutionContext otherwise it represent an X3DScene. This property is read-only.
|
|
116
116
|
*/
|
|
117
117
|
readonly currentScene: X3DScene;
|
|
118
118
|
/*
|
|
119
|
-
* Returns the active layer, if any. The active layer is the layer on which navigation takes place. This property is read
|
|
119
|
+
* Returns the active layer, if any. The active layer is the layer on which navigation takes place. This property is read-only.
|
|
120
120
|
*/
|
|
121
121
|
readonly activeLayer: X3DLayerNodeProxy | null;
|
|
122
122
|
/*
|
|
123
|
-
* Returns the bound NavigationInfo node in the active layer, if any. This property is read
|
|
123
|
+
* Returns the bound NavigationInfo node in the active layer, if any. This property is read-only.
|
|
124
124
|
*/
|
|
125
125
|
readonly activeNavigationInfo: NavigationInfoProxy | null;
|
|
126
126
|
/*
|
|
127
|
-
* Returns the bound X3DViewpointNode in the active layer, if any. This property is read
|
|
127
|
+
* Returns the bound X3DViewpointNode in the active layer, if any. This property is read-only.
|
|
128
128
|
*/
|
|
129
129
|
readonly activeViewpoint: X3DViewpointNodeProxy | null;
|
|
130
130
|
/**
|
|
131
|
-
* Returns a reference to the corresponding ContextMenu. This property is read
|
|
131
|
+
* Returns a reference to the corresponding ContextMenu. This property is read-only.
|
|
132
132
|
*/
|
|
133
133
|
readonly contextMenu: ContextMenu;
|
|
134
134
|
/**
|
|
135
|
-
* Returns a reference to the corresponding X3DCanvasElement. This property is read
|
|
135
|
+
* Returns a reference to the corresponding X3DCanvasElement. This property is read-only.
|
|
136
136
|
*/
|
|
137
137
|
readonly element: X3DCanvasElement;
|
|
138
138
|
/**
|
|
@@ -142,7 +142,7 @@ declare namespace X3D
|
|
|
142
142
|
/**
|
|
143
143
|
* The `getSupportedComponent` service returns a ComponentInfo object of the named component from the `supportedComponents` array. The parameter is the name of a component from which to fetch the declaration. The browser only returns a ComponentInfo object if it supports the named component. If it does not support the component, an error is thrown.
|
|
144
144
|
*/
|
|
145
|
-
getSupportedComponent (name
|
|
145
|
+
getSupportedComponent (name: string): ComponentInfo;
|
|
146
146
|
/**
|
|
147
147
|
* The `getProfile` service returns a ProfileInfo object of the named profile. The parameter is the name of a profile from which to fetch the declaration. The browser only returns a ProfileInfo object if it supports the named profile. If it does not support the named profile, an error is thrown.
|
|
148
148
|
*/
|
|
@@ -150,7 +150,7 @@ declare namespace X3D
|
|
|
150
150
|
/**
|
|
151
151
|
* The `getComponent` service returns a ComponentInfo object of the named component. The first parameter is the name of a component and the second the level from which to fetch the declaration. The browser only returns a ComponentInfo object if it supports the named component and the requested level. If it does not support the component at the level desired, an error is thrown. If level is omitted, it defaults to the highest supported level of this component.
|
|
152
152
|
*/
|
|
153
|
-
getComponent (name
|
|
153
|
+
getComponent (name: string, level?: number): ComponentInfo;
|
|
154
154
|
/**
|
|
155
155
|
* The `createScene` service creates a new empty scene that conforms to the given profile and component declarations. The Promise resolves when all components are loaded.
|
|
156
156
|
*/
|
|
@@ -495,7 +495,7 @@ declare namespace X3D
|
|
|
495
495
|
*/
|
|
496
496
|
rootNodes: MFNode;
|
|
497
497
|
/**
|
|
498
|
-
* A reference to the ExportedNodesArray object used by this execution context. This property is read
|
|
498
|
+
* A reference to the ExportedNodesArray object used by this execution context. This property is read-only.
|
|
499
499
|
*/
|
|
500
500
|
readonly exportedNodes: ExportedNodesArray;
|
|
501
501
|
|
|
@@ -598,41 +598,41 @@ declare namespace X3D
|
|
|
598
598
|
class X3DExecutionContext extends X3DObject
|
|
599
599
|
{
|
|
600
600
|
/**
|
|
601
|
-
* The string represent the basic specification version used by the parsed file in decimal format. For example, a scene conforming to this specification returns a value such as "4.0". This property is read
|
|
601
|
+
* The string represent the basic specification version used by the parsed file in decimal format. For example, a scene conforming to this specification returns a value such as "4.0". This property is read-only.
|
|
602
602
|
*/
|
|
603
603
|
readonly specificationVersion: string;
|
|
604
604
|
/**
|
|
605
|
-
* The encoding is represented as a string that describes the data encoding used. Valid values are "ASCII", "VRML", "XML", "BINARY", "SCRIPTED", "BIFS", "NONE". This property is read
|
|
605
|
+
* The encoding is represented as a string that describes the data encoding used. Valid values are "ASCII", "VRML", "XML", "BINARY", "SCRIPTED", "BIFS", "NONE". This property is read-only.
|
|
606
606
|
*
|
|
607
607
|
* Additional valid values are “GLTF”, “OBJ”, “STL”, “PLY”, “SVG”.
|
|
608
608
|
*/
|
|
609
609
|
readonly encoding: "ASCII" | "VRML" | "XML" | "JSON" | "BINARY" | "SCRIPTED" | "BIFS" | "NONE" | "GLTF" | "OBJ" | "STL" | "PLY" | "SVG";
|
|
610
610
|
/**
|
|
611
|
-
* A reference to the ProfileInfo object used by this execution context. A value of `null` implies profile `Full`. This property is read
|
|
611
|
+
* A reference to the ProfileInfo object used by this execution context. A value of `null` implies profile `Full`. This property is read-only.
|
|
612
612
|
*/
|
|
613
613
|
readonly profile: ProfileInfo | null;
|
|
614
614
|
/**
|
|
615
|
-
* A reference to the ComponentInfoArray object used by this execution context. This property is read
|
|
615
|
+
* A reference to the ComponentInfoArray object used by this execution context. This property is read-only.
|
|
616
616
|
*/
|
|
617
617
|
readonly components: ComponentInfoArray;
|
|
618
618
|
/**
|
|
619
|
-
* A string containing the URL of this execution context. This property is read
|
|
619
|
+
* A string containing the URL of this execution context. This property is read-only.
|
|
620
620
|
*/
|
|
621
621
|
readonly worldURL: string;
|
|
622
622
|
/**
|
|
623
|
-
* A string containing the URL against which relative URLs are resolved. This property is read
|
|
623
|
+
* A string containing the URL against which relative URLs are resolved. This property is read-only.
|
|
624
624
|
*/
|
|
625
625
|
readonly baseURL: string;
|
|
626
626
|
/**
|
|
627
|
-
* A reference to the UnitInfoArray object used by this execution context. This property is read
|
|
627
|
+
* A reference to the UnitInfoArray object used by this execution context. This property is read-only.
|
|
628
628
|
*/
|
|
629
629
|
readonly units: UnitInfoArray;
|
|
630
630
|
/**
|
|
631
|
-
* A reference to the NamedNodesArray object used by this execution context. This property is read
|
|
631
|
+
* A reference to the NamedNodesArray object used by this execution context. This property is read-only.
|
|
632
632
|
*/
|
|
633
633
|
readonly namedNodes: NamedNodesArray;
|
|
634
634
|
/**
|
|
635
|
-
* A reference to the ImportedNodesArray object used by this execution context. This property is read
|
|
635
|
+
* A reference to the ImportedNodesArray object used by this execution context. This property is read-only.
|
|
636
636
|
*/
|
|
637
637
|
readonly importedNodes: ImportedNodesArray;
|
|
638
638
|
/**
|
|
@@ -640,15 +640,15 @@ declare namespace X3D
|
|
|
640
640
|
*/
|
|
641
641
|
readonly rootNodes: MFNode;
|
|
642
642
|
/**
|
|
643
|
-
* A reference to the ProtoDeclarationArray object used by this execution context. This property is read
|
|
643
|
+
* A reference to the ProtoDeclarationArray object used by this execution context. This property is read-only.
|
|
644
644
|
*/
|
|
645
645
|
readonly protos: ProtoDeclarationArray;
|
|
646
646
|
/**
|
|
647
|
-
* A reference to the ExternProtoDeclarationArray object used by this execution context. This property is read
|
|
647
|
+
* A reference to the ExternProtoDeclarationArray object used by this execution context. This property is read-only.
|
|
648
648
|
*/
|
|
649
649
|
readonly externprotos: ExternProtoDeclarationArray;
|
|
650
650
|
/**
|
|
651
|
-
* A reference to the RouteArray object used by this execution context. This property is read
|
|
651
|
+
* A reference to the RouteArray object used by this execution context. This property is read-only.
|
|
652
652
|
*/
|
|
653
653
|
readonly routes: RouteArray;
|
|
654
654
|
|
|
@@ -717,11 +717,11 @@ declare namespace X3D
|
|
|
717
717
|
interface X3DConcreteNode extends X3DAbstractNode
|
|
718
718
|
{
|
|
719
719
|
/**
|
|
720
|
-
* The default container field name for this node. This property is read
|
|
720
|
+
* The default container field name for this node. This property is read-only.
|
|
721
721
|
*/
|
|
722
722
|
readonly containerField: string;
|
|
723
723
|
/**
|
|
724
|
-
* Returns an array with two strings defining the first version and last version where this node is specified. This property is read
|
|
724
|
+
* Returns an array with two strings defining the first version and last version where this node is specified. This property is read-only.
|
|
725
725
|
*/
|
|
726
726
|
readonly specificationRange:
|
|
727
727
|
{
|
|
@@ -745,11 +745,11 @@ declare namespace X3D
|
|
|
745
745
|
interface X3DAbstractNode
|
|
746
746
|
{
|
|
747
747
|
/**
|
|
748
|
-
* The node type name for this class. This property is read
|
|
748
|
+
* The node type name for this class. This property is read-only.
|
|
749
749
|
*/
|
|
750
750
|
readonly typeName: string;
|
|
751
751
|
/**
|
|
752
|
-
* Returns an object with two properties *name* and *level* which can be used to get a ComponentInfo object from the X3D browser. This property is read
|
|
752
|
+
* Returns an object with two properties *name* and *level* which can be used to get a ComponentInfo object from the X3D browser. This property is read-only.
|
|
753
753
|
*/
|
|
754
754
|
readonly componentInfo:
|
|
755
755
|
{
|
|
@@ -774,19 +774,19 @@ declare namespace X3D
|
|
|
774
774
|
class ProfileInfo extends X3DObject
|
|
775
775
|
{
|
|
776
776
|
/**
|
|
777
|
-
* A string of the formal name of this profile. This property is read
|
|
777
|
+
* A string of the formal name of this profile. This property is read-only.
|
|
778
778
|
*/
|
|
779
779
|
readonly name: string;
|
|
780
780
|
/**
|
|
781
|
-
* A generic, freeform title string provided by the browser manufacturer. This property is read
|
|
781
|
+
* A generic, freeform title string provided by the browser manufacturer. This property is read-only.
|
|
782
782
|
*/
|
|
783
783
|
readonly title: string;
|
|
784
784
|
/**
|
|
785
|
-
* If provided, the URL to the entity that wrote this component. This assumes that extensions to the browser may not necessarily be provided by the browser writer's themselves. This property is read
|
|
785
|
+
* If provided, the URL to the entity that wrote this component. This assumes that extensions to the browser may not necessarily be provided by the browser writer's themselves. This property is read-only.
|
|
786
786
|
*/
|
|
787
787
|
readonly providerURL: string;
|
|
788
788
|
/**
|
|
789
|
-
* An ComponentInfoArray object of the ComponentInfo object instances that make up this profile. This property is read
|
|
789
|
+
* An ComponentInfoArray object of the ComponentInfo object instances that make up this profile. This property is read-only.
|
|
790
790
|
*/
|
|
791
791
|
readonly components: ComponentInfoArray
|
|
792
792
|
}
|
|
@@ -802,19 +802,19 @@ declare namespace X3D
|
|
|
802
802
|
class ComponentInfo extends X3DObject
|
|
803
803
|
{
|
|
804
804
|
/**
|
|
805
|
-
* A string of the formal name of this profile. This property is read
|
|
805
|
+
* A string of the formal name of this profile. This property is read-only.
|
|
806
806
|
*/
|
|
807
807
|
readonly name: string;
|
|
808
808
|
/**
|
|
809
|
-
* A number of the level of support of this instance. This property is read
|
|
809
|
+
* A number of the level of support of this instance. This property is read-only.
|
|
810
810
|
*/
|
|
811
811
|
readonly level: number;
|
|
812
812
|
/**
|
|
813
|
-
* A generic, freeform title string provided by the browser manufacturer. This property is read
|
|
813
|
+
* A generic, freeform title string provided by the browser manufacturer. This property is read-only.
|
|
814
814
|
*/
|
|
815
815
|
readonly title: string;
|
|
816
816
|
/**
|
|
817
|
-
* If provided, the URL to the entity that wrote this component. This assumes that extensions to the browser may not necessarily be provided by the browser writer's themselves. This property is read
|
|
817
|
+
* If provided, the URL to the entity that wrote this component. This assumes that extensions to the browser may not necessarily be provided by the browser writer's themselves. This property is read-only.
|
|
818
818
|
*/
|
|
819
819
|
readonly providerURL: string;
|
|
820
820
|
}
|
|
@@ -830,15 +830,15 @@ declare namespace X3D
|
|
|
830
830
|
class UnitInfo extends X3DObject
|
|
831
831
|
{
|
|
832
832
|
/**
|
|
833
|
-
* The category of default unit being modified as defined in the table. This property is read
|
|
833
|
+
* The category of default unit being modified as defined in the table. This property is read-only.
|
|
834
834
|
*/
|
|
835
835
|
readonly category: string;
|
|
836
836
|
/**
|
|
837
|
-
* A string of the name assigned to the new default unit. This property is read
|
|
837
|
+
* A string of the name assigned to the new default unit. This property is read-only.
|
|
838
838
|
*/
|
|
839
839
|
readonly name: string;
|
|
840
840
|
/**
|
|
841
|
-
* The double-precision number needed to convert from the new default unit to the initial default unit. This property is read
|
|
841
|
+
* The double-precision number needed to convert from the new default unit to the initial default unit. This property is read-only.
|
|
842
842
|
*/
|
|
843
843
|
readonly conversionFactor: number;
|
|
844
844
|
}
|
|
@@ -859,19 +859,19 @@ declare namespace X3D
|
|
|
859
859
|
class X3DImportedNode extends X3DObject
|
|
860
860
|
{
|
|
861
861
|
/**
|
|
862
|
-
* The SFNode object of the Inline node. This property is read
|
|
862
|
+
* The SFNode object of the Inline node. This property is read-only.
|
|
863
863
|
*/
|
|
864
864
|
readonly inlineNode: SFNode;
|
|
865
865
|
/**
|
|
866
|
-
* A string of the exported name. This property is read
|
|
866
|
+
* A string of the exported name. This property is read-only.
|
|
867
867
|
*/
|
|
868
868
|
readonly exportedName: string;
|
|
869
869
|
/**
|
|
870
|
-
* The SFNode object of the exported node. This property is read
|
|
870
|
+
* The SFNode object of the exported node. This property is read-only.
|
|
871
871
|
*/
|
|
872
872
|
readonly exportedNode: SFNode;
|
|
873
873
|
/**
|
|
874
|
-
* A string of the imported name. This property is read
|
|
874
|
+
* A string of the imported name. This property is read-only.
|
|
875
875
|
*/
|
|
876
876
|
readonly importedName: string;
|
|
877
877
|
}
|
|
@@ -887,11 +887,11 @@ declare namespace X3D
|
|
|
887
887
|
class X3DExportedNode extends X3DObject
|
|
888
888
|
{
|
|
889
889
|
/**
|
|
890
|
-
* A string of the exported name. This property is read
|
|
890
|
+
* A string of the exported name. This property is read-only.
|
|
891
891
|
*/
|
|
892
892
|
readonly exportedName: string;
|
|
893
893
|
/**
|
|
894
|
-
* The SFNode object of the corresponding node. This property is read
|
|
894
|
+
* The SFNode object of the corresponding node. This property is read-only.
|
|
895
895
|
*/
|
|
896
896
|
readonly localNode: SFNode;
|
|
897
897
|
}
|
|
@@ -907,25 +907,25 @@ declare namespace X3D
|
|
|
907
907
|
class X3DProtoDeclaration extends X3DObject
|
|
908
908
|
{
|
|
909
909
|
/**
|
|
910
|
-
* A string of the declared name of this prototype. This property is read
|
|
910
|
+
* A string of the declared name of this prototype. This property is read-only.
|
|
911
911
|
*/
|
|
912
912
|
readonly name: string;
|
|
913
913
|
/**
|
|
914
|
-
* A reference to FieldDefinitionArray of all the fields defined for this prototype. This property is read
|
|
914
|
+
* A reference to FieldDefinitionArray of all the fields defined for this prototype. This property is read-only.
|
|
915
915
|
*/
|
|
916
916
|
readonly fields: FieldDefinitionArray;
|
|
917
917
|
/**
|
|
918
|
-
* Always has the value of false. This property is read
|
|
918
|
+
* Always has the value of false. This property is read-only.
|
|
919
919
|
*/
|
|
920
920
|
readonly isExternProto: false;
|
|
921
921
|
/**
|
|
922
|
-
* Short description or purpose of the prototype.
|
|
922
|
+
* Short description or purpose of the prototype.
|
|
923
923
|
*/
|
|
924
|
-
|
|
924
|
+
appInfo: string;
|
|
925
925
|
/**
|
|
926
|
-
* A string containing the documentation of this prototype.
|
|
926
|
+
* A string containing the documentation of this prototype.
|
|
927
927
|
*/
|
|
928
|
-
|
|
928
|
+
documentation: string;
|
|
929
929
|
|
|
930
930
|
/**
|
|
931
931
|
* Creates a new default instance of the prototype.
|
|
@@ -962,31 +962,31 @@ declare namespace X3D
|
|
|
962
962
|
class X3DExternProtoDeclaration extends X3DObject
|
|
963
963
|
{
|
|
964
964
|
/**
|
|
965
|
-
* A string of the declared name of this extern prototype. This property is read
|
|
965
|
+
* A string of the declared name of this extern prototype. This property is read-only.
|
|
966
966
|
*/
|
|
967
967
|
readonly name: string;
|
|
968
968
|
/**
|
|
969
|
-
* A reference to FieldDefinitionArray of all the fields defined for this extern prototype. This property is read
|
|
969
|
+
* A reference to FieldDefinitionArray of all the fields defined for this extern prototype. This property is read-only.
|
|
970
970
|
*/
|
|
971
971
|
readonly fields: FieldDefinitionArray;
|
|
972
972
|
/**
|
|
973
|
-
* A MFString array of all the URI's defined for this extern prototype. This property is read
|
|
973
|
+
* A MFString array of all the URI's defined for this extern prototype. This property is read-only.
|
|
974
974
|
*/
|
|
975
975
|
readonly urls: MFString;
|
|
976
976
|
/**
|
|
977
|
-
* Always has the value of true. This property is read
|
|
977
|
+
* Always has the value of true. This property is read-only.
|
|
978
978
|
*/
|
|
979
979
|
readonly isExternProto: true;
|
|
980
980
|
/**
|
|
981
|
-
* Short description or purpose of the extern prototype.
|
|
981
|
+
* Short description or purpose of the extern prototype.
|
|
982
982
|
*/
|
|
983
|
-
|
|
983
|
+
appInfo: string;
|
|
984
984
|
/**
|
|
985
|
-
* A string containing the documentation of this extern prototype.
|
|
985
|
+
* A string containing the documentation of this extern prototype.
|
|
986
986
|
*/
|
|
987
|
-
|
|
987
|
+
documentation: string;
|
|
988
988
|
/**
|
|
989
|
-
* The value is one of the *_STATE* properties defined in the X3DConstants object. This property is read
|
|
989
|
+
* The value is one of the *_STATE* properties defined in the X3DConstants object. This property is read-only.
|
|
990
990
|
*/
|
|
991
991
|
readonly loadState: number;
|
|
992
992
|
|
|
@@ -1051,6 +1051,32 @@ declare namespace X3D
|
|
|
1051
1051
|
[Symbol .iterator](): IterableIterator <T>;
|
|
1052
1052
|
readonly [index: number]: T;
|
|
1053
1053
|
readonly length: number;
|
|
1054
|
+
|
|
1055
|
+
at (index: number): T;
|
|
1056
|
+
entries (): IterableIterator <[number, T]>;
|
|
1057
|
+
every (predicate: ArrayTest <T>): boolean;
|
|
1058
|
+
fill (val: T, start?: number, end?: number): this;
|
|
1059
|
+
filter (predicate: ArrayTest <T>): this;
|
|
1060
|
+
find (test: ArrayTest <T>): T | undefined;
|
|
1061
|
+
findIndex (test: ArrayTest <T>): number;
|
|
1062
|
+
findLast (test: ArrayTest <T>): T | undefined;
|
|
1063
|
+
findLastIndex (test: ArrayTest <T>): number;
|
|
1064
|
+
forEach (action: ArrayAction <T>): void;
|
|
1065
|
+
includes (needle: T): boolean;
|
|
1066
|
+
indexOf (needle: T): number;
|
|
1067
|
+
join (separator?: string): string;
|
|
1068
|
+
keys (): number [];
|
|
1069
|
+
lastIndexOf (needle: T): number;
|
|
1070
|
+
map <U> (f: (element: T, i: number, array: this) => U): this;
|
|
1071
|
+
reduce <U> (f: ArrayReducer <T, U>, initial?: U): U;
|
|
1072
|
+
reduceRight <U> (f: ArrayReducer <T, U>, initial?: U): U;
|
|
1073
|
+
slice (start?: number, end?: number): this;
|
|
1074
|
+
some (predicate: ArrayTest <T>): boolean;
|
|
1075
|
+
toReversed (): this;
|
|
1076
|
+
toSorted (comparator?: (a: T, b: T) => number): this;
|
|
1077
|
+
toSpliced (start: number, deleteCount: number, ... items: T []): this;
|
|
1078
|
+
values (): IterableIterator <T>;
|
|
1079
|
+
with (index: number, value: T): this;
|
|
1054
1080
|
}
|
|
1055
1081
|
|
|
1056
1082
|
/**
|
|
@@ -1514,29 +1540,29 @@ declare namespace X3D
|
|
|
1514
1540
|
class X3DFieldDefinition extends X3DObject
|
|
1515
1541
|
{
|
|
1516
1542
|
/**
|
|
1517
|
-
* Value from the X3DConstants object describing the accessType (e.g., "X3DConstants.inputOnly"). This property is read
|
|
1543
|
+
* Value from the X3DConstants object describing the accessType (e.g., "X3DConstants.inputOnly"). This property is read-only.
|
|
1518
1544
|
*/
|
|
1519
1545
|
readonly accessType: number;
|
|
1520
1546
|
/**
|
|
1521
|
-
* Value from X3DConstants object describing the field's data type (e.g., "X3DConstants.SFBool"). This property is read
|
|
1547
|
+
* Value from X3DConstants object describing the field's data type (e.g., "X3DConstants.SFBool"). This property is read-only.
|
|
1522
1548
|
*/
|
|
1523
1549
|
readonly dataType: number;
|
|
1524
1550
|
/**
|
|
1525
|
-
* A string of the field name (e.g., "children"). This property is read
|
|
1551
|
+
* A string of the field name (e.g., "children"). This property is read-only.
|
|
1526
1552
|
*/
|
|
1527
1553
|
readonly name: string;
|
|
1528
1554
|
/**
|
|
1529
|
-
* The default value for this field. This property is read
|
|
1555
|
+
* The default value for this field. This property is read-only.
|
|
1530
1556
|
*/
|
|
1531
1557
|
readonly value: boolean | number | string | null | X3DField;
|
|
1532
1558
|
/**
|
|
1533
|
-
* Short description or purpose of the field.
|
|
1559
|
+
* Short description or purpose of the field.
|
|
1534
1560
|
*/
|
|
1535
|
-
|
|
1561
|
+
appInfo: string;
|
|
1536
1562
|
/**
|
|
1537
|
-
* A string containing the documentation of this field.
|
|
1563
|
+
* A string containing the documentation of this field.
|
|
1538
1564
|
*/
|
|
1539
|
-
|
|
1565
|
+
documentation: string;
|
|
1540
1566
|
}
|
|
1541
1567
|
|
|
1542
1568
|
/**
|
|
@@ -2657,10 +2683,10 @@ declare namespace X3D
|
|
|
2657
2683
|
slice (start?: number, end?: number): this;
|
|
2658
2684
|
some (predicate: ArrayTest <T>): boolean;
|
|
2659
2685
|
sort (comparator?: (a: T, b: T) => number): this;
|
|
2660
|
-
splice (start: number, deleteCount: number, ... items: T [])
|
|
2686
|
+
splice (start: number, deleteCount: number, ... items: T []): this;
|
|
2661
2687
|
toReversed (): this;
|
|
2662
2688
|
toSorted (comparator?: (a: T, b: T) => number): this;
|
|
2663
|
-
toSpliced (start: number, deleteCount: number, ... items: T [])
|
|
2689
|
+
toSpliced (start: number, deleteCount: number, ... items: T []): this;
|
|
2664
2690
|
unshift (... elements: T []): number;
|
|
2665
2691
|
values (): IterableIterator <T>;
|
|
2666
2692
|
with (index: number, value: T): this;
|