AL_USDMaya  0.29.4
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AL::usdmaya::fileio::SchemaPrimsUtils Class Reference

utility class to determine whether a usd transform chain should be created More...

#include <SchemaPrims.h>

Public Member Functions

 SchemaPrimsUtils (fileio::translators::TranslatorManufacture &manufacture)
 ctor More...
 
fileio::translators::TranslatorRefPtr isSchemaPrim (const UsdPrim &prim)
 utility function to determine if a prim is one of our custom schema prims More...
 
bool needsTransformParent (const UsdPrim &prim)
 returns true if the prim specified requires a transform when importing custom nodes into the maya scene More...
 

Detailed Description

utility class to determine whether a usd transform chain should be created

Constructor & Destructor Documentation

AL::usdmaya::fileio::SchemaPrimsUtils::SchemaPrimsUtils ( fileio::translators::TranslatorManufacture manufacture)

ctor

Parameters
manufacturethe translator registry

Member Function Documentation

fileio::translators::TranslatorRefPtr AL::usdmaya::fileio::SchemaPrimsUtils::isSchemaPrim ( const UsdPrim &  prim)

utility function to determine if a prim is one of our custom schema prims

Parameters
primthe USD prim to test
Returns
the corresponding translator of the schema prim
bool AL::usdmaya::fileio::SchemaPrimsUtils::needsTransformParent ( const UsdPrim &  prim)

returns true if the prim specified requires a transform when importing custom nodes into the maya scene

Parameters
primthe USD prim to check
Returns
true if the prim requires a parent transform on import, false otherwise

The documentation for this class was generated from the following file: