@xeokit/xeokit-sdk 2.6.95 → 2.6.96
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/xeokit-sdk.cjs.js +1173 -130
- package/dist/xeokit-sdk.es.js +1172 -131
- package/dist/xeokit-sdk.es5.js +735 -419
- package/dist/xeokit-sdk.min.cjs.js +7 -7
- package/dist/xeokit-sdk.min.es.js +7 -7
- package/dist/xeokit-sdk.min.es5.js +6 -6
- package/package.json +1 -1
- package/src/plugins/IFCOpenShellLoaderPlugin/IFCOpenShellDefaultDataSource.js +74 -0
- package/src/plugins/IFCOpenShellLoaderPlugin/IFCOpenShellLoaderPlugin.js +900 -0
- package/src/plugins/IFCOpenShellLoaderPlugin/index.js +2 -0
- package/src/plugins/index.js +1 -0
- package/src/viewer/scene/CameraControl/CameraControl.js +2 -2
- package/src/viewer/scene/math/math.js +171 -106
- package/src/viewer/scene/model/SceneModelMesh.js +2 -0
- package/src/viewer/scene/model/compression.js +6 -6
- package/src/viewer/scene/model/layer/DTXLayer.js +5 -1
- package/src/viewer/scene/model/layer/Layer.js +1 -4
- package/src/viewer/scene/model/layer/VBOLayer.js +7 -3
- package/src/viewer/scene/sectionCaps/SectionCaps.js +5 -4
- package/types/plugins/IFCOpenShellLoaderPlugin/IFCOpenShellLoaderPlugin.d.ts +107 -0
- package/types/plugins/IFCOpenShellLoaderPlugin/index.d.ts +1 -0
- package/types/plugins/index.d.ts +1 -0
- package/types/viewer/scene/CameraControl/CameraControl.d.ts +5 -5
|
@@ -170,20 +170,20 @@ export declare class CameraControl extends Component {
|
|
|
170
170
|
*
|
|
171
171
|
* See class docs for usage.
|
|
172
172
|
*
|
|
173
|
-
* @param {{Number:Number}|String} value Either a set of new key mappings, or a string to select a keyboard layout,
|
|
173
|
+
* @param {{Number:(Number | Number[])[]} | String} value Either a set of new key mappings, or a string to select a keyboard layout,
|
|
174
174
|
* which causes ````CameraControl```` to use the default key mappings for that layout.
|
|
175
175
|
*/
|
|
176
176
|
set keyMap(arg: {
|
|
177
|
-
[key: number]: number;
|
|
178
|
-
});
|
|
177
|
+
[key: number]: (number | number[])[];
|
|
178
|
+
} | string);
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* Gets custom mappings of keys to {@link CameraControl} actions.
|
|
182
182
|
*
|
|
183
|
-
* @returns {{Number:Number}} Current key mappings.
|
|
183
|
+
* @returns {{Number:(Number | Number[])[]}} Current key mappings.
|
|
184
184
|
*/
|
|
185
185
|
get keyMap(): {
|
|
186
|
-
[key: number]: number;
|
|
186
|
+
[key: number]: (number | number[])[];
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
/**
|