Skip to content

Commit

Permalink
Updating doc stage.Traverse() comments regarding PrimRange
Browse files Browse the repository at this point in the history
Fixes #222

(Internal change: 2314591)
  • Loading branch information
pixar-oss committed Feb 5, 2024
1 parent ecb5c55 commit b6faf77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pxr/usd/usd/stage.h
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,10 @@ class UsdStage : public TfRefBase, public TfWeakBase {
/// If either a pre-and-post-order traversal or a traversal rooted at a
/// particular prim is desired, construct a UsdPrimRange directly.
///
/// You'll need to use the returned UsdPrimRange's iterator to perform
/// actions such as pruning subtrees. See the "Using Usd.PrimRange in
/// python" section in UsdPrimRange for more details and examples.
///
/// This is equivalent to UsdPrimRange::Stage() .
USD_API
UsdPrimRange Traverse();
Expand Down

0 comments on commit b6faf77

Please sign in to comment.