traverse(at:_:)
Walks the spec tree rooted at the given path, calling body for each spec’s path.
Declaration
func traverse(at path: USDLayer.Path, _ body: (USDLayer.Path) -> Void)Parameters
- path:
The root path to traverse from.
- body:
A closure invoked once per visited path.