(self, viewport, mouse, keyboard, camera_settings=None,
               zoom_factor=_FULL_SCENE_ZOOM_FACTOR)
Instance initializer.

    Args:
      viewport: Render viewport, instance of renderer.Viewport.
      mouse: A mouse device.
      keyboard: A keyboard device.
      camera_settings: Properties of the scene MjvCamera.
      zoom_factor: Initial scale factor for zooming into the scene.
Instance initializer.
Instance initializer .
def __init__(self, viewport, mouse, keyboard, camera_settings=None,
               zoom_factor=_FULL_SCENE_ZOOM_FACTOR):
    """Instance initializer.

    Args:
      viewport: Render viewport, instance of renderer.Viewport.
      mouse: A mouse device.
      keyboard: A keyboard device.
      camera_settings: Properties of the scene MjvCamera.
      zoom_factor: Initial scale factor for zooming into the scene.
    """
    self._viewport = viewport
    self._mouse = mouse

    self._null_perturbation = renderer.NullPerturbation()
    self._render_settings = renderer.RenderSettings()
    self._input_map = user_input.InputMap(mouse, keyboard)

    self._camera = None
    self._camera_settings = camera_settings
    self._renderer = None
    self._manipulator = None
    self._free_camera = None
    self._camera_select = None
    self._zoom_factor = zoom_factor
def __init__ ( self , viewport , mouse , keyboard , camera_settings = None , zoom_factor = _FULL_SCENE_ZOOM_FACTOR ) : self . _viewport = viewport self . _mouse = mouse self . _null_perturbation = renderer . NullPerturbation ( ) self . _render_settings = renderer . RenderSettings ( ) self . _input_map = user_input . InputMap ( mouse , keyboard ) self . _camera = None self . _camera_settings = camera_settings self . _renderer = None self . _manipulator = None self . _free_camera = None self . _camera_select = None self . _zoom_factor = zoom_factor