class_docstr: Class for window rendering in all MuJoCo environments.
class_docstr_tok: ["Class","for","window","rendering","in","all","MuJoCo","environments","."]
code: def _scroll_callback(self, window, x_offset, y_offset):
      with self._gui_lock:
          mujoco.mjv_moveCamera(
              self.model,
              mujoco.mjtMouse.mjMOUSE_ZOOM,
              0,
              -0.05 * y_offset,
              self.scn,
              self.cam,
          )
  
imports: import collections
  import os
  import time
  from threading import Lock
  import glfw
  import imageio
  import mujoco
  import numpy
label_desc: Use image node_id 5 for calling the Viewer obj's underlying member method code with example usage: obj._scroll_callback(window, x_offset, y_offset) without return types