NAME
Scene::Graph::Traverser - Traverse a Scene::Graph
DESCRIPTION
Traverses a Scene::Graph scene and return a flat array of nodes with all transformations completed.
SYNOPSIS
use Scene::Graph;
my $foo = Scene::Graph->new();
...
ATTRIBUTES
node_list
Array of nodes, created from traversing the scene and applying transformations.
identities
Stack of identity objects representing the state of transformations through the traversal process.
identity
The current identity. Only relevant during traversal.
scene
The scene being traversed.
METHODS
restore
Pop the last identity off the stack and set it as the current one.
save
Push the current identity on to the stack.
AUTHOR
Cory G Watson, <gphat at cpan.org>
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2010 Cold Hard Code, LLC.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
1;