![]() |
|
Class that implements query functionality needed to demonstrate an invertible rig with switch compensation. More...
#include <query.h>
Public Member Functions | |
| EXEC_INVERTIBLERIGSEXAMPLE_API | InvertibleRigsExample_Query (const UsdStageRefPtr &stage) |
| EXEC_INVERTIBLERIGSEXAMPLE_API UsdAttributeVector | FindSwitchAvars (const TfToken &attributeName) const |
Finds all switch avars that are sources for switch attributes named attributeName. | |
Class that implements query functionality needed to demonstrate an invertible rig with switch compensation.
| EXEC_INVERTIBLERIGSEXAMPLE_API UsdAttributeVector FindSwitchAvars | ( | const TfToken & | attributeName | ) | const |
Finds all switch avars that are sources for switch attributes named attributeName.
Traverses the stage to find all attributes with the given name that have IrRole metdata identifying them as switch attributes. From these attributes, traverses connections to find the unique set of switch avars that are dataflow sources for the found attributes.