![]() |
This class represents a direct material binding. More...
Public Member Functions | |
| DirectBinding () | |
| Default constructor initializes a DirectBinding object with invalid material and bindingRel data members. More... | |
| USDSHADE_API | DirectBinding (const UsdRelationship &bindingRel) |
| USDSHADE_API UsdShadeMaterial | GetMaterial () const |
| Gets the material object that this direct binding binds to. More... | |
| const SdfPath & | GetMaterialPath () const |
| Returns the path to the material that is bound to by this direct binding. More... | |
| const UsdRelationship & | GetBindingRel () const |
| Returns the binding-relationship that represents this direct binding. More... | |
| const TfToken & | GetMaterialPurpose () const |
| Returns the purpose of the direct binding. More... | |
This class represents a direct material binding.
Definition at line 313 of file materialBindingAPI.h.
|
inline |
Default constructor initializes a DirectBinding object with invalid material and bindingRel data members.
Definition at line 317 of file materialBindingAPI.h.
|
inline |
Returns the binding-relationship that represents this direct binding.
Definition at line 335 of file materialBindingAPI.h.
| USDSHADE_API UsdShadeMaterial GetMaterial | ( | ) | const |
Gets the material object that this direct binding binds to.
|
inline |
Returns the path to the material that is bound to by this direct binding.
Definition at line 329 of file materialBindingAPI.h.
|
inline |
Returns the purpose of the direct binding.
Definition at line 340 of file materialBindingAPI.h.