MtlXIOUtil : UtilityPlugin
The MtlXIOUtil
utility plugin exposes functionality for reading and writing MaterialX data. While this plugin is not directly related to the USD plugin, it is used by it and installed with it.
Interface: MaterialX
Properties:
No properties at this time.
Methods:
<material array>ImportMtlX <string>filename
Imports the MaterialX materials from the specified filename
, returning them as an array of materials.
<boolean>ExportMtlX <string>filename <material array>materials
Exports the array of MaterialX materials to the specified filename
.
<string>GetError()
Returns the last error message for the import or export operation, as a string. The string is empty if there was no error.