|
|
| AL_USDMAYA_DECLARE_TRANSLATOR (TranslatorTestPlugin) |
| |
|
virtual | ~TranslatorBase () |
| | dtor
|
| |
|
TfType | getTranslatedType () const override |
| | returns the translated prim type
|
| |
|
TranslatorContextPtr | context () const |
| | returns the context currently being used to translate the USD prims. The context can be used to add references to prims you have created in your translator plugins
|
| |
| UsdStageRefPtr | getUsdStage () const |
| | return the usd stage associated with this context More...
|
| |
| virtual void | exportCustomAnim (const MDagPath &path, UsdPrim &prim, const UsdTimeCode &timeCode) |
| | override if you have a node that needs to generate animation that cannot be mapped between an MPlug and a UsdAttribute. More...
|
| |
|
virtual | ~TranslatorAbstract () |
| | dtor
|
| |
| virtual bool | needsTransformParent () const |
| | if the custom node type you are importing requires a parent transform (e.g. you are importing a shape node), then this method should return true. If however you do not need a parent transform (e.g. you are importing a texture!), then you can return false here. More...
|
| |
|
virtual UsdPrim | exportObject (UsdStageRefPtr stage, MDagPath dagPath, const SdfPath &usdPath, const ExporterParams ¶ms) |
| |
| virtual bool | supportsUpdate () const |
| | override this method and return true if the translator supports update More...
|
| |
| virtual bool | importableByDefault () const |
| | If a translator is importableByDefault=true, it will always be automatically imported on ProxyShape initialisation. More...
|
| |
| virtual MStatus | update (const UsdPrim &prim) |
| | Optionally override this method to copy the attribute values from the prim onto the Maya nodes you have created. More...
|
| |
|
|
typedef TranslatorBase | This |
| |
|
typedef TfRefPtr< This > | RefPtr |
| |
|
typedef TranslatorAbstract | This |
| | this type
|
| |
|
typedef TfRefPtr< This > | RefPtr |
| | the type of a reference this type
|
| |
|
typedef TfWeakPtr< This > | Ptr |
| | weak pointer to this type
|
| |
| static AL_USDMAYA_PUBLIC RefPtr | manufacture (const std::string &primType, TranslatorContextPtr context)=delete |
| | Internal method used to create a new instance of a plugin translator. More...
|
| |
| virtual void | setTranslatedType (const TfType &translatedType) |
| | internal method. Used within AL_USDMAYA_DEFINE_TRANSLATOR macro to set the schema type of the node we translate. More...
|
| |
| virtual void | setContext (const TranslatorContextPtr context) |
| | internal method. Used within AL_USDMAYA_DEFINE_TRANSLATOR macro to set the translation context More...
|
| |
The documentation for this class was generated from the following file: