This struct is used to represent a collection-based material binding, which contains two objects - a collection and a bound material.
More...
This struct is used to represent a collection-based material binding, which contains two objects - a collection and a bound material.
Definition at line 370 of file materialBindingAPI.h.
◆ CollectionBinding() [1/2]
◆ CollectionBinding() [2/2]
Constructs a CollectionBinding object from the given collection- binding relationship.
This inspects the targets of the relationship and determines the bound collection and the target material that the collection is bound to.
◆ GetBindingRel()
Returns the binding-relationship that represents this collection- based binding.
Definition at line 416 of file materialBindingAPI.h.
◆ GetCollection()
Constructs and returns the CollectionAPI object for the collection that is bound by this collection-binding.
◆ GetCollectionPath()
const SdfPath& GetCollectionPath |
( |
| ) |
const |
|
inline |
Returns the path to the collection that is bound by this binding.
Definition at line 405 of file materialBindingAPI.h.
◆ GetMaterial()
Constructs and returns the material object that this collection-based binding binds to.
◆ GetMaterialPath()
const SdfPath& GetMaterialPath |
( |
| ) |
const |
|
inline |
Returns the path to the material that is bound to by this binding.
Definition at line 410 of file materialBindingAPI.h.
◆ IsCollectionBindingRel()
static USDSHADE_API bool IsCollectionBindingRel |
( |
const UsdRelationship & |
bindingRel | ) |
|
|
static |
Checks if the bindingRel
identifies a collection.
◆ IsValid()
The documentation for this class was generated from the following file: