2 #include "AL/usdmaya/fileio/translators/DagNodeTranslator.h"
4 #include "maya/MObject.h"
6 #include "pxr/usd/usd/stage.h"
11 namespace translators {
32 MObject
createNode(
const UsdPrim& from, MObject parent,
const char* nodeType,
const ImporterParams& params)
override;
A class to transfer dag node data between Usd <–> Maya.
Definition: DagNodeTranslator.h:14
parameters for the exporter. These parameters are constructed by any command or file translator that ...
Definition: ExportParams.h:17
parameters for the importer
Definition: ImportParams.h:18
static MStatus registerType()
static type registration
MObject createNode(const UsdPrim &from, MObject parent, const char *nodeType, const ImporterParams ¶ms) override
Creates a new maya node of the given type and set attributes based on input prim. ...
static MStatus copyAttributes(const MObject &from, UsdPrim &to, const ExporterParams ¶ms)
Copies data from the maya node onto the usd primitive.
A utility class to transfer nurbs curves between maya and usd.
Definition: NurbsCurveTranslator.h:17
static UsdPrim exportObject(UsdStageRefPtr stage, MDagPath mayaPath, const SdfPath &usdPath, const ExporterParams ¶ms)
exports a nurbs curve to the USD file and returns the created prim