\hypertarget{classACG_1_1SceneGraph_1_1SetDrawModesAction}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Set\+Draw\+Modes\+Action Class Reference}
\label{classACG_1_1SceneGraph_1_1SetDrawModesAction}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action@{A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action}}


{\ttfamily \#include $<$Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/\+Scene\+Graph.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classACG_1_1SceneGraph_1_1SetDrawModesAction_a855dedc5e53e58df0417591a5b179ad4}{Set\+Draw\+Modes\+Action} (const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+mode, bool \+\_\+force=false)
\begin{DoxyCompactList}\small\item\em Set draw modes for all nodes traversed with this action. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1SetDrawModesAction_ac3b5fe6d52984fc404c167517bb86e43}\label{classACG_1_1SceneGraph_1_1SetDrawModesAction_ac3b5fe6d52984fc404c167517bb86e43}} 
bool {\bfseries operator()} (\hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{Base\+Node} $\ast$\+\_\+node)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1SetDrawModesAction_a265b2669eb8ed8020b23a40d74fdfd70}\label{classACG_1_1SceneGraph_1_1SetDrawModesAction_a265b2669eb8ed8020b23a40d74fdfd70}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Modes\+::\+Draw\+Mode} {\bfseries new\+Modes\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1SetDrawModesAction_a985503f8ef2d82acc5decee43c0dc831}\label{classACG_1_1SceneGraph_1_1SetDrawModesAction_a985503f8ef2d82acc5decee43c0dc831}} 
bool {\bfseries force\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This action sets the draw mode on all nodes in a scenegraph. If the draw\+Mode 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.

\begin{DoxyNote}{Note}
This class implements an action that should be used as a parameter for the \hyperlink{namespaceACG_1_1SceneGraph_af10521b6f81a7a588708218d75936f81}{traverse()} functions. 
\end{DoxyNote}


Definition at line 632 of file Scene\+Graph.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1SetDrawModesAction_a855dedc5e53e58df0417591a5b179ad4}\label{classACG_1_1SceneGraph_1_1SetDrawModesAction_a855dedc5e53e58df0417591a5b179ad4}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action@{A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action}!Set\+Draw\+Modes\+Action@{Set\+Draw\+Modes\+Action}}
\index{Set\+Draw\+Modes\+Action@{Set\+Draw\+Modes\+Action}!A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action@{A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action}}
\subsubsection{\texorpdfstring{Set\+Draw\+Modes\+Action()}{SetDrawModesAction()}}
{\footnotesize\ttfamily A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action\+::\+Set\+Draw\+Modes\+Action (\begin{DoxyParamCaption}\item[{const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Modes\+::\+Draw\+Mode} \&}]{\+\_\+mode,  }\item[{bool}]{\+\_\+force = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [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.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mode} & The draw mode set for the traversed nodes \\
\hline
{\em \+\_\+force} & If true, the mode is set ignoring if its supported by the nodes \\
\hline
\end{DoxyParams}


Definition at line 644 of file Scene\+Graph.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/\hyperlink{SceneGraph_8hh}{Scene\+Graph.\+hh}\end{DoxyCompactItemize}
