Loading...
Searching...
No Matches
InvertibleRigsExample_Query Class Reference

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.
 

Detailed Description

Class that implements query functionality needed to demonstrate an invertible rig with switch compensation.

Definition at line 21 of file query.h.

Member Function Documentation

◆ FindSwitchAvars()

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.


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