Classes that deal with the import/export of USD data into maya.
More...
|
| Translator API |
| Classes that deal with the import/export of USD data into maya.
|
|
|
| AL::usdmaya::fileio::AL_MAYA_TRANSLATOR_BEGIN (ExportTranslator,"AL usdmaya export", false, true,"*.usda","*.usdc;*.usda;*.usd;*.usdt") |
| A Maya export plugin that writes out USD files from Maya (this is largely optimised for the needs of the A20 pipeline).
|
|
| AL::usdmaya::fileio::AL_MAYA_TRANSLATOR_BEGIN (ImportTranslator,"AL usdmaya import", true, false,"*.usda","*.usdc;*.usda;*.usd;*.usdt") |
| A USD importer into Maya (supporting A20 specific features)
|
|
bool | AL::usdmaya::fileio::isSchemaPrim (const UsdPrim &prim) |
| utility function to determine if a prim is one of our custom schema prims More...
|
|
bool | AL::usdmaya::fileio::importSchemaPrim (const UsdPrim &usdPrim, MObject &parent, MObject *created=0, translators::TranslatorContextPtr context=TfNullPtr, const translators::TranslatorRefPtr translator=TfNullPtr) |
| a method called to import a schema prim into maya More...
|
|
bool | AL::usdmaya::fileio::isSchemaOfType (const UsdPrim &prim, const TfToken &typeToken) |
| utility function to determine whether the prim specified is of the given type More...
|
|
Classes that deal with the import/export of USD data into maya.
bool AL::usdmaya::fileio::importSchemaPrim |
( |
const UsdPrim & |
usdPrim, |
|
|
MObject & |
parent, |
|
|
MObject * |
created = 0 , |
|
|
translators::TranslatorContextPtr |
context = TfNullPtr , |
|
|
const translators::TranslatorRefPtr |
translator = TfNullPtr |
|
) |
| |
a method called to import a schema prim into maya
- Parameters
-
usdPrim | the usd prim to be imported into Maya |
parent | the parent transform for the prim |
created | the returned MObject of the created node (can be null) |
context | a custom context to use when importing the prim |
translator | the custom translator to use to import the prim |
- Returns
- true if the import succeeded, false otherwise
bool AL::usdmaya::fileio::isSchemaOfType |
( |
const UsdPrim & |
prim, |
|
|
const TfToken & |
typeToken |
|
) |
| |
utility function to determine whether the prim specified is of the given type
- Parameters
-
prim | the prim to query |
typeToken | the type |
- Returns
- true if the specified prim is of the specified type
bool AL::usdmaya::fileio::isSchemaPrim |
( |
const UsdPrim & |
prim | ) |
|
utility function to determine if a prim is one of our custom schema prims
- Parameters
-
- Returns
- return true if the prim is to be handled via custom translators