@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.
@@ -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
  *