usdrt::UsdPrimRange
Defined in usdrt/scenegraph/usd/usd/impl/usd_decl.h
Structs
- iterator
A forward iterator into a UsdPrimRange .
-
class UsdPrimRange
a forward-iterable range that traverses a subtree of prims rooted at a given prim in depth-first order.
TODO Usage example TODO iterator needs more doc details…
Note
post-visit iterators not yet supported.
Public Functions
-
inline UsdPrimRange()
-
UsdPrimRange(const UsdPrim &start)
Create a PrimRange that traverses the subtree rooted at
start
in depth-first order.- Parameters
start – UsdPrim to use as root of traversal.
-
bool empty() const
Check if this range is empty.
- Returns
Return true if this range contains no prims, and false otherwise.
-
explicit operator bool() const
- Returns
Return true if this range contains one or more prims, false otherwise.
-
inline UsdPrimRange()