2 #include "AL/usdmaya/Common.h"
4 #include <unordered_map>
27 MObject
createNode(
const UsdPrim& from,
const char*
const nodeType, MObject parent);
33 { m_params = params; }
36 std::unordered_map<std::string, translators::DgNodeTranslator*> m_builders;
44 NodeFactory& getNodeFactory();
49 void freeNodeFactory();
parameters for the importer
Definition: ImportParams.h:18
A simple node factory to convert nodes between Maya and USD.
Definition: NodeFactory.h:15
MObject createNode(const UsdPrim &from, const char *const nodeType, MObject parent)
create a node
void setImportParams(const ImporterParams *params)
Some of the translators rely on import settings specified in the import params. Prior to use of this ...
Definition: NodeFactory.h:32
NodeFactory()
ctor. Currently initialises the inbuilt translators.