@xeokit/xeokit-sdk 2.2.5-beta-2 → 2.2.5-beta-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/xeokit-sdk.cjs.js +16 -16
  2. package/dist/xeokit-sdk.es.js +16 -16
  3. package/package.json +7 -4
  4. package/types/extras/ContextMenu/ContextMenu.d.ts +8 -8
  5. package/types/plugins/AngleMeasurementsPlugin/AngleMeasurement.d.ts +1 -1
  6. package/types/plugins/AngleMeasurementsPlugin/AngleMeasurementsControl.d.ts +26 -1
  7. package/types/plugins/AngleMeasurementsPlugin/AngleMeasurementsPlugin.d.ts +76 -62
  8. package/types/plugins/AnnotationsPlugin/Annotation.d.ts +11 -10
  9. package/types/plugins/AnnotationsPlugin/AnnotationsPlugin.d.ts +32 -18
  10. package/types/plugins/AnnotationsPlugin/index.d.ts +1 -0
  11. package/types/plugins/AxisGizmoPlugin/AxisGizmoPlugin.d.ts +1 -1
  12. package/types/plugins/BCFViewpointsPlugin/BCFViewpointsPlugin.d.ts +10 -10
  13. package/types/plugins/CityJSONLoaderPlugin/CityJSONLoaderPlugin.d.ts +2 -2
  14. package/types/plugins/DistanceMeasurementsPlugin/DistanceMeasurement.d.ts +6 -6
  15. package/types/plugins/DistanceMeasurementsPlugin/DistanceMeasurementsControl.d.ts +26 -1
  16. package/types/plugins/DistanceMeasurementsPlugin/DistanceMeasurementsPlugin.d.ts +22 -7
  17. package/types/plugins/FastNavPlugin/FastNavPlugin.d.ts +9 -9
  18. package/types/plugins/GLTFLoaderPlugin/GLTFLoaderPlugin.d.ts +8 -8
  19. package/types/plugins/LASLoaderPlugin/LASLoaderPlugin.d.ts +4 -4
  20. package/types/plugins/NavCubePlugin/NavCubePlugin.d.ts +6 -6
  21. package/types/plugins/OBJLoaderPlugin/OBJLoaderPlugin.d.ts +2 -2
  22. package/types/plugins/STLLoaderPlugin/STLLoaderPlugin.d.ts +2 -2
  23. package/types/plugins/STLLoaderPlugin/index.d.ts +0 -1
  24. package/types/plugins/SectionPlanesPlugin/SectionPlanesPlugin.d.ts +4 -4
  25. package/types/plugins/SkyboxesPlugin/SkyboxesPlugin.d.ts +1 -1
  26. package/types/plugins/StoreyViewsPlugin/StoreyViewsPlugin.d.ts +156 -149
  27. package/types/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +20 -6
  28. package/types/plugins/ViewCullPlugin/ViewCullPlugin.d.ts +2 -2
  29. package/types/plugins/WebIFCLoaderPlugin/WebIFCLoaderPlugin.d.ts +16 -16
  30. package/types/plugins/XKTLoaderPlugin/XKTLoaderPlugin.d.ts +20 -20
  31. package/types/plugins/XML3DLoaderPlugin/XML3DLoaderPlugin.d.ts +4 -4
  32. package/types/viewer/Plugin.d.ts +6 -6
  33. package/types/viewer/Viewer.d.ts +13 -13
  34. package/types/viewer/localization/LocaleService.d.ts +160 -153
  35. package/types/viewer/metadata/MetaModel.d.ts +2 -2
  36. package/types/viewer/metadata/MetaObject.d.ts +5 -5
  37. package/types/viewer/metadata/MetaScene.d.ts +11 -11
  38. package/types/viewer/metadata/index.d.ts +1 -1
  39. package/types/viewer/scene/CameraControl/CameraControl.d.ts +27 -19
  40. package/types/viewer/scene/Component.d.ts +6 -6
  41. package/types/viewer/scene/Entity.d.ts +29 -29
  42. package/types/viewer/scene/PerformanceModel/PerformanceModel.d.ts +45 -28
  43. package/types/viewer/scene/PerformanceModel/PerformanceNode.d.ts +26 -26
  44. package/types/viewer/scene/camera/Camera.d.ts +28 -28
  45. package/types/viewer/scene/camera/CameraFlightAnimation.d.ts +19 -19
  46. package/types/viewer/scene/camera/CustomProjection.d.ts +5 -5
  47. package/types/viewer/scene/camera/Frustum.d.ts +15 -15
  48. package/types/viewer/scene/camera/Ortho.d.ts +5 -5
  49. package/types/viewer/scene/camera/Perspective.d.ts +5 -5
  50. package/types/viewer/scene/index.d.ts +2 -1
  51. package/types/viewer/scene/marker/Marker.d.ts +15 -15
  52. package/types/viewer/scene/materials/EmphasisMaterial.d.ts +3 -3
  53. package/types/viewer/scene/materials/Fresnel.d.ts +2 -3
  54. package/types/viewer/scene/materials/LinesMaterial.d.ts +1 -1
  55. package/types/viewer/scene/materials/PhongMaterial.d.ts +26 -26
  56. package/types/viewer/scene/materials/PointsMaterial.d.ts +14 -14
  57. package/types/viewer/scene/materials/Texture.d.ts +14 -15
  58. package/types/viewer/scene/materials/index.d.ts +1 -0
  59. package/types/viewer/scene/math/math.d.ts +28 -28
  60. package/types/viewer/scene/mesh/Mesh.d.ts +786 -0
  61. package/types/viewer/scene/mesh/index.d.ts +1 -0
  62. package/types/viewer/scene/nodes/Node.d.ts +664 -0
  63. package/types/viewer/scene/nodes/index.d.ts +1 -0
  64. package/types/viewer/scene/scene/Scene.d.ts +155 -111
  65. package/types/viewer/scene/sectionPlane/SectionPlane.d.ts +3 -3
  66. package/types/viewer/scene/viewport/Viewport.d.ts +2 -2
  67. package/types/viewer/scene/webgl/PickResult.d.ts +2 -2
@@ -5,7 +5,7 @@ import { Component } from "../Component";
5
5
  */
6
6
  export declare class CameraFlightAnimation extends Component {
7
7
  /**
8
- * Sets the flight duration, in seconds, when calling {@link CameraFlightAnimation#flyTo}.
8
+ * Sets the flight duration, in seconds, when calling {@link CameraFlightAnimation.flyTo}.
9
9
  *
10
10
  * Stops any flight currently in progress.
11
11
  *
@@ -16,7 +16,7 @@ export declare class CameraFlightAnimation extends Component {
16
16
  set duration(arg: number);
17
17
 
18
18
  /**
19
- * Gets the flight duration, in seconds, when calling {@link CameraFlightAnimation#flyTo}.
19
+ * Gets the flight duration, in seconds, when calling {@link CameraFlightAnimation.flyTo}.
20
20
  *
21
21
  * default value is ````0.5````.
22
22
  *
@@ -26,7 +26,7 @@ export declare class CameraFlightAnimation extends Component {
26
26
 
27
27
  /**
28
28
  * Sets if, when CameraFlightAnimation is flying to a boundary, it will always adjust the distance between the
29
- * {@link Camera#eye} and {@link Camera#look} so as to ensure that the target boundary is always filling the view volume.
29
+ * {@link Camera.eye} and {@link Camera.look} so as to ensure that the target boundary is always filling the view volume.
30
30
  *
31
31
  * When false, the eye will remain at its current distance from the look position.
32
32
  *
@@ -38,7 +38,7 @@ export declare class CameraFlightAnimation extends Component {
38
38
 
39
39
  /**
40
40
  * Gets if, when CameraFlightAnimation is flying to a boundary, it will always adjust the distance between the
41
- * {@link Camera#eye} and {@link Camera#look} so as to ensure that the target boundary is always filling the view volume.
41
+ * {@link Camera.eye} and {@link Camera.look} so as to ensure that the target boundary is always filling the view volume.
42
42
  *
43
43
  * When false, the eye will remain at its current distance from the look position.
44
44
  *
@@ -49,8 +49,8 @@ export declare class CameraFlightAnimation extends Component {
49
49
  get fit(): boolean;
50
50
 
51
51
  /**
52
- * Sets how much of the perspective field-of-view, in degrees, that a target {@link Entity#aabb} should
53
- * fill the canvas when calling {@link CameraFlightAnimation#flyTo} or {@link CameraFlightAnimation#jumpTo}.
52
+ * Sets how much of the perspective field-of-view, in degrees, that a target {@link Entity.aabb} should
53
+ * fill the canvas when calling {@link CameraFlightAnimation.flyTo} or {@link CameraFlightAnimation.jumpTo}.
54
54
  *
55
55
  * Default value is ````45````.
56
56
  *
@@ -59,8 +59,8 @@ export declare class CameraFlightAnimation extends Component {
59
59
  set fitFOV(arg: number);
60
60
 
61
61
  /**
62
- * Gets how much of the perspective field-of-view, in degrees, that a target {@link Entity#aabb} should
63
- * fill the canvas when calling {@link CameraFlightAnimation#flyTo} or {@link CameraFlightAnimation#jumpTo}.
62
+ * Gets how much of the perspective field-of-view, in degrees, that a target {@link Entity.aabb} should
63
+ * fill the canvas when calling {@link CameraFlightAnimation.flyTo} or {@link CameraFlightAnimation.jumpTo}.
64
64
  *
65
65
  * Default value is ````45````.
66
66
  *
@@ -70,7 +70,7 @@ export declare class CameraFlightAnimation extends Component {
70
70
 
71
71
  /**
72
72
  * Sets if this CameraFlightAnimation to point the {@link Camera}
73
- * in the direction that it is travelling when flying to a target after calling {@link CameraFlightAnimation#flyTo}.
73
+ * in the direction that it is travelling when flying to a target after calling {@link CameraFlightAnimation.flyTo}.
74
74
  *
75
75
  * Default value is ````true````.
76
76
  *
@@ -80,7 +80,7 @@ export declare class CameraFlightAnimation extends Component {
80
80
 
81
81
  /**
82
82
  * Gets if this CameraFlightAnimation points the {@link Camera}
83
- * in the direction that it is travelling when flying to a target after calling {@link CameraFlightAnimation#flyTo}.
83
+ * in the direction that it is travelling when flying to a target after calling {@link CameraFlightAnimation.flyTo}.
84
84
  *
85
85
  * Default value is ````true````.
86
86
  *
@@ -96,19 +96,19 @@ export declare class CameraFlightAnimation extends Component {
96
96
  *
97
97
  * @param {Object|Component} [params=Scene] Either a parameters object or a {@link Component} subtype that has
98
98
  * an AABB. Defaults to the {@link Scene}, which causes the {@link Camera} to fit the Scene in view.
99
- * @param {Number} [params.arc=0] Factor in range ````[0..1]```` indicating how much the {@link Camera#eye} position
100
- * will swing away from its {@link Camera#look} position as it flies to the target.
99
+ * @param {Number} [params.arc=0] Factor in range ````[0..1]```` indicating how much the {@link Camera.eye} position
100
+ * will swing away from its {@link Camera.look} position as it flies to the target.
101
101
  * @param {Number|String|Component} [params.component] ID or instance of a component to fly to. Defaults to the entire {@link Scene}.
102
102
  * @param {Number[]} [params.aabb] World-space axis-aligned bounding box (AABB) target to fly to.
103
103
  * @param {Number[]} [params.eye] Position to fly the eye position to.
104
104
  * @param {Number[]} [params.look] Position to fly the look position to.
105
105
  * @param {Number[]} [params.up] Position to fly the up vector to.
106
106
  * @param {String} [params.projection] Projection type to transition into as we fly. Can be any of the values of {@link Camera.projection}.
107
- * @param {Boolean} [params.fit=true] Whether to fit the target to the view volume. Overrides {@link CameraFlightAnimation#fit}.
107
+ * @param {Boolean} [params.fit=true] Whether to fit the target to the view volume. Overrides {@link CameraFlightAnimation.fit}.
108
108
  * @param {Number} [params.fitFOV] How much of field-of-view, in degrees, that a target {@link Entity} or its AABB should
109
- * fill the canvas on arrival. Overrides {@link CameraFlightAnimation#fitFOV}.
110
- * @param {Number} [params.duration] Flight duration in seconds. Overrides {@link CameraFlightAnimation#duration}.
111
- * @param {Number} [params.orthoScale] Animate the Camera's orthographic scale to this target value. See {@link Ortho#scale}.
109
+ * fill the canvas on arrival. Overrides {@link CameraFlightAnimation.fitFOV}.
110
+ * @param {Number} [params.duration] Flight duration in seconds. Overrides {@link CameraFlightAnimation.duration}.
111
+ * @param {Number} [params.orthoScale] Animate the Camera's orthographic scale to this target value. See {@link Ortho.scale}.
112
112
  * @param {Function} [callback] Callback fired on arrival.
113
113
  * @param {Object} [scope] Optional scope for callback.
114
114
  */
@@ -133,15 +133,15 @@ export declare class CameraFlightAnimation extends Component {
133
133
  * * When the target is an explicit {@link Camera} position, given as ````eye````, ````look```` and ````up```` vectors, then this CameraFlightAnimation will jump the {@link Camera} to that target.
134
134
  *
135
135
  * @param {*|Component} params Either a parameters object or a {@link Component} subtype that has a World-space AABB.
136
- * @param {Number} [params.arc=0] Factor in range [0..1] indicating how much the {@link Camera#eye} will swing away from its {@link Camera#look} as it flies to the target.
136
+ * @param {Number} [params.arc=0] Factor in range [0..1] indicating how much the {@link Camera.eye} will swing away from its {@link Camera.look} as it flies to the target.
137
137
  * @param {Number|String|Component} [params.component] ID or instance of a component to fly to.
138
138
  * @param {Number[]} [params.aabb] World-space axis-aligned bounding box (AABB) target to fly to.
139
139
  * @param {Number[]} [params.eye] Position to fly the eye position to.
140
140
  * @param {Number[]} [params.look] Position to fly the look position to.
141
141
  * @param {Number[]} [params.up] Position to fly the up vector to.
142
142
  * @param {String} [params.projection] Projection type to transition into. Can be any of the values of {@link Camera.projection}.
143
- * @param {Number} [params.fitFOV] How much of field-of-view, in degrees, that a target {@link Entity} or its AABB should fill the canvas on arrival. Overrides {@link CameraFlightAnimation#fitFOV}.
144
- * @param {Boolean} [params.fit] Whether to fit the target to the view volume. Overrides {@link CameraFlightAnimation#fit}.
143
+ * @param {Number} [params.fitFOV] How much of field-of-view, in degrees, that a target {@link Entity} or its AABB should fill the canvas on arrival. Overrides {@link CameraFlightAnimation.fitFOV}.
144
+ * @param {Boolean} [params.fit] Whether to fit the target to the view volume. Overrides {@link CameraFlightAnimation.fit}.
145
145
  */
146
146
  jumpTo(params: {
147
147
  arc?: number;
@@ -1,5 +1,5 @@
1
1
  import { Component } from "../Component";
2
- import { Camera } from "../Camera";
2
+ import { Camera } from "./Camera";
3
3
 
4
4
  /**
5
5
  * Defines a custom projection for a {@link Camera} as a custom 4x4 matrix..
@@ -31,16 +31,16 @@ export declare class CustomProjection extends Component {
31
31
  get matrix(): number[];
32
32
 
33
33
  /**
34
- * Gets the inverse of {@link CustomProjection#matrix}.
34
+ * Gets the inverse of {@link CustomProjection.matrix}.
35
35
  *
36
- * @returns {Number[]} The inverse of {@link CustomProjection#matrix}.
36
+ * @returns {Number[]} The inverse of {@link CustomProjection.matrix}.
37
37
  */
38
38
  get inverseMatrix(): number[];
39
39
 
40
40
  /**
41
- * Gets the transpose of {@link CustomProjection#matrix}.
41
+ * Gets the transpose of {@link CustomProjection.matrix}.
42
42
  *
43
- * @returns {Number[]} The transpose of {@link CustomProjection#matrix}.
43
+ * @returns {Number[]} The transpose of {@link CustomProjection.matrix}.
44
44
  */
45
45
  get transposedMatrix(): number[];
46
46
 
@@ -1,5 +1,5 @@
1
1
  import { Component } from "../Component";
2
- import { Camera } from "../Camera";
2
+ import { Camera } from "./Camera";
3
3
 
4
4
  /**
5
5
  * Defines its {@link Camera}'s perspective projection as a frustum-shaped view volume.
@@ -17,7 +17,7 @@ export declare class Frustum extends Component {
17
17
  /**
18
18
  * Sets the position of the Frustum's left plane on the View-space X-axis.
19
19
  *
20
- * Fires a {@link Frustum#left:emits} emits on change.
20
+ * Fires a {@link Frustum.left:emits} emits on change.
21
21
  *
22
22
  * @param {Number} value New left frustum plane position.
23
23
  */
@@ -33,7 +33,7 @@ export declare class Frustum extends Component {
33
33
  /**
34
34
  * Sets the position of the Frustum's right plane on the View-space X-axis.
35
35
  *
36
- * Fires a {@link Frustum#right:emits} emits on change.
36
+ * Fires a {@link Frustum.right:emits} emits on change.
37
37
  *
38
38
  * @param {Number} value New right frustum plane position.
39
39
  */
@@ -42,7 +42,7 @@ export declare class Frustum extends Component {
42
42
  /**
43
43
  * Gets the position of the Frustum's right plane on the View-space X-axis.
44
44
  *
45
- * Fires a {@link Frustum#right:emits} emits on change.
45
+ * Fires a {@link Frustum.right:emits} emits on change.
46
46
  *
47
47
  * @return {Number} Right frustum plane position.
48
48
  */
@@ -51,7 +51,7 @@ export declare class Frustum extends Component {
51
51
  /**
52
52
  * Sets the position of the Frustum's bottom plane on the View-space Y-axis.
53
53
  *
54
- * Fires a {@link Frustum#bottom:emits} emits on change.
54
+ * Fires a {@link Frustum.bottom:emits} emits on change.
55
55
  *
56
56
  * @emits {"bottom"} event with the value of this property whenever it changes.
57
57
  *
@@ -62,7 +62,7 @@ export declare class Frustum extends Component {
62
62
  /**
63
63
  * Gets the position of the Frustum's bottom plane on the View-space Y-axis.
64
64
  *
65
- * Fires a {@link Frustum#bottom:emits} emits on change.
65
+ * Fires a {@link Frustum.bottom:emits} emits on change.
66
66
  *
67
67
  * @return {Number} Bottom frustum plane position.
68
68
  */
@@ -71,7 +71,7 @@ export declare class Frustum extends Component {
71
71
  /**
72
72
  * Sets the position of the Frustum's top plane on the View-space Y-axis.
73
73
  *
74
- * Fires a {@link Frustum#top:emits} emits on change.
74
+ * Fires a {@link Frustum.top:emits} emits on change.
75
75
  *
76
76
  * @param {Number} value New top frustum plane position.
77
77
  */
@@ -80,7 +80,7 @@ export declare class Frustum extends Component {
80
80
  /**
81
81
  * Gets the position of the Frustum's top plane on the View-space Y-axis.
82
82
  *
83
- * Fires a {@link Frustum#top:emits} emits on change.
83
+ * Fires a {@link Frustum.top:emits} emits on change.
84
84
  *
85
85
  * @return {Number} Top frustum plane position.
86
86
  */
@@ -89,7 +89,7 @@ export declare class Frustum extends Component {
89
89
  /**
90
90
  * Sets the position of the Frustum's near plane on the positive View-space Z-axis.
91
91
  *
92
- * Fires a {@link Frustum#near:emits} emits on change.
92
+ * Fires a {@link Frustum.near:emits} emits on change.
93
93
  *
94
94
  * Default value is ````0.1````.
95
95
  *
@@ -100,7 +100,7 @@ export declare class Frustum extends Component {
100
100
  /**
101
101
  * Gets the position of the Frustum's near plane on the positive View-space Z-axis.
102
102
  *
103
- * Fires a {@link Frustum#near:emits} emits on change.
103
+ * Fires a {@link Frustum.near:emits} emits on change.
104
104
  *
105
105
  * Default value is ````0.1````.
106
106
  *
@@ -111,7 +111,7 @@ export declare class Frustum extends Component {
111
111
  /**
112
112
  * Sets the position of the Frustum's far plane on the positive View-space Z-axis.
113
113
  *
114
- * Fires a {@link Frustum#far:emits} emits on change.
114
+ * Fires a {@link Frustum.far:emits} emits on change.
115
115
  *
116
116
  * Default value is ````10000.0````.
117
117
  *
@@ -131,7 +131,7 @@ export declare class Frustum extends Component {
131
131
  /**
132
132
  * Gets the Frustum's projection transform matrix.
133
133
  *
134
- * Fires a {@link Frustum#matrix:emits} emits on change.
134
+ * Fires a {@link Frustum.matrix:emits} emits on change.
135
135
  *
136
136
  * Default value is ````[1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]````.
137
137
  *
@@ -140,16 +140,16 @@ export declare class Frustum extends Component {
140
140
  get matrix(): number[];
141
141
 
142
142
  /**
143
- * Gets the inverse of {@link Frustum#matrix}.
143
+ * Gets the inverse of {@link Frustum.matrix}.
144
144
  *
145
145
  * @returns {Number[]} The inverse orthographic projection matrix.
146
146
  */
147
147
  get inverseMatrix(): number[];
148
148
 
149
149
  /**
150
- * Gets the transpose of {@link Frustum#matrix}.
150
+ * Gets the transpose of {@link Frustum.matrix}.
151
151
  *
152
- * @returns {Number[]} The transpose of {@link Frustum#matrix}.
152
+ * @returns {Number[]} The transpose of {@link Frustum.matrix}.
153
153
  */
154
154
  get transposedMatrix(): number[];
155
155
 
@@ -1,5 +1,5 @@
1
1
  import { Component } from "../Component";
2
- import { Camera } from "../Camera";
2
+ import { Camera } from "./Camera";
3
3
 
4
4
  /**
5
5
  * Defines its {@link Camera}'s orthographic projection as a box-shaped view volume.
@@ -89,16 +89,16 @@ export declare class Ortho extends Component {
89
89
  get matrix(): number[];
90
90
 
91
91
  /**
92
- * Gets the inverse of {@link Ortho#matrix}.
92
+ * Gets the inverse of {@link Ortho.matrix}.
93
93
  *
94
- * @returns {Number[]} The inverse of {@link Ortho#matrix}.
94
+ * @returns {Number[]} The inverse of {@link Ortho.matrix}.
95
95
  */
96
96
  get inverseMatrix(): number[];
97
97
 
98
98
  /**
99
- * Gets the transpose of {@link Ortho#matrix}.
99
+ * Gets the transpose of {@link Ortho.matrix}.
100
100
  *
101
- * @returns {Number[]} The transpose of {@link Ortho#matrix}.
101
+ * @returns {Number[]} The transpose of {@link Ortho.matrix}.
102
102
  */
103
103
  get transposedMatrix(): number[];
104
104
 
@@ -1,5 +1,5 @@
1
1
  import { Component } from "../Component";
2
- import { Camera } from "../Camera";
2
+ import { Camera } from "./Camera";
3
3
 
4
4
  /**
5
5
  * @desc Defines its {@link Camera}'s perspective projection using a field-of-view angle.
@@ -110,16 +110,16 @@ export declare class Perspective extends Component {
110
110
  get matrix(): number[];
111
111
 
112
112
  /**
113
- * Gets the inverse of {@link Perspective#matrix}.
113
+ * Gets the inverse of {@link Perspective.matrix}.
114
114
  *
115
- * @returns {Number[]} The inverse of {@link Perspective#matrix}.
115
+ * @returns {Number[]} The inverse of {@link Perspective.matrix}.
116
116
  */
117
117
  get inverseMatrix(): number[];
118
118
 
119
119
  /**
120
- * Gets the transpose of {@link Perspective#matrix}.
120
+ * Gets the transpose of {@link Perspective.matrix}.
121
121
  *
122
- * @returns {Number[]} The transpose of {@link Perspective#matrix}.
122
+ * @returns {Number[]} The transpose of {@link Perspective.matrix}.
123
123
  */
124
124
  get transposedMatrix(): number[];
125
125
 
@@ -1,6 +1,7 @@
1
- export * from "./Camera";
1
+ export * from "./camera";
2
2
  export * from "./CameraControl/CameraControl";
3
3
  export * from "./Component";
4
4
  export * from "./Entity";
5
+ export * from "./marker";
5
6
  export * from "./math/math";
6
7
  export * from "./PerformanceModel/PerformanceModel";
@@ -4,9 +4,9 @@ import { Entity } from "../Entity";
4
4
  export declare type MarkerConfiguration = {
5
5
  /** Optional ID, unique among all components in the parent {@link Scene}, generated automatically when omitted. */
6
6
  id?: string;
7
- /** Entity to associate this Marker with. When the Marker has an Entity, then {@link Marker#visible} will always be ````false```` if {@link Entity#visible} is false. */
7
+ /** Entity to associate this Marker with. When the Marker has an Entity, then {@link Marker.visible} will always be ````false```` if {@link Entity.visible} is false. */
8
8
  entity?: Entity
9
- /** Indicates whether or not this Marker is hidden (ie. {@link Marker#visible} is ````false```` whenever occluded by {@link Entity}s in the {@link Scene}. */
9
+ /** Indicates whether or not this Marker is hidden (ie. {@link Marker.visible} is ````false```` whenever occluded by {@link Entity}s in the {@link Scene}. */
10
10
  occludable?: boolean;
11
11
  /** World-space 3D Marker position. */
12
12
  worldPos?: number[];
@@ -15,7 +15,7 @@ export declare type MarkerConfiguration = {
15
15
  /**
16
16
  * @desc Tracks the World, View and Canvas coordinates, and visibility, of a position within a {@link Scene}.
17
17
  */
18
- export class Marker extends Component {
18
+ export declare class Marker extends Component {
19
19
  /**
20
20
  * @constructor
21
21
  * @param {Component} [owner] Owner component. When destroyed, the owner will destroy this Marker as well.
@@ -26,8 +26,8 @@ export class Marker extends Component {
26
26
  /**
27
27
  * Sets the {@link Entity} this Marker is associated with.
28
28
  *
29
- * An Entity is optional. When the Marker has an Entity, then {@link Marker#visible} will always be ````false````
30
- * if {@link Entity#visible} is false.
29
+ * An Entity is optional. When the Marker has an Entity, then {@link Marker.visible} will always be ````false````
30
+ * if {@link Entity.visible} is false.
31
31
  *
32
32
  * @type {Entity}
33
33
  */
@@ -59,10 +59,10 @@ export class Marker extends Component {
59
59
  /**
60
60
  * Sets whether occlusion testing is performed for this Marker.
61
61
  *
62
- * When this is ````true````, then {@link Marker#visible} will be ````false```` whenever the Marker is occluded by an {@link Entity} in the 3D view.
62
+ * When this is ````true````, then {@link Marker.visible} will be ````false```` whenever the Marker is occluded by an {@link Entity} in the 3D view.
63
63
  *
64
64
  * The {@link Scene} periodically occlusion-tests all Markers on every 20th "tick" (which represents a rendered frame). We
65
- * can adjust that frequency via property {@link Scene#ticksPerOcclusionTest}.
65
+ * can adjust that frequency via property {@link Scene.ticksPerOcclusionTest}.
66
66
  *
67
67
  * @type {Boolean}
68
68
  */
@@ -71,7 +71,7 @@ export class Marker extends Component {
71
71
  /**
72
72
  * Gets whether occlusion testing is performed for this Marker.
73
73
  *
74
- * When this is ````true````, then {@link Marker#visible} will be ````false```` whenever the Marker is occluded by an {@link Entity} in the 3D view.
74
+ * When this is ````true````, then {@link Marker.visible} will be ````false```` whenever the Marker is occluded by an {@link Entity} in the 3D view.
75
75
  *
76
76
  * @type {Boolean}
77
77
  */
@@ -80,7 +80,7 @@ export class Marker extends Component {
80
80
  /**
81
81
  * Gets the RTC center of this Marker.
82
82
  *
83
- * This is automatically calculated from {@link Marker#worldPos}.
83
+ * This is automatically calculated from {@link Marker.worldPos}.
84
84
  *
85
85
  * @type {Number[]}
86
86
  */
@@ -89,7 +89,7 @@ export class Marker extends Component {
89
89
  /**
90
90
  * Gets the RTC position of this Marker.
91
91
  *
92
- * This is automatically calculated from {@link Marker#worldPos}.
92
+ * This is automatically calculated from {@link Marker.worldPos}.
93
93
  *
94
94
  * @type {Number[]}
95
95
  */
@@ -98,7 +98,7 @@ export class Marker extends Component {
98
98
  /**
99
99
  * View-space 3D coordinates of this Marker.
100
100
  *
101
- * This property is read-only and is automatically calculated from {@link Marker#worldPos} and the current {@link Camera} position.
101
+ * This property is read-only and is automatically calculated from {@link Marker.worldPos} and the current {@link Camera} position.
102
102
  *
103
103
  * The Marker fires a "viewPos" event whenever this property changes.
104
104
  *
@@ -109,7 +109,7 @@ export class Marker extends Component {
109
109
  /**
110
110
  * Canvas-space 2D coordinates of this Marker.
111
111
  *
112
- * This property is read-only and is automatically calculated from {@link Marker#worldPos} and the current {@link Camera} position and projection.
112
+ * This property is read-only and is automatically calculated from {@link Marker.worldPos} and the current {@link Camera} position and projection.
113
113
  *
114
114
  * The Marker fires a "canvasPos" event whenever this property changes.
115
115
  *
@@ -124,9 +124,9 @@ export class Marker extends Component {
124
124
  *
125
125
  * The Marker is **invisible** whenever:
126
126
  *
127
- * * {@link Marker#canvasPos} is currently outside the canvas,
128
- * * {@link Marker#entity} is set to an {@link Entity} that has {@link Entity#visible} ````false````, or
129
- * * or {@link Marker#occludable} is ````true```` and the Marker is currently occluded by an Entity in the 3D view.
127
+ * * {@link Marker.canvasPos} is currently outside the canvas,
128
+ * * {@link Marker.entity} is set to an {@link Entity} that has {@link Entity.visible} ````false````, or
129
+ * * or {@link Marker.occludable} is ````true```` and the Marker is currently occluded by an Entity in the 3D view.
130
130
  *
131
131
  * The Marker fires a "visible" event whenever this property changes.
132
132
  *
@@ -18,7 +18,7 @@ export declare type EmphasisMaterialConfiguration = {
18
18
  edgeAlpha?: number;
19
19
  /** Width of xray edges, in pixels. */
20
20
  edgeWidth?: number;
21
- /** Selects a preset EmphasisMaterial configuration - see {@link EmphasisMaterial#presets}. */
21
+ /** Selects a preset EmphasisMaterial configuration - see {@link EmphasisMaterial.presets}. */
22
22
  preset?: string;
23
23
  /** Whether to render geometry backfaces when emphasising. */
24
24
  backfaces?: boolean;
@@ -202,7 +202,7 @@ export declare class EmphasisMaterial extends Material {
202
202
  get edgeWidth(): number;
203
203
 
204
204
  /**
205
- * Sets whether to render backfaces when {@link EmphasisMaterial#fill} is ````true````.
205
+ * Sets whether to render backfaces when {@link EmphasisMaterial.fill} is ````true````.
206
206
  *
207
207
  * Default is ````false````.
208
208
  *
@@ -211,7 +211,7 @@ export declare class EmphasisMaterial extends Material {
211
211
  set backfaces(arg: boolean);
212
212
 
213
213
  /**
214
- * Gets whether to render backfaces when {@link EmphasisMaterial#fill} is ````true````.
214
+ * Gets whether to render backfaces when {@link EmphasisMaterial.fill} is ````true````.
215
215
  *
216
216
  * Default is ````true````.
217
217
  *
@@ -63,7 +63,7 @@ export declare class Fresnel extends Component {
63
63
  * @param {Number} [cfg.power=0] The power.
64
64
  */
65
65
  constructor(owner: Component, cfg?: any);
66
- _state: RenderState;
66
+ _state: any;
67
67
  /**
68
68
  * Sets the Fresnel's edge color.
69
69
  *
@@ -145,5 +145,4 @@ export declare class Fresnel extends Component {
145
145
  */
146
146
  get power(): number;
147
147
  }
148
- import { Component } from "../Component.js";
149
- import { RenderState } from "../webgl/RenderState.js";
148
+ import { Component } from "../Component";
@@ -6,7 +6,7 @@ export declare type LinesMaterialConfiguration = {
6
6
  id?: string;
7
7
  /** Line width in pixels. */
8
8
  lineWidth?: number;
9
- /** Selects a preset LinesMaterial configuration - see {@link LinesMaterial#presets}. */
9
+ /** Selects a preset LinesMaterial configuration - see {@link LinesMaterial.presets}. */
10
10
  preset?: string;
11
11
  };
12
12