Developer Documentation
|
#include <ACG/Scenegraph/SceneGraph.hh>
Public Member Functions | |
SetDrawModesAction (DrawModes::DrawMode _mode, bool _force=false) | |
Set draw modes for all nodes traversed with this action. More... | |
bool | operator() (BaseNode *_node) |
Private Attributes | |
DrawModes::DrawMode | newModes_ |
bool | force_ |
This action sets the draw mode on all nodes in a scenegraph. If the drawMode is not supported by the node, it will set it to default draw mode. If the given mode is the default mode it will be set on all nodes.
Definition at line 638 of file SceneGraph.hh.
|
inline |
Set draw modes for all nodes traversed with this action.
This action can be used to set the drawmodes for all nodes which are traversed using this action.
_mode | The draw mode set for the traversed nodes |
_force | If true, the mode is set ignoring if its supported by the nodes |
Definition at line 650 of file SceneGraph.hh.