All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdShadeMaterialBindingAPI::DirectBinding Class Reference

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 SdfPathGetMaterialPath () const
 Returns the path to the material that is bound to by this direct binding. More...
 
const UsdRelationshipGetBindingRel () const
 Returns the binding-relationship that represents this direct binding. More...
 
const TfTokenGetMaterialPurpose () const
 Returns the purpose of the direct binding. More...
 

Detailed Description

This class represents a direct material binding.

Definition at line 292 of file materialBindingAPI.h.

Constructor & Destructor Documentation

DirectBinding ( )
inline

Default constructor initializes a DirectBinding object with invalid material and bindingRel data members.

Definition at line 296 of file materialBindingAPI.h.

Member Function Documentation

const UsdRelationship& GetBindingRel ( ) const
inline

Returns the binding-relationship that represents this direct binding.

Definition at line 314 of file materialBindingAPI.h.

USDSHADE_API UsdShadeMaterial GetMaterial ( ) const

Gets the material object that this direct binding binds to.

const SdfPath& GetMaterialPath ( ) const
inline

Returns the path to the material that is bound to by this direct binding.

Definition at line 308 of file materialBindingAPI.h.

const TfToken& GetMaterialPurpose ( ) const
inline

Returns the purpose of the direct binding.

Definition at line 319 of file materialBindingAPI.h.


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