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


{\ttfamily \#include $<$A\+C\+G/\+Scenegraph/\+Material\+Node.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00789_a888934ccadeeca032f736535ed682e6a}{\hyperlink{a00789_a888934ccadeeca032f736535ed682e6a}{Material} ()}\label{a00789_a888934ccadeeca032f736535ed682e6a}

\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hypertarget{a00789_a008e1b8c8e51cf49a3a83edd54e70aa0}{virtual \hyperlink{a00789_a008e1b8c8e51cf49a3a83edd54e70aa0}{$\sim$\+Material} ()}\label{a00789_a008e1b8c8e51cf49a3a83edd54e70aa0}

\begin{DoxyCompactList}\small\item\em Deconstructor. \end{DoxyCompactList}\item 
\hypertarget{a00789_aa7dee4bccce0783beff4eb2784ba7fb7}{\hyperlink{a00789_aa7dee4bccce0783beff4eb2784ba7fb7}{Material} (const \hyperlink{a00789}{Material} \&\+\_\+m)}\label{a00789_aa7dee4bccce0783beff4eb2784ba7fb7}

\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\hypertarget{a00789_ab717e8d974d395327c15693c3a729380}{Q\+String {\bfseries serialize\+To\+Json} () const }\label{a00789_ab717e8d974d395327c15693c3a729380}

\item 
\hypertarget{a00789_afd3eeae073db87a7649fb960608b5517}{void {\bfseries deserialize\+From\+Json} (const Q\+String \&json)}\label{a00789_afd3eeae073db87a7649fb960608b5517}

\item 
\hypertarget{a00789_a01638d3350fb12175901c9ae0df79b3a}{void {\bfseries deserialize\+From\+Variant\+Map} (const Q\+Variant\+Map \&mat\+Map)}\label{a00789_a01638d3350fb12175901c9ae0df79b3a}

\item 
void \hyperlink{a00789_a669c1206bb64bb00d0bb8102a6fd3b9d}{color} (const \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+c)
\begin{DoxyCompactList}\small\item\em Set color based on \+\_\+c. \end{DoxyCompactList}\item 
\hypertarget{a00789_a710b2e1c8d1dcdcfd47da8ec3d30dc2d}{void \hyperlink{a00789_a710b2e1c8d1dcdcfd47da8ec3d30dc2d}{generate\+Random\+Color} ()}\label{a00789_a710b2e1c8d1dcdcfd47da8ec3d30dc2d}

\begin{DoxyCompactList}\small\item\em Creates a randomized color and sets it. \end{DoxyCompactList}\item 
\hypertarget{a00789_a80d3a34a659d93d5ec99f4147219fae1}{void \hyperlink{a00789_a80d3a34a659d93d5ec99f4147219fae1}{base\+Color} (const \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+c)}\label{a00789_a80d3a34a659d93d5ec99f4147219fae1}

\begin{DoxyCompactList}\small\item\em set the base color \end{DoxyCompactList}\item 
\hypertarget{a00789_a6632742439fe4b4ec5e1b4ed83965add}{const \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a00789_a6632742439fe4b4ec5e1b4ed83965add}{base\+Color} () const }\label{a00789_a6632742439fe4b4ec5e1b4ed83965add}

\begin{DoxyCompactList}\small\item\em get the base color \end{DoxyCompactList}\item 
\hypertarget{a00789_aa18c2eb33871a1916118c210c1786bb7}{void \hyperlink{a00789_aa18c2eb33871a1916118c210c1786bb7}{ambient\+Color} (const \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+a)}\label{a00789_aa18c2eb33871a1916118c210c1786bb7}

\begin{DoxyCompactList}\small\item\em set the ambient color. \end{DoxyCompactList}\item 
\hypertarget{a00789_a989430343a90a1eb72ca114d4e994dd5}{const \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a00789_a989430343a90a1eb72ca114d4e994dd5}{ambient\+Color} () const }\label{a00789_a989430343a90a1eb72ca114d4e994dd5}

\begin{DoxyCompactList}\small\item\em get the ambient color. \end{DoxyCompactList}\item 
\hypertarget{a00789_af3e854a5b5f59ffea170c5e84f0a604d}{void \hyperlink{a00789_af3e854a5b5f59ffea170c5e84f0a604d}{diffuse\+Color} (const \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+d)}\label{a00789_af3e854a5b5f59ffea170c5e84f0a604d}

\begin{DoxyCompactList}\small\item\em set the diffuse color. \end{DoxyCompactList}\item 
\hypertarget{a00789_a763ac7700fc094d01118a64672f77300}{const \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a00789_a763ac7700fc094d01118a64672f77300}{diffuse\+Color} () const }\label{a00789_a763ac7700fc094d01118a64672f77300}

\begin{DoxyCompactList}\small\item\em get the diffuse color. \end{DoxyCompactList}\item 
\hypertarget{a00789_a866d59dd66fb53eaf21f211e21080d6f}{void \hyperlink{a00789_a866d59dd66fb53eaf21f211e21080d6f}{specular\+Color} (const \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+s)}\label{a00789_a866d59dd66fb53eaf21f211e21080d6f}

\begin{DoxyCompactList}\small\item\em set the specular color \end{DoxyCompactList}\item 
\hypertarget{a00789_a1f2c8939ae67c97c07da8edbe004a590}{const \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a00789_a1f2c8939ae67c97c07da8edbe004a590}{specular\+Color} () const }\label{a00789_a1f2c8939ae67c97c07da8edbe004a590}

\begin{DoxyCompactList}\small\item\em get the specular color \end{DoxyCompactList}\item 
\hypertarget{a00789_ada664cc223f3c1c33a3003fd3af2d76f}{void \hyperlink{a00789_ada664cc223f3c1c33a3003fd3af2d76f}{overlay\+Color} (const \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+s)}\label{a00789_ada664cc223f3c1c33a3003fd3af2d76f}

\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 
\hypertarget{a00789_afac6de303ce20a35bebdd62b68bc216c}{const \hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a00789_afac6de303ce20a35bebdd62b68bc216c}{overlay\+Color} () const }\label{a00789_afac6de303ce20a35bebdd62b68bc216c}

\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 
\hypertarget{a00789_acb2e89ef2ef1e72d623f6194bd17022c}{void \hyperlink{a00789_acb2e89ef2ef1e72d623f6194bd17022c}{color\+Material} (const bool \+\_\+cm)}\label{a00789_acb2e89ef2ef1e72d623f6194bd17022c}

\begin{DoxyCompactList}\small\item\em Set color\+Material. \end{DoxyCompactList}\item 
\hypertarget{a00789_a2d7ac6bbcf63cc27a8753aea880a4822}{void \hyperlink{a00789_a2d7ac6bbcf63cc27a8753aea880a4822}{enable\+Color\+Material} ()}\label{a00789_a2d7ac6bbcf63cc27a8753aea880a4822}

\begin{DoxyCompactList}\small\item\em Enable Color \hyperlink{a00789}{Material}. \end{DoxyCompactList}\item 
\hypertarget{a00789_a5e0dc2375aa919361882f63b044f4631}{void \hyperlink{a00789_a5e0dc2375aa919361882f63b044f4631}{disable\+Color\+Material} ()}\label{a00789_a5e0dc2375aa919361882f63b044f4631}

\begin{DoxyCompactList}\small\item\em Disable Color \hyperlink{a00789}{Material}. \end{DoxyCompactList}\item 
\hypertarget{a00789_a2dbfe8cd4bbd638086d745969233a88c}{bool \hyperlink{a00789_a2dbfe8cd4bbd638086d745969233a88c}{color\+Material} ()}\label{a00789_a2dbfe8cd4bbd638086d745969233a88c}

\begin{DoxyCompactList}\small\item\em get color\+Material state \end{DoxyCompactList}\item 
\hypertarget{a00789_a6c60e84c0b2a2311a8d0455dba3276d6}{void \hyperlink{a00789_a6c60e84c0b2a2311a8d0455dba3276d6}{shininess} (float \+\_\+s)}\label{a00789_a6c60e84c0b2a2311a8d0455dba3276d6}

\begin{DoxyCompactList}\small\item\em set shininess \end{DoxyCompactList}\item 
\hypertarget{a00789_a9279935e8b8d110094bc375f6e069469}{float \hyperlink{a00789_a9279935e8b8d110094bc375f6e069469}{shininess} () const }\label{a00789_a9279935e8b8d110094bc375f6e069469}

\begin{DoxyCompactList}\small\item\em get shininess \end{DoxyCompactList}\item 
\hypertarget{a00789_ac2fb58e1b99fbb23ac30519d3a61b8b3}{void \hyperlink{a00789_ac2fb58e1b99fbb23ac30519d3a61b8b3}{reflectance} (double \+\_\+m)}\label{a00789_ac2fb58e1b99fbb23ac30519d3a61b8b3}

\begin{DoxyCompactList}\small\item\em set reflectance ( not used in Open\+G\+L Rendering) \end{DoxyCompactList}\item 
\hypertarget{a00789_a64e55fd4e751e21945b8efc2c76a14f5}{double \hyperlink{a00789_a64e55fd4e751e21945b8efc2c76a14f5}{reflectance} () const }\label{a00789_a64e55fd4e751e21945b8efc2c76a14f5}

\begin{DoxyCompactList}\small\item\em get reflectance ( not used in Open\+G\+L Rendering) \end{DoxyCompactList}\item 
\hypertarget{a00789_a87503e87142ff6d4bbe9a6ab3a22dfda}{void \hyperlink{a00789_a87503e87142ff6d4bbe9a6ab3a22dfda}{point\+Size} (float \+\_\+sz)}\label{a00789_a87503e87142ff6d4bbe9a6ab3a22dfda}

\begin{DoxyCompactList}\small\item\em set point size (default\+: 1.\+0) \end{DoxyCompactList}\item 
\hypertarget{a00789_ae80c8dc2697037c3e5d0c4dd0e15e0ee}{float \hyperlink{a00789_ae80c8dc2697037c3e5d0c4dd0e15e0ee}{point\+Size} () const }\label{a00789_ae80c8dc2697037c3e5d0c4dd0e15e0ee}

\begin{DoxyCompactList}\small\item\em get point size \end{DoxyCompactList}\item 
\hypertarget{a00789_a227b145c04a36a681bfd30f795497340}{void \hyperlink{a00789_a227b145c04a36a681bfd30f795497340}{line\+Width} (float \+\_\+sz)}\label{a00789_a227b145c04a36a681bfd30f795497340}

\begin{DoxyCompactList}\small\item\em set line width (default\+: 1.\+0) \end{DoxyCompactList}\item 
\hypertarget{a00789_a6067e4b8fcdebe114ba0592ad2757df3}{float \hyperlink{a00789_a6067e4b8fcdebe114ba0592ad2757df3}{line\+Width} () const }\label{a00789_a6067e4b8fcdebe114ba0592ad2757df3}

\begin{DoxyCompactList}\small\item\em get line width \end{DoxyCompactList}\item 
\hypertarget{a00789_a4ad3d26c1fad0fbc52f32340ebf98faa}{void \hyperlink{a00789_a4ad3d26c1fad0fbc52f32340ebf98faa}{round\+Points} (bool \+\_\+b)}\label{a00789_a4ad3d26c1fad0fbc52f32340ebf98faa}

\begin{DoxyCompactList}\small\item\em set\+: round points enabled \end{DoxyCompactList}\item 
\hypertarget{a00789_a0d39fee4500e26a4eaeed76729adbf0a}{bool \hyperlink{a00789_a0d39fee4500e26a4eaeed76729adbf0a}{round\+Points} () const }\label{a00789_a0d39fee4500e26a4eaeed76729adbf0a}

\begin{DoxyCompactList}\small\item\em get\+: round points enabled \end{DoxyCompactList}\item 
\hypertarget{a00789_a99943934af858323e34c93fca76c0960}{void \hyperlink{a00789_a99943934af858323e34c93fca76c0960}{line\+Smooth} (bool \+\_\+b)}\label{a00789_a99943934af858323e34c93fca76c0960}

\begin{DoxyCompactList}\small\item\em set\+: smooth lines enabled \end{DoxyCompactList}\item 
\hypertarget{a00789_aebb19c0adcb82bb89fb935f61912da65}{bool \hyperlink{a00789_aebb19c0adcb82bb89fb935f61912da65}{line\+Smooth} () const }\label{a00789_aebb19c0adcb82bb89fb935f61912da65}

\begin{DoxyCompactList}\small\item\em get\+: rsmooth lines enabled \end{DoxyCompactList}\item 
\hypertarget{a00789_acc3a378813141473781363553b51d977}{void \hyperlink{a00789_acc3a378813141473781363553b51d977}{enable\+Alpha\+Test} (float \+\_\+clip)}\label{a00789_acc3a378813141473781363553b51d977}

\begin{DoxyCompactList}\small\item\em enable alpha test (draw pixels if alpha $>$= \+\_\+clip) \end{DoxyCompactList}\item 
\hypertarget{a00789_a8f8ab0c1e37d5176fdba7bcbdfff8c80}{void \hyperlink{a00789_a8f8ab0c1e37d5176fdba7bcbdfff8c80}{disable\+Alpha\+Test} ()}\label{a00789_a8f8ab0c1e37d5176fdba7bcbdfff8c80}

\begin{DoxyCompactList}\small\item\em disable alpha test \end{DoxyCompactList}\item 
\hypertarget{a00789_a85070dd8e223d567dc03258299e404a3}{bool \hyperlink{a00789_a85070dd8e223d567dc03258299e404a3}{alpha\+Test} () const }\label{a00789_a85070dd8e223d567dc03258299e404a3}

\begin{DoxyCompactList}\small\item\em Return state of Alpha test. \end{DoxyCompactList}\item 
\hypertarget{a00789_ac5261e3f568c9cec4130107e023574fa}{void \hyperlink{a00789_ac5261e3f568c9cec4130107e023574fa}{enable\+Multisampling} ()}\label{a00789_ac5261e3f568c9cec4130107e023574fa}

\begin{DoxyCompactList}\small\item\em Enable Multisampling. \end{DoxyCompactList}\item 
\hypertarget{a00789_a0e9706b13d12b5d3d93e377e68347916}{void \hyperlink{a00789_a0e9706b13d12b5d3d93e377e68347916}{disable\+Multisampling} ()}\label{a00789_a0e9706b13d12b5d3d93e377e68347916}

\begin{DoxyCompactList}\small\item\em enable alpha test (draw pixels if alpha $>$= \+\_\+clip) \end{DoxyCompactList}\item 
\hypertarget{a00789_a929d5c37837dc0e97277166118cdfae7}{bool \hyperlink{a00789_a929d5c37837dc0e97277166118cdfae7}{multi\+Sampling} () const }\label{a00789_a929d5c37837dc0e97277166118cdfae7}

\begin{DoxyCompactList}\small\item\em Get state of multisampling. \end{DoxyCompactList}\item 
\hypertarget{a00789_a8c0ceb622debbe1744354b19bcd46f52}{void \hyperlink{a00789_a8c0ceb622debbe1744354b19bcd46f52}{multisampling} (bool \+\_\+state)}\label{a00789_a8c0ceb622debbe1744354b19bcd46f52}

\begin{DoxyCompactList}\small\item\em Set state of multisampling. \end{DoxyCompactList}\item 
\hypertarget{a00789_ac74641e746457a45373ac2964038963c}{float \hyperlink{a00789_ac74641e746457a45373ac2964038963c}{alpha\+Value} () const }\label{a00789_ac74641e746457a45373ac2964038963c}

\begin{DoxyCompactList}\small\item\em get current alpha value for alpha\+\_\+test \end{DoxyCompactList}\item 
\hypertarget{a00789_a6f9de859f9faa01bd4d6b85a70d2a741}{bool {\bfseries blending} () const }\label{a00789_a6f9de859f9faa01bd4d6b85a70d2a741}

\item 
\hypertarget{a00789_a576ff64b7cd4d3a5b8404520c348be96}{G\+Lenum {\bfseries blending\+Param1} () const }\label{a00789_a576ff64b7cd4d3a5b8404520c348be96}

\item 
\hypertarget{a00789_aa863f602046217249e62465734855c72}{G\+Lenum {\bfseries blending\+Param2} () const }\label{a00789_aa863f602046217249e62465734855c72}

\item 
\hypertarget{a00789_abaf9015ff374ddbacd1bd43ec13db557}{void \hyperlink{a00789_abaf9015ff374ddbacd1bd43ec13db557}{enable\+Blending} (G\+Lenum \+\_\+p1=G\+L\+\_\+\+S\+R\+C\+\_\+\+A\+L\+P\+H\+A, G\+Lenum \+\_\+p2=G\+L\+\_\+\+O\+N\+E\+\_\+\+M\+I\+N\+U\+S\+\_\+\+S\+R\+C\+\_\+\+A\+L\+P\+H\+A)}\label{a00789_abaf9015ff374ddbacd1bd43ec13db557}

\begin{DoxyCompactList}\small\item\em enable blending with Parameters (\+\_\+p1, \+\_\+p2) \end{DoxyCompactList}\item 
\hypertarget{a00789_a41c1a9147c6bd7f1c1245aec91859988}{void \hyperlink{a00789_a41c1a9147c6bd7f1c1245aec91859988}{disable\+Blending} ()}\label{a00789_a41c1a9147c6bd7f1c1245aec91859988}

\begin{DoxyCompactList}\small\item\em disable blending \end{DoxyCompactList}\item 
\hypertarget{a00789_a564d9f2317d8e7014c42241e069f0b27}{bool {\bfseries backface\+Culling} () const }\label{a00789_a564d9f2317d8e7014c42241e069f0b27}

\item 
\hypertarget{a00789_a763be2e061fbcfbd2851790af3a1cf81}{void \hyperlink{a00789_a763be2e061fbcfbd2851790af3a1cf81}{enable\+Backface\+Culling} ()}\label{a00789_a763be2e061fbcfbd2851790af3a1cf81}

\begin{DoxyCompactList}\small\item\em enable backface culling (not active by default, see apply\+Properties) \end{DoxyCompactList}\item 
\hypertarget{a00789_a9e52ba71d91c3316627a42b76e826ec8}{void \hyperlink{a00789_a9e52ba71d91c3316627a42b76e826ec8}{disable\+Backface\+Culling} ()}\label{a00789_a9e52ba71d91c3316627a42b76e826ec8}

\begin{DoxyCompactList}\small\item\em disable backface culling (not active by default, see apply\+Properties) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00789_a57670de4cf4f07268ac8d0cd4e57b326}{static bool {\bfseries support\+\_\+json\+\_\+serialization} ()}\label{a00789_a57670de4cf4f07268ac8d0cd4e57b326}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00789_a6ba085d4d6534f71cc095b11c5029c58}{\hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries base\+Color\+\_\+}}\label{a00789_a6ba085d4d6534f71cc095b11c5029c58}

\item 
\hypertarget{a00789_a8bbbb58cccd919b661464de004f6f0af}{\hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries ambient\+Color\+\_\+}}\label{a00789_a8bbbb58cccd919b661464de004f6f0af}

\item 
\hypertarget{a00789_ae1ca76c656f324e11c0664e11edddc36}{\hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries diffuse\+Color\+\_\+}}\label{a00789_ae1ca76c656f324e11c0664e11edddc36}

\item 
\hypertarget{a00789_a990936ab788b0e3e8467d20611dbd434}{\hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries specular\+Color\+\_\+}}\label{a00789_a990936ab788b0e3e8467d20611dbd434}

\item 
\hypertarget{a00789_a684a590644a580a89ec19e12808f37a4}{\hyperlink{a03336_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries overlay\+Color\+\_\+}}\label{a00789_a684a590644a580a89ec19e12808f37a4}

\item 
\hypertarget{a00789_ae2c427ffc6c0e1f38f5c03ac0fa16510}{float {\bfseries shininess\+\_\+}}\label{a00789_ae2c427ffc6c0e1f38f5c03ac0fa16510}

\item 
\hypertarget{a00789_a033ad30bcff17947db3f33f21c6423cf}{double {\bfseries reflectance\+\_\+}}\label{a00789_a033ad30bcff17947db3f33f21c6423cf}

\item 
\hypertarget{a00789_ae81b83c1f7d753ccc755b227e46ca7cc}{float {\bfseries point\+Size\+\_\+}}\label{a00789_ae81b83c1f7d753ccc755b227e46ca7cc}

\item 
\hypertarget{a00789_a3c5a9ad72d042ab9334a3f3ddfee3679}{float {\bfseries line\+Width\+\_\+}}\label{a00789_a3c5a9ad72d042ab9334a3f3ddfee3679}

\item 
\hypertarget{a00789_ad6fb2af6cf9ccc9d724e486e8de90dc5}{bool {\bfseries round\+Points\+\_\+}}\label{a00789_ad6fb2af6cf9ccc9d724e486e8de90dc5}

\item 
\hypertarget{a00789_aa0ee62c28081d86db84bdad4c3e2e1ae}{bool {\bfseries lines\+Smooth\+\_\+}}\label{a00789_aa0ee62c28081d86db84bdad4c3e2e1ae}

\item 
\hypertarget{a00789_a0600866484ea251704c710a18cc765f9}{bool {\bfseries alpha\+Test\+\_\+}}\label{a00789_a0600866484ea251704c710a18cc765f9}

\item 
\hypertarget{a00789_adf8ab7c3da82960d9040b4ecae5170db}{float {\bfseries alpha\+Clip\+\_\+}}\label{a00789_adf8ab7c3da82960d9040b4ecae5170db}

\item 
\hypertarget{a00789_ac07d08824695219cc899b3c82fdbfeea}{bool {\bfseries blending\+\_\+}}\label{a00789_ac07d08824695219cc899b3c82fdbfeea}

\item 
\hypertarget{a00789_a13ac022371c6f9068d71744558694efe}{G\+Lenum {\bfseries blend\+Param1\+\_\+}}\label{a00789_a13ac022371c6f9068d71744558694efe}

\item 
\hypertarget{a00789_a9a472733c16d9c3565a3c2dd3a8d2733}{G\+Lenum {\bfseries blend\+Param2\+\_\+}}\label{a00789_a9a472733c16d9c3565a3c2dd3a8d2733}

\item 
\hypertarget{a00789_a22d5aabb7ca5e421dffd9d708debac55}{bool {\bfseries color\+Material\+\_\+}}\label{a00789_a22d5aabb7ca5e421dffd9d708debac55}

\item 
\hypertarget{a00789_ac378388f0a28a95cb7564a06420cea56}{bool {\bfseries backface\+Culling\+\_\+}}\label{a00789_ac378388f0a28a95cb7564a06420cea56}

\item 
\hypertarget{a00789_a0a389acef216fc62a406ed564844c69f}{bool {\bfseries multi\+Sampling\+\_\+}}\label{a00789_a0a389acef216fc62a406ed564844c69f}

\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00789_ae7d1155b6ec3369ce7fb9567c9f464da}{class \hyperlink{a00789_ae7d1155b6ec3369ce7fb9567c9f464da}{Material\+Node}}\label{a00789_ae7d1155b6ec3369ce7fb9567c9f464da}

\begin{DoxyCompactList}\small\item\em Materialnode. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

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



\subsection{Member Function Documentation}
\hypertarget{a00789_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[{color}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+Material\+::color (
\begin{DoxyParamCaption}
\item[{const {\bf Vec4f} \&}]{\+\_\+c}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a00789_a669c1206bb64bb00d0bb8102a6fd3b9d}


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 149 of file Material\+Node.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Scenegraph/Material\+Node.\+hh\end{DoxyCompactItemize}
