v18.world.World.Plugin¶
Warning
This class is autogenerated. More detailed documentation can be found in the SDFormat spec.
- class v18.world.World.Plugin(any_element=<factory>, name=None, filename=None)¶
A plugin is a dynamically loaded chunk of code.
It can exist as a child of world, model, and sensor.
- Parameters
- any_element: This is a special element that should not be
specified in an SDFormat file. It automatically copies child elements into the SDFormat element so that a plugin can access the data.
- name: A unique name for the plugin, scoped to its parent.
- filename: Name of the shared library to load. If the filename is
not a full path name, the file will be searched for in the configuration paths.