|
Functions | |
| bool | importPegTransformations (String filePath) |
| Import transformation data from a USD (Universal Scene Description) or Autodesk Maya ATOM (Animation Transfer Object Model) file into matching scene nodes. More... | |
| bool | exportPegTransformations (String filePath, Object options={}) |
| Export transformation data from scene nodes to a USD (Universal Scene Description) or Autodesk Maya ATOM (Animation Transfer Object Model) file. More... | |
| bool | importTransformations (String node, String filePath) |
| Import transformation data from USD (Universal Scene Description) or Autodesk Maya ATOM (Animation Transfer Object Model) files into a SubNodeMotion node. More... | |
| bool | exportTransformations (String node, String filePath, Object options={}) |
| Export transformation data from a SubNodeMotion node to a USD (Universal Scene Description) or Autodesk Maya ATOM (Animation Transfer Object Model) file. More... | |
| bool | deleteTransformations (String node) |
| Delete the transformation data from a SubNodeMotion node. More... | |
| bool | deleteKeyframes (String node) |
| Delete transformation timeline keyframes from a SubNodeMotion node. More... | |
| bool Subnode::deleteKeyframes | ( | String | node | ) |
Delete transformation timeline keyframes from a SubNodeMotion node.
This will delete timeline keyframes from the SubNodeMotion node. The imported transformation data will not be affected.
| node | The path to the SubNodeMotion node. |
true if the keyframes were deleted successfully. Otherwise false. | bool Subnode::deleteTransformations | ( | String | node | ) |
Delete the transformation data from a SubNodeMotion node.
This will delete the transformation data from the SubNodeMotion node. Timeline keyframes will be deleted as well.
| node | The path to the SubNodeMotion node. |
true if the transformations were deleted successfully. Otherwise false. | bool Subnode::exportPegTransformations | ( | String | filePath, |
| Object | options = {} |
||
| ) |
Export transformation data from scene nodes to a USD (Universal Scene Description) or Autodesk Maya ATOM (Animation Transfer Object Model) file.
Example use:
| filePath | File path for the USD or ATOM file to export transformation data to. The file type is determined from the file extension (e.g. ".usd" or ".atom") | ||||||
| options | (Optional) A dictionary object containing options for the export. Accepted options are:
|
true if the data was exported successfully. Otherwise false. | bool Subnode::exportTransformations | ( | String | node, |
| String | filePath, | ||
| Object | options = {} |
||
| ) |
Export transformation data from a SubNodeMotion node to a USD (Universal Scene Description) or Autodesk Maya ATOM (Animation Transfer Object Model) file.
By default, an existing file will not be overwritten. Use the overwriteExistingFile property for the options parameter if you want to replace data in an existing file.
| node | The path to the SubNodeMotion node. |
| filePath | File path for the USD or ATOM file to export transformation data to. The file type is determined from the file extension (e.g. ".usd" or ".atom") |
| options | (Optional) An export options object with the following properties: |
| Property | Type | Description |
|---|---|---|
| overwriteExistingFile | Boolean | (Optional) Overwrite a file if it already exists. Default value is false. |
| usdIncludeModelAsSublayer | Boolean | (Optional) The exported USD file containing the animation data will reference the original USD model (file) as sub-layer. Default value is false. |
true if the data was imported successfully. Otherwise false. | bool Subnode::importPegTransformations | ( | String | filePath | ) |
Import transformation data from a USD (Universal Scene Description) or Autodesk Maya ATOM (Animation Transfer Object Model) file into matching scene nodes.
| filePath | File path for the USD or ATOM file to import transformation data from. The file type is determined from the file extension (e.g. ".usd" or ".atom") |
true if the data was imported successfully. Otherwise false. | bool Subnode::importTransformations | ( | String | node, |
| String | filePath | ||
| ) |
Import transformation data from USD (Universal Scene Description) or Autodesk Maya ATOM (Animation Transfer Object Model) files into a SubNodeMotion node.
| node | The path to the SubNodeMotion node. |
| filePath | File path for the USD or ATOM file to import transformation data from. The file type is determined from the file extension (e.g. ".usd" or ".atom") |
true if the data was exported successfully. Otherwise false.