AL_USDMaya  0.16.6
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ImportParams.h
1 #pragma once
2 #include "AL/usdmaya/Common.h"
3 
4 #include "maya/MDagPath.h"
5 #include "maya/MString.h"
6 #include "maya/MStringArray.h"
7 
8 #include <pxr/usd/sdf/layer.h>
9 
10 namespace AL {
11 namespace usdmaya {
12 namespace fileio {
13 
14 //----------------------------------------------------------------------------------------------------------------------
17 //----------------------------------------------------------------------------------------------------------------------
19 {
20  MDagPath m_parentPath;
21  MString m_fileName;
22  bool m_meshes = true;
23  bool m_animations = true;
24  bool m_nurbsCurves = true;
25  bool m_dynamicAttributes = true;
26  bool m_stageUnloaded = true;
28  SdfLayerRefPtr m_rootLayer;
29  SdfLayerRefPtr m_sessionLayer;
30 };
31 
32 //----------------------------------------------------------------------------------------------------------------------
33 } // fileio
34 } // usdmaya
35 } // AL
36 //----------------------------------------------------------------------------------------------------------------------
MString m_fileName
the name of the file to import
Definition: ImportParams.h:21
bool m_nurbsCurves
true to import nurbs curves, false to ignore nurbs curves on import
Definition: ImportParams.h:24
parameters for the importer
Definition: ImportParams.h:18
SdfLayerRefPtr m_rootLayer
Definition: ImportParams.h:28
bool m_meshes
true to import mesh geometry, false to ignore mesh geometry on import
Definition: ImportParams.h:22
MDagPath m_parentPath
the parent transform under which the USD file will be imported
Definition: ImportParams.h:20
SdfLayerRefPtr m_sessionLayer
Definition: ImportParams.h:29
bool m_dynamicAttributes
if true, attributes in the USD file marked as 'custom' will be imported as dynamic attributes...
Definition: ImportParams.h:25
MString m_assetResolverConfig
the asset resolver config string which will be passed to the asset resolver prior to import ...
Definition: ImportParams.h:27
bool m_stageUnloaded
if true, the USD stage will be opened with the UsdStage::LoadNone flag. If false the stage will be lo...
Definition: ImportParams.h:26
bool m_animations
true to import animation data, false to ignore animation data import
Definition: ImportParams.h:23