2 #include "AL/usdmaya/fileio/translators/DagNodeTranslator.h"
7 namespace translators {
34 MObject
createNode(
const UsdPrim& from, MObject parent,
const char* nodeType,
const ImporterParams& params)
override;
51 static MObject m_orthographic;
52 static MObject m_horizontalFilmAperture;
53 static MObject m_verticalFilmAperture;
54 static MObject m_horizontalFilmApertureOffset;
55 static MObject m_verticalFilmApertureOffset;
56 static MObject m_focalLength;
57 static MObject m_nearDistance;
58 static MObject m_farDistance;
59 static MObject m_fstop;
60 static MObject m_focusDistance;
61 static MObject m_lensSqueezeRatio;
static MStatus registerType()
static type registration
A class to transfer dag node data between Usd <–> Maya.
Definition: DagNodeTranslator.h:14
A class to transfer camera data between Usd <–> Maya.
Definition: CameraTranslator.h:13
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
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. ...
MStatus copyAttributes(const UsdPrim &from, MObject to, const ImporterParams ¶ms)
helper method to copy attributes from the UsdPrim to the Maya node
CameraTranslator()
ctor
Definition: CameraTranslator.h:19
~CameraTranslator()
dtor
Definition: CameraTranslator.h:22