24 #ifndef PXR_USD_USD_INHERITS_H 25 #define PXR_USD_USD_INHERITS_H 28 #include "pxr/usd/usd/api.h" 33 #include "pxr/usd/sdf/path.h" 35 PXR_NAMESPACE_OPEN_SCOPE
94 explicit operator bool() {
return bool(_prim); }
104 PXR_NAMESPACE_CLOSE_SCOPE
106 #endif // PXR_USD_USD_INHERITS_H USD_API SdfPathVector GetAllDirectInherits() const
Return all the paths in this prim's stage's local layer stack that would compose into this prim via d...
UsdListPosition
Specifies a position to add items to lists.
USD_API bool AddInherit(const SdfPath &primPath, UsdListPosition position=UsdListPositionBackOfPrependList)
Adds a path to the inheritPaths listOp at the current EditTarget, in the position specified by positi...
USD_API bool SetInherits(const SdfPathVector &items)
Explicitly set the inherited paths, potentially blocking weaker opinions that add or remove items,...
A proxy class for applying listOp edits to the inherit paths list for a prim.
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.
Represents a prim description in an SdfLayer object.
const UsdPrim & GetPrim() const
Return the prim this object is bound to.
USD_API bool RemoveInherit(const SdfPath &primPath)
Removes the specified path from the inheritPaths listOp at the current EditTarget.
The position at the back of the prepend list.
USD_API bool ClearInherits()
Removes the authored inheritPaths listOp edits at the current edit target.