A class that follows the visitor pattern to walk through all layer nodes associated with the specified proxy shape node.
More...
#include <LayerVisitor.h>
A class that follows the visitor pattern to walk through all layer nodes associated with the specified proxy shape node.
AL::usdmaya::nodes::LayerVisitor::LayerVisitor |
( |
ProxyShape * |
shape | ) |
|
ctor
- Parameters
-
shape | the proxy shape whose layers you wish to iterate over |
uint32_t AL::usdmaya::nodes::LayerVisitor::depth |
( |
| ) |
const |
|
inline |
returns the recursion depth.
- Returns
- the recursion depth
bool AL::usdmaya::nodes::LayerVisitor::isSubLayer |
( |
| ) |
const |
|
inline |
returns true if the current layer is a sub layer
- Returns
- true if the current layer is a sub layer, false if it's a child layer
Layer* AL::usdmaya::nodes::LayerVisitor::parentLayer |
( |
| ) |
const |
|
inline |
returns the parent of the current layer being visited
- Returns
- the parent of the current layer
Layer* AL::usdmaya::nodes::LayerVisitor::thisLayer |
( |
| ) |
const |
|
inline |
returns the current layer being visited
- Returns
- the current layer
The documentation for this class was generated from the following file: