public void ignoreChildren() {
        if (current instanceof Node) {
            path.removeLast();
            depth--;
        }
    }
Makes this iterator ignore all children of the current spatial.
The children of the current spatial will not be iterated through.
jme3-core/src/main/java/com/jme3/scene/SceneGraphIterator.java