UsdPrimRange#
Fully qualified name: usdrt::UsdPrimRange
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.
Note
post-visit iterators not yet supported.
Note
The number of prims in the range differs slightly when using Fabric Scene Delegate as
geomSubsets
are not represented as prims.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()#