def __init__(self, viewport, mouse, keyboard): """Instance initializer. Args: viewport: Render viewport, instance of renderer.Viewport. mouse: A mouse device. keyboard: A keyboard device. """ 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 = None self._renderer = None self._manipulator = None self._free_camera = None self._camera_select = None
def setUp(self): super(RenderSettingsTest, self).setUp() self.settings = renderer.RenderSettings() self.scene = wrapper.MjvScene()
def setUp(self): self.settings = renderer.RenderSettings() self.scene = wrapper.MjvScene()