\hypertarget{a07828}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Material Class Reference}
\label{a07828}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Material@{A\+C\+G\+::\+Scene\+Graph\+::\+Material}}


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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07828_a888934ccadeeca032f736535ed682e6a}\label{a07828_a888934ccadeeca032f736535ed682e6a}} 
\hyperlink{a07828_a888934ccadeeca032f736535ed682e6a}{Material} ()
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a008e1b8c8e51cf49a3a83edd54e70aa0}\label{a07828_a008e1b8c8e51cf49a3a83edd54e70aa0}} 
virtual \hyperlink{a07828_a008e1b8c8e51cf49a3a83edd54e70aa0}{$\sim$\+Material} ()
\begin{DoxyCompactList}\small\item\em Deconstructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_aa7dee4bccce0783beff4eb2784ba7fb7}\label{a07828_aa7dee4bccce0783beff4eb2784ba7fb7}} 
\hyperlink{a07828_aa7dee4bccce0783beff4eb2784ba7fb7}{Material} (const \hyperlink{a07828}{Material} \&\+\_\+m)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a1b1f006a69c7655be747478ed758d974}\label{a07828_a1b1f006a69c7655be747478ed758d974}} 
Q\+String {\bfseries serialize\+To\+Json} () const
\item 
\mbox{\Hypertarget{a07828_afd3eeae073db87a7649fb960608b5517}\label{a07828_afd3eeae073db87a7649fb960608b5517}} 
void {\bfseries deserialize\+From\+Json} (const Q\+String \&json)
\item 
\mbox{\Hypertarget{a07828_a01638d3350fb12175901c9ae0df79b3a}\label{a07828_a01638d3350fb12175901c9ae0df79b3a}} 
void {\bfseries deserialize\+From\+Variant\+Map} (const Q\+Variant\+Map \&mat\+Map)
\item 
void \hyperlink{a07828_a669c1206bb64bb00d0bb8102a6fd3b9d}{color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+c)
\begin{DoxyCompactList}\small\item\em Set color based on \+\_\+c. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a710b2e1c8d1dcdcfd47da8ec3d30dc2d}\label{a07828_a710b2e1c8d1dcdcfd47da8ec3d30dc2d}} 
void \hyperlink{a07828_a710b2e1c8d1dcdcfd47da8ec3d30dc2d}{generate\+Random\+Color} ()
\begin{DoxyCompactList}\small\item\em Creates a randomized color and sets it. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a80d3a34a659d93d5ec99f4147219fae1}\label{a07828_a80d3a34a659d93d5ec99f4147219fae1}} 
void \hyperlink{a07828_a80d3a34a659d93d5ec99f4147219fae1}{base\+Color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+c)
\begin{DoxyCompactList}\small\item\em set the base color (Sets the base\+Color which is the same as the emission(const Vec4f\& \+\_\+c) ) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a8b48858171aec38e47c9618c82cac0f9}\label{a07828_a8b48858171aec38e47c9618c82cac0f9}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07828_a8b48858171aec38e47c9618c82cac0f9}{base\+Color} () const
\begin{DoxyCompactList}\small\item\em get the base color ( Same as emission() ) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a685ba158a24530e2b259fe257fd79926}\label{a07828_a685ba158a24530e2b259fe257fd79926}} 
void \hyperlink{a07828_a685ba158a24530e2b259fe257fd79926}{emission\+Color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+c)
\begin{DoxyCompactList}\small\item\em set emission ( Same as \hyperlink{a07828_a80d3a34a659d93d5ec99f4147219fae1}{base\+Color( const Vec4f\& \+\_\+c )}) ) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_ad0dd426140d2656070c697829dafe4aa}\label{a07828_ad0dd426140d2656070c697829dafe4aa}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07828_ad0dd426140d2656070c697829dafe4aa}{emission\+Color} () const
\begin{DoxyCompactList}\small\item\em get emission ( Same as \hyperlink{a07828_a80d3a34a659d93d5ec99f4147219fae1}{base\+Color()} ) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_aa18c2eb33871a1916118c210c1786bb7}\label{a07828_aa18c2eb33871a1916118c210c1786bb7}} 
void \hyperlink{a07828_aa18c2eb33871a1916118c210c1786bb7}{ambient\+Color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+a)
\begin{DoxyCompactList}\small\item\em set the ambient color. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a5f63fd303109e5bd9cb99a6245b69bc7}\label{a07828_a5f63fd303109e5bd9cb99a6245b69bc7}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07828_a5f63fd303109e5bd9cb99a6245b69bc7}{ambient\+Color} () const
\begin{DoxyCompactList}\small\item\em get the ambient color. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_af3e854a5b5f59ffea170c5e84f0a604d}\label{a07828_af3e854a5b5f59ffea170c5e84f0a604d}} 
void \hyperlink{a07828_af3e854a5b5f59ffea170c5e84f0a604d}{diffuse\+Color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+d)
\begin{DoxyCompactList}\small\item\em set the diffuse color. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_ade32a3280ebe6e5566fa105cee55b74f}\label{a07828_ade32a3280ebe6e5566fa105cee55b74f}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07828_ade32a3280ebe6e5566fa105cee55b74f}{diffuse\+Color} () const
\begin{DoxyCompactList}\small\item\em get the diffuse color. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a866d59dd66fb53eaf21f211e21080d6f}\label{a07828_a866d59dd66fb53eaf21f211e21080d6f}} 
void \hyperlink{a07828_a866d59dd66fb53eaf21f211e21080d6f}{specular\+Color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+s)
\begin{DoxyCompactList}\small\item\em set the specular color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a0ae1b9e9aad3a8d6807e9672de9715ad}\label{a07828_a0ae1b9e9aad3a8d6807e9672de9715ad}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07828_a0ae1b9e9aad3a8d6807e9672de9715ad}{specular\+Color} () const
\begin{DoxyCompactList}\small\item\em get the specular color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_ada664cc223f3c1c33a3003fd3af2d76f}\label{a07828_ada664cc223f3c1c33a3003fd3af2d76f}} 
void \hyperlink{a07828_ada664cc223f3c1c33a3003fd3af2d76f}{overlay\+Color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+s)
\begin{DoxyCompactList}\small\item\em set the overlay color (This can be used to render overlays e.\+g. additional wireframes in a different color) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a00c3ed35e18e5726c9c38f3a474157cd}\label{a07828_a00c3ed35e18e5726c9c38f3a474157cd}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07828_a00c3ed35e18e5726c9c38f3a474157cd}{overlay\+Color} () const
\begin{DoxyCompactList}\small\item\em get the overlay color (This can be used to render overlays e.\+g. additional wireframes in a different color) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_acb2e89ef2ef1e72d623f6194bd17022c}\label{a07828_acb2e89ef2ef1e72d623f6194bd17022c}} 
void \hyperlink{a07828_acb2e89ef2ef1e72d623f6194bd17022c}{color\+Material} (const bool \+\_\+cm)
\begin{DoxyCompactList}\small\item\em Set color\+Material. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a2d7ac6bbcf63cc27a8753aea880a4822}\label{a07828_a2d7ac6bbcf63cc27a8753aea880a4822}} 
void \hyperlink{a07828_a2d7ac6bbcf63cc27a8753aea880a4822}{enable\+Color\+Material} ()
\begin{DoxyCompactList}\small\item\em Enable Color \hyperlink{a07828}{Material}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a5e0dc2375aa919361882f63b044f4631}\label{a07828_a5e0dc2375aa919361882f63b044f4631}} 
void \hyperlink{a07828_a5e0dc2375aa919361882f63b044f4631}{disable\+Color\+Material} ()
\begin{DoxyCompactList}\small\item\em Disable Color \hyperlink{a07828}{Material}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a2dbfe8cd4bbd638086d745969233a88c}\label{a07828_a2dbfe8cd4bbd638086d745969233a88c}} 
bool \hyperlink{a07828_a2dbfe8cd4bbd638086d745969233a88c}{color\+Material} ()
\begin{DoxyCompactList}\small\item\em get color\+Material state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a6c60e84c0b2a2311a8d0455dba3276d6}\label{a07828_a6c60e84c0b2a2311a8d0455dba3276d6}} 
void \hyperlink{a07828_a6c60e84c0b2a2311a8d0455dba3276d6}{shininess} (float \+\_\+s)
\begin{DoxyCompactList}\small\item\em set shininess \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a85c8f50e9257fdaa76eb4fd572376deb}\label{a07828_a85c8f50e9257fdaa76eb4fd572376deb}} 
float \hyperlink{a07828_a85c8f50e9257fdaa76eb4fd572376deb}{shininess} () const
\begin{DoxyCompactList}\small\item\em get shininess \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_ac2fb58e1b99fbb23ac30519d3a61b8b3}\label{a07828_ac2fb58e1b99fbb23ac30519d3a61b8b3}} 
void \hyperlink{a07828_ac2fb58e1b99fbb23ac30519d3a61b8b3}{reflectance} (double \+\_\+m)
\begin{DoxyCompactList}\small\item\em set reflectance ( not used in Open\+GL Rendering) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_ac689e5833f0fc4873816b9039d10af42}\label{a07828_ac689e5833f0fc4873816b9039d10af42}} 
double \hyperlink{a07828_ac689e5833f0fc4873816b9039d10af42}{reflectance} () const
\begin{DoxyCompactList}\small\item\em get reflectance ( not used in Open\+GL Rendering) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a4089eaa74da655b819315963c1fd220e}\label{a07828_a4089eaa74da655b819315963c1fd220e}} 
void \hyperlink{a07828_a4089eaa74da655b819315963c1fd220e}{index\+Of\+Refraction} (double \+\_\+m)
\begin{DoxyCompactList}\small\item\em set index of refraction \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a811e7e2379f0824b389186d6d035fb23}\label{a07828_a811e7e2379f0824b389186d6d035fb23}} 
double \hyperlink{a07828_a811e7e2379f0824b389186d6d035fb23}{index\+Of\+Refraction} () const
\begin{DoxyCompactList}\small\item\em get index of refraction ( not used in Open\+GL Rendering) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a1b4eddabb35f8bcbeab9b56c6bffb032}\label{a07828_a1b4eddabb35f8bcbeab9b56c6bffb032}} 
void \hyperlink{a07828_a1b4eddabb35f8bcbeab9b56c6bffb032}{set\+Refractive} (bool \+\_\+r)
\begin{DoxyCompactList}\small\item\em set refractive flag \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a07d64ff283da64f7bf8db1118cc63746}\label{a07828_a07d64ff283da64f7bf8db1118cc63746}} 
bool \hyperlink{a07828_a07d64ff283da64f7bf8db1118cc63746}{is\+Refractive} () const
\begin{DoxyCompactList}\small\item\em get refractive flag \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a87503e87142ff6d4bbe9a6ab3a22dfda}\label{a07828_a87503e87142ff6d4bbe9a6ab3a22dfda}} 
void \hyperlink{a07828_a87503e87142ff6d4bbe9a6ab3a22dfda}{point\+Size} (float \+\_\+sz)
\begin{DoxyCompactList}\small\item\em set point size (default\+: 1.\+0) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a8aefb3cac5d519821c2d67cece08f12e}\label{a07828_a8aefb3cac5d519821c2d67cece08f12e}} 
float \hyperlink{a07828_a8aefb3cac5d519821c2d67cece08f12e}{point\+Size} () const
\begin{DoxyCompactList}\small\item\em get point size \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a227b145c04a36a681bfd30f795497340}\label{a07828_a227b145c04a36a681bfd30f795497340}} 
void \hyperlink{a07828_a227b145c04a36a681bfd30f795497340}{line\+Width} (float \+\_\+sz)
\begin{DoxyCompactList}\small\item\em set line width (default\+: 1.\+0) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_aae8ca78934ef66b49e1cc0f70ad3881d}\label{a07828_aae8ca78934ef66b49e1cc0f70ad3881d}} 
float \hyperlink{a07828_aae8ca78934ef66b49e1cc0f70ad3881d}{line\+Width} () const
\begin{DoxyCompactList}\small\item\em get line width \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a4ad3d26c1fad0fbc52f32340ebf98faa}\label{a07828_a4ad3d26c1fad0fbc52f32340ebf98faa}} 
void \hyperlink{a07828_a4ad3d26c1fad0fbc52f32340ebf98faa}{round\+Points} (bool \+\_\+b)
\begin{DoxyCompactList}\small\item\em set\+: round points enabled \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a297ca6935c2cda302059ae7c503bf70b}\label{a07828_a297ca6935c2cda302059ae7c503bf70b}} 
bool \hyperlink{a07828_a297ca6935c2cda302059ae7c503bf70b}{round\+Points} () const
\begin{DoxyCompactList}\small\item\em get\+: round points enabled \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a99943934af858323e34c93fca76c0960}\label{a07828_a99943934af858323e34c93fca76c0960}} 
void \hyperlink{a07828_a99943934af858323e34c93fca76c0960}{line\+Smooth} (bool \+\_\+b)
\begin{DoxyCompactList}\small\item\em set\+: smooth lines enabled \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_ab9c06b80978009a2f91ac9e12f35bf04}\label{a07828_ab9c06b80978009a2f91ac9e12f35bf04}} 
bool \hyperlink{a07828_ab9c06b80978009a2f91ac9e12f35bf04}{line\+Smooth} () const
\begin{DoxyCompactList}\small\item\em get\+: rsmooth lines enabled \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_acc3a378813141473781363553b51d977}\label{a07828_acc3a378813141473781363553b51d977}} 
void \hyperlink{a07828_acc3a378813141473781363553b51d977}{enable\+Alpha\+Test} (float \+\_\+clip)
\begin{DoxyCompactList}\small\item\em enable alpha test (draw pixels if alpha $>$= \+\_\+clip) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a8f8ab0c1e37d5176fdba7bcbdfff8c80}\label{a07828_a8f8ab0c1e37d5176fdba7bcbdfff8c80}} 
void \hyperlink{a07828_a8f8ab0c1e37d5176fdba7bcbdfff8c80}{disable\+Alpha\+Test} ()
\begin{DoxyCompactList}\small\item\em disable alpha test \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a7b849ac409efdb9f55b193f1f03b8503}\label{a07828_a7b849ac409efdb9f55b193f1f03b8503}} 
bool \hyperlink{a07828_a7b849ac409efdb9f55b193f1f03b8503}{alpha\+Test} () const
\begin{DoxyCompactList}\small\item\em Return state of Alpha test. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_ac5261e3f568c9cec4130107e023574fa}\label{a07828_ac5261e3f568c9cec4130107e023574fa}} 
void \hyperlink{a07828_ac5261e3f568c9cec4130107e023574fa}{enable\+Multisampling} ()
\begin{DoxyCompactList}\small\item\em Enable Multisampling. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a0e9706b13d12b5d3d93e377e68347916}\label{a07828_a0e9706b13d12b5d3d93e377e68347916}} 
void \hyperlink{a07828_a0e9706b13d12b5d3d93e377e68347916}{disable\+Multisampling} ()
\begin{DoxyCompactList}\small\item\em enable alpha test (draw pixels if alpha $>$= \+\_\+clip) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a8ea3d90cd36a5e5a181cce15bb916db1}\label{a07828_a8ea3d90cd36a5e5a181cce15bb916db1}} 
bool \hyperlink{a07828_a8ea3d90cd36a5e5a181cce15bb916db1}{multi\+Sampling} () const
\begin{DoxyCompactList}\small\item\em Get state of multisampling. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a8c0ceb622debbe1744354b19bcd46f52}\label{a07828_a8c0ceb622debbe1744354b19bcd46f52}} 
void \hyperlink{a07828_a8c0ceb622debbe1744354b19bcd46f52}{multisampling} (bool \+\_\+state)
\begin{DoxyCompactList}\small\item\em Set state of multisampling. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_aaa9a7bed0e646bff58d6f6dc84846424}\label{a07828_aaa9a7bed0e646bff58d6f6dc84846424}} 
float \hyperlink{a07828_aaa9a7bed0e646bff58d6f6dc84846424}{alpha\+Value} () const
\begin{DoxyCompactList}\small\item\em get current alpha value for alpha\+\_\+test \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a48d160b9a9ac59062a457526cef6c21c}\label{a07828_a48d160b9a9ac59062a457526cef6c21c}} 
bool {\bfseries blending} () const
\item 
\mbox{\Hypertarget{a07828_a01403a497118234f9b593d0e0c97a933}\label{a07828_a01403a497118234f9b593d0e0c97a933}} 
G\+Lenum {\bfseries blending\+Param1} () const
\item 
\mbox{\Hypertarget{a07828_a8d269cdde2cd4deef79c23bc36e66ea4}\label{a07828_a8d269cdde2cd4deef79c23bc36e66ea4}} 
G\+Lenum {\bfseries blending\+Param2} () const
\item 
\mbox{\Hypertarget{a07828_abaf9015ff374ddbacd1bd43ec13db557}\label{a07828_abaf9015ff374ddbacd1bd43ec13db557}} 
void \hyperlink{a07828_abaf9015ff374ddbacd1bd43ec13db557}{enable\+Blending} (G\+Lenum \+\_\+p1=G\+L\+\_\+\+S\+R\+C\+\_\+\+A\+L\+P\+HA, G\+Lenum \+\_\+p2=G\+L\+\_\+\+O\+N\+E\+\_\+\+M\+I\+N\+U\+S\+\_\+\+S\+R\+C\+\_\+\+A\+L\+P\+HA)
\begin{DoxyCompactList}\small\item\em enable blending with Parameters (\+\_\+p1, \+\_\+p2) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a41c1a9147c6bd7f1c1245aec91859988}\label{a07828_a41c1a9147c6bd7f1c1245aec91859988}} 
void \hyperlink{a07828_a41c1a9147c6bd7f1c1245aec91859988}{disable\+Blending} ()
\begin{DoxyCompactList}\small\item\em disable blending \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a6a1c5a38eacf0a8f36b5126fb388c475}\label{a07828_a6a1c5a38eacf0a8f36b5126fb388c475}} 
bool {\bfseries backface\+Culling} () const
\item 
\mbox{\Hypertarget{a07828_a763be2e061fbcfbd2851790af3a1cf81}\label{a07828_a763be2e061fbcfbd2851790af3a1cf81}} 
void \hyperlink{a07828_a763be2e061fbcfbd2851790af3a1cf81}{enable\+Backface\+Culling} ()
\begin{DoxyCompactList}\small\item\em enable backface culling (not active by default, see apply\+Properties) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a9e52ba71d91c3316627a42b76e826ec8}\label{a07828_a9e52ba71d91c3316627a42b76e826ec8}} 
void \hyperlink{a07828_a9e52ba71d91c3316627a42b76e826ec8}{disable\+Backface\+Culling} ()
\begin{DoxyCompactList}\small\item\em disable backface culling (not active by default, see apply\+Properties) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07828_a084db710b3a3bcb69e23f7303dcc00e5}\label{a07828_a084db710b3a3bcb69e23f7303dcc00e5}} 
bool {\bfseries is\+Emissive} () const
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07828_adb31fb16cf7d37a4f1129951a4d85c96}\label{a07828_adb31fb16cf7d37a4f1129951a4d85c96}} 
static bool {\bfseries support\+\_\+json\+\_\+serialization} ()
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07828_a6ba085d4d6534f71cc095b11c5029c58}\label{a07828_a6ba085d4d6534f71cc095b11c5029c58}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries base\+Color\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a8bbbb58cccd919b661464de004f6f0af}\label{a07828_a8bbbb58cccd919b661464de004f6f0af}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries ambient\+Color\+\_\+}
\item 
\mbox{\Hypertarget{a07828_ae1ca76c656f324e11c0664e11edddc36}\label{a07828_ae1ca76c656f324e11c0664e11edddc36}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries diffuse\+Color\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a990936ab788b0e3e8467d20611dbd434}\label{a07828_a990936ab788b0e3e8467d20611dbd434}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries specular\+Color\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a684a590644a580a89ec19e12808f37a4}\label{a07828_a684a590644a580a89ec19e12808f37a4}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries overlay\+Color\+\_\+}
\item 
\mbox{\Hypertarget{a07828_ae2c427ffc6c0e1f38f5c03ac0fa16510}\label{a07828_ae2c427ffc6c0e1f38f5c03ac0fa16510}} 
float {\bfseries shininess\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a033ad30bcff17947db3f33f21c6423cf}\label{a07828_a033ad30bcff17947db3f33f21c6423cf}} 
double {\bfseries reflectance\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a3681feec90b24cf5260c8af9b795ab42}\label{a07828_a3681feec90b24cf5260c8af9b795ab42}} 
double {\bfseries index\+Of\+Refraction\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a28e15b4b93786988239bda7af0c06b19}\label{a07828_a28e15b4b93786988239bda7af0c06b19}} 
bool {\bfseries is\+Refractive\+\_\+}
\item 
\mbox{\Hypertarget{a07828_ae81b83c1f7d753ccc755b227e46ca7cc}\label{a07828_ae81b83c1f7d753ccc755b227e46ca7cc}} 
float {\bfseries point\+Size\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a3c5a9ad72d042ab9334a3f3ddfee3679}\label{a07828_a3c5a9ad72d042ab9334a3f3ddfee3679}} 
float {\bfseries line\+Width\+\_\+}
\item 
\mbox{\Hypertarget{a07828_ad6fb2af6cf9ccc9d724e486e8de90dc5}\label{a07828_ad6fb2af6cf9ccc9d724e486e8de90dc5}} 
bool {\bfseries round\+Points\+\_\+}
\item 
\mbox{\Hypertarget{a07828_aa0ee62c28081d86db84bdad4c3e2e1ae}\label{a07828_aa0ee62c28081d86db84bdad4c3e2e1ae}} 
bool {\bfseries lines\+Smooth\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a0600866484ea251704c710a18cc765f9}\label{a07828_a0600866484ea251704c710a18cc765f9}} 
bool {\bfseries alpha\+Test\+\_\+}
\item 
\mbox{\Hypertarget{a07828_adf8ab7c3da82960d9040b4ecae5170db}\label{a07828_adf8ab7c3da82960d9040b4ecae5170db}} 
float {\bfseries alpha\+Clip\+\_\+}
\item 
\mbox{\Hypertarget{a07828_ac07d08824695219cc899b3c82fdbfeea}\label{a07828_ac07d08824695219cc899b3c82fdbfeea}} 
bool {\bfseries blending\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a13ac022371c6f9068d71744558694efe}\label{a07828_a13ac022371c6f9068d71744558694efe}} 
G\+Lenum {\bfseries blend\+Param1\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a9a472733c16d9c3565a3c2dd3a8d2733}\label{a07828_a9a472733c16d9c3565a3c2dd3a8d2733}} 
G\+Lenum {\bfseries blend\+Param2\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a22d5aabb7ca5e421dffd9d708debac55}\label{a07828_a22d5aabb7ca5e421dffd9d708debac55}} 
bool {\bfseries color\+Material\+\_\+}
\item 
\mbox{\Hypertarget{a07828_ac378388f0a28a95cb7564a06420cea56}\label{a07828_ac378388f0a28a95cb7564a06420cea56}} 
bool {\bfseries backface\+Culling\+\_\+}
\item 
\mbox{\Hypertarget{a07828_a0a389acef216fc62a406ed564844c69f}\label{a07828_a0a389acef216fc62a406ed564844c69f}} 
bool {\bfseries multi\+Sampling\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07828_ae7d1155b6ec3369ce7fb9567c9f464da}\label{a07828_ae7d1155b6ec3369ce7fb9567c9f464da}} 
class \hyperlink{a07828_ae7d1155b6ec3369ce7fb9567c9f464da}{Material\+Node}
\begin{DoxyCompactList}\small\item\em Materialnode. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class to store the properties of a material. 

Definition at line 79 of file Material\+Node.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07828_a669c1206bb64bb00d0bb8102a6fd3b9d}\label{a07828_a669c1206bb64bb00d0bb8102a6fd3b9d}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Material@{A\+C\+G\+::\+Scene\+Graph\+::\+Material}!color@{color}}
\index{color@{color}!A\+C\+G\+::\+Scene\+Graph\+::\+Material@{A\+C\+G\+::\+Scene\+Graph\+::\+Material}}
\subsubsection{\texorpdfstring{color()}{color()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Scene\+Graph\+::\+Material\+::color (\begin{DoxyParamCaption}\item[{const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&}]{\+\_\+c }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set color based on \+\_\+c. 

Basecolor (which is the emitted color is set to zero) The other colors are based on the given color \+\_\+c


\begin{DoxyParams}{Parameters}
{\em \+\_\+c} & Sample color used to compute the other color components (ambient, diffuse, specular) \\
\hline
\end{DoxyParams}


Definition at line 147 of file Material\+Node.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/Material\+Node.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/Material\+Node.\+cc\end{DoxyCompactItemize}
