Add "cameraid" attribute to visual/global specifying the default camera to use at model load.
PiperOrigin-RevId: 773783069 Change-Id: I2fff2abdceedc982d89cee8d14b95abceea1c113
This commit is contained in:
committed by
Copybara-Service
parent
7dc7a349c5
commit
14dc7c2a60
@@ -7534,6 +7534,12 @@ coordinated visual settings corresponding to a "theme", and then include this fi
|
||||
While all settings in mjVisual are global, the settings here could not be fit into any of the other subsections. So this
|
||||
is effectively a miscellaneous subsection.
|
||||
|
||||
.. _visual-global-cameraid:
|
||||
|
||||
:at:`cameraid`: :at-val:`int, "-1"`
|
||||
The id of the camera used when initially loading the model in the visualizer. The default value of -1 means the free
|
||||
camera. In order to specify a :ref:`modeled camera<body-camera>`, use the camera's id as given by :ref:`mj_name2id`.
|
||||
|
||||
.. _visual-global-orthographic:
|
||||
|
||||
:at:`orthographic`: :at-val:`[false, true], "false"`
|
||||
|
||||
Reference in New Issue
Block a user