18 #ifndef __HUSD_BindMaterial__
19 #define __HUSD_BindMaterial__
28 template <
typename T>
class UT_Array;
84 int unbind_limit = 1)
const;
94 bool assignMaterialsFromAttribute(
101 bool create_empty_materials)
const;
112 { myBindMethod = method; }
114 {
return myBindMethod; }
118 { myBindCollectionExpand = expand; }
120 {
return myBindCollectionExpand; }
125 { myBindPrimPath = p; }
127 {
return myBindPrimPath; }
134 {
return myBindName; }
146 { myStrength = strength; }
148 {
return myStrength; }
152 { myPurpose = purpose; }
154 {
return myPurpose; }
159 BindMethod myBindMethod;
160 bool myBindCollectionExpand;
const UT_StringHolder & getBindPrimPath() const
BindMethod getBindMethod() const
const UT_StringHolder & getPurpose() const
void setBindCollectionExpand(bool expand)
Sets the collection expansion option when defining collections.
const UT_StringHolder & getBindName() const
void setPurpose(const UT_StringHolder &purpose)
Sets the purpose for material assignments.
BindMethod
Enumeration of the ways in which a binding can be performed.
void setBindPrimPath(const UT_StringRef &p)
Strength
Enumeration of the material binding strength.
void setBindMethod(BindMethod method)
Sets the method of defining bindings.
void setStrength(Strength strength)
Sets the strength preference for material assignments.
void setBindName(const UT_StringRef &n)
**If you just want to fire and args
bool getBindCollectionExpand() const
Strength getStrength() const