An internal structure used to store a mapping between an SdfPath, the type of prim found at that location, the maya transform that may have been created (assuming the translator plugin specifies that it needs a parent transform), and any nodes that the translator plugin may have created.
More...
#include <TranslatorContext.h>
An internal structure used to store a mapping between an SdfPath, the type of prim found at that location, the maya transform that may have been created (assuming the translator plugin specifies that it needs a parent transform), and any nodes that the translator plugin may have created.
AL::usdmaya::fileio::translators::TranslatorContext::PrimLookup::PrimLookup |
( |
const SdfPath & |
path, |
|
|
const TfToken & |
type, |
|
|
MObject |
mayaObj |
|
) |
| |
|
inline |
ctor
- Parameters
-
path | the prim path of the items we will be tracking |
type | the USD typename of the prim at the specified path. Used to help us determine which translator plugin to call to tear down this prim. |
mayaObj | the maya transform |
MObjectHandleArray& AL::usdmaya::fileio::translators::TranslatorContext::PrimLookup::createdNodes |
( |
| ) |
|
|
inline |
get created maya nodes
- Returns
- the created maya nodes for this prim translator
const MObjectHandleArray& AL::usdmaya::fileio::translators::TranslatorContext::PrimLookup::createdNodes |
( |
| ) |
const |
|
inline |
get created maya nodes
- Returns
- the created maya nodes for this prim translator
MObject AL::usdmaya::fileio::translators::TranslatorContext::PrimLookup::object |
( |
| ) |
const |
|
inline |
get the maya object of the node
- Returns
- the maya node for this reference
MObjectHandle AL::usdmaya::fileio::translators::TranslatorContext::PrimLookup::objectHandle |
( |
| ) |
const |
|
inline |
get the maya object of the node
- Returns
- the maya node for this reference
const SdfPath& AL::usdmaya::fileio::translators::TranslatorContext::PrimLookup::path |
( |
| ) |
const |
|
inline |
get the prim path of this reference
- Returns
- the prim path for this reference
TfToken AL::usdmaya::fileio::translators::TranslatorContext::PrimLookup::type |
( |
| ) |
const |
|
inline |
get the prim type
- Returns
- the type stored for this prim
The documentation for this struct was generated from the following file: