MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / set_camera

Method set_camera

dm_control/viewer/application.py:113–119  ·  view source on GitHub ↗

Updates the active camera instance. Args: camera: Instance of renderer.SceneCamera.

(self, camera)

Source from the content-addressed store, hash-verified

111 ])
112
113 def set_camera(self, camera):
114 """Updates the active camera instance.
115
116 Args:
117 camera: Instance of renderer.SceneCamera.
118 """
119 self._camera = camera
120
121 def set_runtime(self, instance):
122 """Updates the active runtime instance.

Callers 2

_on_reloadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected