2 #include "AL/usdmaya/fileio/ImportParams.h"
4 #include "maya/MPxCommand.h"
6 #include <pxr/usd/usd/common.h>
50 const std::vector<UsdPrim>& schemaPrims,
51 const MDagPath& proxyTransformPath);
static MStatus initialise(nodes::ProxyShape *shape)
called after a proxy shape has been created. Traverses the prim hierarchy and looks to see whether an...
static void createSchemaPrims(nodes::SchemaNodeRefDB *schemaNodeDB, const MObjectToPrim &objsToCreate)
After transforms exist to parent the custom plugin-prim types (i.e. after a call to createTranformCha...
A custom proxy shape node that attaches itself to a USD file, and then renders it. The stage is held internally as a member variable, and it will be composed based on a change to the "filePath" attribute.
Definition: ProxyShape.h:33
static MObjectToPrim createTranformChainsForSchemaPrims(nodes::ProxyShape *shape, const std::vector< UsdPrim > &schemaPrims, const MDagPath &proxyTransformPath)
given a specific proxy shape, and a collection of UsdPrims that represent custom DagNode types...
parameters for the importer
Definition: ImportParams.h:18
static void connectSchemaPrims(nodes::SchemaNodeRefDB *schemaNodeDB, const MObjectToPrim &objsToCreate)
called once all plugin nodes have been created, and will request that each plugin translator performs...
The proxy shape node needs to store a mapping of all the schema nodes it has brought into the Maya sc...
Definition: VariantDB.h:53
std::vector< std::pair< MObject, UsdPrim > > MObjectToPrim
a mapping from an MObject to a UsdPrim
Definition: ProxyShapePostLoadProcess.h:34
When importing a new usd stage into an AL::usdmaya::nodes::ProxyShape, there are a selection of post ...
Definition: ProxyShapePostLoadProcess.h:29