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

Method bind_plane

dm_control/viewer/user_input.py:267–269  ·  view source on GitHub ↗

Binds a callback to a planar motion action (mouse movement).

(self, callback)

Source from the content-addressed store, hash-verified

265 return key_binding
266
267 def bind_plane(self, callback):
268 """Binds a callback to a planar motion action (mouse movement)."""
269 self._plane_callback.append(callback)
270
271 def bind_z_axis(self, callback):
272 """Binds a callback to a z-axis motion action (mouse scroll)."""

Callers 2

initializeMethod · 0.80

Calls

no outgoing calls

Tested by 1