SmSdfPathAttribute#

Defined in BREP_SM_USD/inc/SmuAttribute.h

class SmSdfPathAttribute : public SmAttribute#

PURPOSE: A SMLib attribute for UsdBrepArray UsdPrimPath name for preserving PrimPath names during USD<->SMLib translation roundtrips.

NOTES:

Public Functions

inline SmSdfPathAttribute(
ULONG lAttributeId,
SmAttributeBehaviorType eBehavior,
const pxr::SdfPathVector &rMaterialPaths,
)#
inline SmSdfPathAttribute(const SmSdfPathAttribute &crOriginal)#
inline virtual ~SmSdfPathAttribute()#
inline virtual SmAttribute *MakeCopy(
const SmContext &crContext,
) const#
bool AttachAttributeToBrepInstance(
const pxr::SdfPrimSpecHandle &crUsdBrepArraySpecHandle,
pxr::TfToken &tInstanceName,
)#
bool AttachAttributeToXformable(
const pxr::SdfPrimSpecHandle &crUsdBrepArraySpecHandle,
)#
inline pxr::SdfPathVector *GetMaterialPaths()#
inline void SetMaterialPaths(pxr::SdfPathVector &rMaterialPaths)#

Protected Attributes

pxr::SdfPathVector m_sMaterialPaths#