(self, enable)
Begins/ends an object rotation action.

    Args:
      enable: A boolean flag, True begins the action, False ends it.
Begins/ends an object rotation action.
Begins / ends an object rotation action .
def set_rotate_mode(self, enable):
    """Begins/ends an object rotation action.

    Args:
      enable: A boolean flag, True begins the action, False ends it.
    """
    if enable:
      self._action.begin(enums.mjtMouse.mjMOUSE_ROTATE_H)
    else:
      self._action.end(enums.mjtMouse.mjMOUSE_ROTATE_H)
def set_rotate_mode ( self , enable ) : if enable : self . _action . begin ( enums . mjtMouse . mjMOUSE_ROTATE_H ) else : self . _action . end ( enums . mjtMouse . mjMOUSE_ROTATE_H )