@Override
    public final void visit(Spatial spatial) {
        if (spatial instanceof Geometry) {
            visit((Geometry)spatial);
        } else {
            visit((Node)spatial);
        }
    }
Called when a {@link Node} is visited.

@param node The visited node
jme3-core/src/main/java/com/jme3/scene/SceneGraphVisitorAdapter.java