xml: the xml code corresponding to a composite object
info: additional information about the composite:
element: the name of the XML element where the composite XML should be injected. Can be empty if shapeHandle is not empty
shapeHandle: the handle of the shape where the composite XML should be injected. Can be empty if element is not empty
prefix: the composite prefix string. Make sure the prefix is unique, and possible derived from the related shape
type: the composite type: grid, rope, loop, cloth, box, cylinder or ellipsoid
count: the size of the composite
respondableMask: the composite respondable mask
grow: the amount the composite nodes should grow for visuals
callback: a callback function that is called when the MuJoCo world gets regenerated. This allows to adjust the composite code on-the-fly
|