(self, action, viewport_offset)
Moves the camera around the scene.
Moves the camera around the scene.
Moves the camera around the scene .
def move(self, action, viewport_offset):
    """Moves the camera around the scene."""
    # Not checking the validity of arguments on purpose. This method is designed
    # to be called very often, so in order to avoid the overhead, all arguments
    # are assumed to be valid.
    mjlib.mjv_moveCamera(self._model.ptr, action,
                         viewport_offset[0], viewport_offset[1],
                         self._scene.ptr, self._camera.ptr)
def move ( self , action , viewport_offset ) : # Not checking the validity of arguments on purpose. This method is designed # to be called very often, so in order to avoid the overhead, all arguments # are assumed to be valid. mjlib . mjv_moveCamera ( self . _model . ptr , action , viewport_offset [ 0 ] , viewport_offset [ 1 ] , self . _scene . ptr , self . _camera . ptr )