![]() |
|
A range to iterate over all descendants of a given prim (including the prim itself) in a scene index in depth-first order. More...
Public Types | |
| enum | Order { ChildPrimPaths, Lexicographic } |
Public Member Functions | |
| HD_API | HdSceneIndexPrimView (HdSceneIndexBaseRefPtr const &inputSceneIndex, Order order=ChildPrimPaths) |
| HD_API | HdSceneIndexPrimView (HdSceneIndexBaseRefPtr const &inputSceneIndex, const SdfPath &root, Order order=ChildPrimPaths) |
| HD_API const const_iterator & | begin () const |
| HD_API const const_iterator & | end () const |
A range to iterate over all descendants of a given prim (including the prim itself) in a scene index in depth-first order.
The descendants of the current prim can be skipped by calling SkipDescendants. The order is determined by HdSceneIndex::GetChildPrimPaths by default, but can be changed to the lexicographic order.
Example:
Definition at line 55 of file sceneIndexPrimView.h.