@@ -208,6 +208,9 @@ declare class OrbitControls extends Controls<OrbitControlsEventMap> {
208208 */
209209 constructor ( object : Camera , domElement ?: HTMLElement | SVGElement | null ) ;
210210
211+ set cursorStyle ( type : "auto" | "grab" ) ;
212+ get cursorStyle ( ) : "auto" | "grab" ;
213+
211214 /**
212215 * Get the current vertical rotation, in radians.
213216 */
@@ -245,6 +248,42 @@ declare class OrbitControls extends Controls<OrbitControlsEventMap> {
245248 */
246249 reset ( ) : void ;
247250
251+ /**
252+ * Programmatically pan the camera.
253+ *
254+ * @param {number } deltaX - The horizontal pan amount in pixels.
255+ * @param {number } deltaY - The vertical pan amount in pixels.
256+ */
257+ pan ( deltaX : number , deltaY : number ) : void ;
258+
259+ /**
260+ * Programmatically dolly in (zoom in for perspective camera).
261+ *
262+ * @param {number } dollyScale - The dolly scale factor.
263+ */
264+ dollyIn ( dollyScale : number ) : void ;
265+
266+ /**
267+ * Programmatically dolly out (zoom out for perspective camera).
268+ *
269+ * @param {number } dollyScale - The dolly scale factor.
270+ */
271+ dollyOut ( dollyScale : number ) : void ;
272+
273+ /**
274+ * Programmatically rotate the camera left (around the vertical axis).
275+ *
276+ * @param {number } angle - The rotation angle in radians.
277+ */
278+ rotateLeft ( angle : number ) : void ;
279+
280+ /**
281+ * Programmatically rotate the camera up (around the horizontal axis).
282+ *
283+ * @param {number } angle - The rotation angle in radians.
284+ */
285+ rotateUp ( angle : number ) : void ;
286+
248287 /**
249288 * Update the controls. Must be called after any manual changes to the camera's transform, or in the update loop if
250289 * {@link .autoRotate} or {@link .enableDamping} are set. `deltaTime`, in seconds, is optional, and is only required
0 commit comments