AL_USDMaya  0.16.6
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ExportParams.h
1 #pragma once
2 #include "AL/usdmaya/Common.h"
3 
4 #include "maya/MSelectionList.h"
5 #include "maya/MString.h"
6 
7 namespace AL {
8 namespace usdmaya {
9 namespace fileio {
10 
11 //----------------------------------------------------------------------------------------------------------------------
16 //----------------------------------------------------------------------------------------------------------------------
18 {
19  MSelectionList m_nodes;
20  MString m_fileName;
21  double m_minFrame;
22  double m_maxFrame;
23  bool m_selected = false;
24  bool m_meshes = true;
25  bool m_nurbsCurves = true;
26  bool m_dynamicAttributes = true;
27  bool m_duplicateInstances = true;
28  bool m_useAnimalSchema = true;
29  bool m_mergeTransforms = true;
30  bool m_animation = false;
32 };
33 
34 //----------------------------------------------------------------------------------------------------------------------
35 } // fileio
36 } // usdmaya
37 } // AL
38 //----------------------------------------------------------------------------------------------------------------------
double m_maxFrame
the end frame of the animation export
Definition: ExportParams.h:22
parameters for the exporter. These parameters are constructed by any command or file translator that ...
Definition: ExportParams.h:17
bool m_nurbsCurves
if true export nurbs curves
Definition: ExportParams.h:25
bool m_selected
are we exporting selected objects (true) or all objects (false)
Definition: ExportParams.h:23
bool m_duplicateInstances
if true, instances will be exported as duplicates. As of 23/01/17, nothing will be exported if set to...
Definition: ExportParams.h:27
MString m_fileName
the filename of the file we will be exporting
Definition: ExportParams.h:20
bool m_useAnimalSchema
if true, the data exported will be designed to fit with Animal Logics internal needs. If false, the original pxr schema will be used.
Definition: ExportParams.h:28
bool m_dynamicAttributes
if true export any dynamic attributes found on the nodes we are exporting
Definition: ExportParams.h:26
double m_minFrame
the start frame for the animation export
Definition: ExportParams.h:21
AnimationTranslator * m_animTranslator
the animation translator to help exporting the animation data
Definition: ExportParams.h:31
bool m_mergeTransforms
if true, shapes will be merged into their parent transforms in the exported data. If false...
Definition: ExportParams.h:29
A utility class to help with exporting animated plugs from maya.
Definition: AnimationTranslator.h:23
MSelectionList m_nodes
the selected node to be exported
Definition: ExportParams.h:19
bool m_animation
if true, animation will be exported.
Definition: ExportParams.h:30
bool m_meshes
if true, export meshes
Definition: ExportParams.h:24