|
AL_USDMaya
0.16.6
USD to Maya Bridge
|
A simple node factory to convert nodes between Maya and USD. More...
#include <NodeFactory.h>
Public Member Functions | |
| NodeFactory () | |
| ctor. Currently initialises the inbuilt translators. | |
| ~NodeFactory () | |
| dtor | |
| MObject | createNode (const UsdPrim &from, const char *const nodeType, MObject parent) |
| create a node More... | |
| void | setImportParams (const ImporterParams *params) |
| Some of the translators rely on import settings specified in the import params. Prior to use of this factory, you should set the import params for it to use. More... | |
A simple node factory to convert nodes between Maya and USD.
| MObject AL::usdmaya::fileio::NodeFactory::createNode | ( | const UsdPrim & | from, |
| const char *const | nodeType, | ||
| MObject | parent | ||
| ) |
create a node
| from | the prim we are copying the data from |
| nodeType | can be one of "transform", "mesh", "nurbsCurve", or "camera". |
| parent | the parent transform for the Maya data |
|
inline |
Some of the translators rely on import settings specified in the import params. Prior to use of this factory, you should set the import params for it to use.
| params | the import params |