@xeokit/xeokit-sdk 2.6.53 → 2.6.55
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 +292 -44
- package/dist/xeokit-sdk.es.js +292 -44
- package/dist/xeokit-sdk.es5.js +221 -107
- package/dist/xeokit-sdk.min.cjs.js +3 -3
- package/dist/xeokit-sdk.min.es.js +3 -3
- package/dist/xeokit-sdk.min.es5.js +3 -3
- package/package.json +1 -1
- package/src/plugins/StoreyViewsPlugin/StoreyViewsPlugin.js +22 -12
- package/src/plugins/TreeViewPlugin/TreeViewPlugin.js +2 -2
- package/src/viewer/Viewer.js +5 -9
- package/src/viewer/scene/CameraControl/CameraControl.js +198 -2
- package/src/viewer/scene/CameraControl/lib/CameraUpdater.js +5 -4
- package/src/viewer/scene/CameraControl/lib/handlers/KeyboardPanRotateDollyHandler.js +0 -8
- package/src/viewer/scene/CameraControl/lib/handlers/MousePanRotateDollyHandler.js +27 -4
- package/src/viewer/scene/CameraControl/lib/handlers/MousePickHandler.js +7 -1
- package/src/viewer/scene/input/Input.js +24 -0
- package/src/viewer/scene/model/vbo/instancing/triangles/VBOInstancingTrianglesLayer.js +1 -1
- package/types/plugins/StoreyViewsPlugin/StoreyViewsPlugin.d.ts +3 -3
- package/types/viewer/scene/CameraControl/CameraControl.d.ts +23 -0
|
@@ -526,6 +526,29 @@ export declare class CameraControl extends Component {
|
|
|
526
526
|
*/
|
|
527
527
|
get pointerEnabled(): boolean;
|
|
528
528
|
|
|
529
|
+
/**
|
|
530
|
+
* Sets the cursor to be used when a particular action is being performed.
|
|
531
|
+
*
|
|
532
|
+
* Accepted actions are:
|
|
533
|
+
*
|
|
534
|
+
* * "dollyForward" - when the camera is dollying in the forward direction
|
|
535
|
+
* * "dollyBackward" - when the camera is dollying in the backward direction
|
|
536
|
+
* * "pan" - when the camera is being panned
|
|
537
|
+
* * "rotate" - when the camera is being rotated
|
|
538
|
+
*
|
|
539
|
+
* @param {String} action
|
|
540
|
+
* @param {String} style
|
|
541
|
+
*/
|
|
542
|
+
setCursorStyle(action: string, style: string): void;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Gets the current style for a particular action.
|
|
546
|
+
*
|
|
547
|
+
* @param {String} action To get the style for
|
|
548
|
+
* @returns {String} style set on the cursor for action
|
|
549
|
+
*/
|
|
550
|
+
getCursorStyle(action: string): string | null;
|
|
551
|
+
|
|
529
552
|
/**
|
|
530
553
|
* Sets how much the {@link Camera} dollys each second with keyboard input.
|
|
531
554
|
*
|