24 #ifndef PXR_USD_USD_SPECIALIZES_H 25 #define PXR_USD_USD_SPECIALIZES_H 28 #include "pxr/usd/usd/api.h" 33 #include "pxr/usd/sdf/path.h" 35 PXR_NAMESPACE_OPEN_SCOPE
84 explicit operator bool() {
return bool(_prim); }
94 PXR_NAMESPACE_CLOSE_SCOPE
96 #endif //PXR_USD_USD_SPECIALIZES_H USD_API bool ClearSpecializes()
Removes the authored specializes listOp edits at the current edit target.
A proxy class for applying listOp edits to the specializes list for a prim.
UsdListPosition
Specifies a position to add items to lists.
const UsdPrim & GetPrim() const
Return the prim this object is bound to.
USD_API bool SetSpecializes(const SdfPathVector &items)
Explicitly set specializes paths, potentially blocking weaker opinions that add or remove items,...
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
A path value used to locate objects in layers or scenegraphs.
USD_API bool AddSpecialize(const SdfPath &primPath, UsdListPosition position=UsdListPositionBackOfPrependList)
Adds a path to the specializes listOp at the current EditTarget, in the position specified by positio...
Represents a prim description in an SdfLayer object.
USD_API bool RemoveSpecialize(const SdfPath &primPath)
Removes the specified path from the specializes listOp at the current EditTarget.
The position at the back of the prepend list.