add content_type to model in the XML schema.
PiperOrigin-RevId: 670961443 Change-Id: I98cd6bb61b50029cdd4f5b31e23d268989d136da
This commit is contained in:
committed by
Copybara-Service
parent
9a27fc14c2
commit
0e8c0b80eb
@@ -1893,6 +1893,11 @@ This element specifies other MJCF models which may be used for :ref:`attachment<
|
||||
:at:`file`: :at-val:`string, required`
|
||||
The file from which the sub-model will be loaded. Note that the sub-model must be a valid MJCF model.
|
||||
|
||||
.. _asset-model-content_type:
|
||||
|
||||
:at:`content_type` :at-val:`string, optional`
|
||||
The file type to be loaded into a model. Currently only text/xml is supported.
|
||||
|
||||
|
||||
.. _body:
|
||||
|
||||
|
||||
+1
-1
@@ -244,7 +244,7 @@
|
||||
| :ref:`model | \* | :class: mjcf-attributes |
|
||||
| <asset-model>` | | |
|
||||
| | | +-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+ |
|
||||
| | | | :ref:`name<asset-model-name>` | :ref:`file<asset-model-file>` | | | |
|
||||
| | | | :ref:`name<asset-model-name>` | :ref:`file<asset-model-file>` | :ref:`content_type<asset-model-content_type>` | | |
|
||||
| | | +-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+ |
|
||||
+------------------------------------+----+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| mujoco |br| |L| | | .. table:: |
|
||||
|
||||
Reference in New Issue
Block a user