\hypertarget{a00790}{\section{A\+C\+G\+:\+:Scene\+Graph\+:\+:A\+C\+G\+:\+:Scene\+Graph\+:\+:Material Class Reference}
\label{a00790}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00790_a4fed5c1d0b57a365aeeb388128f2c96e}{\hyperlink{a00790_a4fed5c1d0b57a365aeeb388128f2c96e}{Material} ()}\label{a00790_a4fed5c1d0b57a365aeeb388128f2c96e}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

\item 
\hypertarget{a00790_a7be3bc7046e854e23f61fb42fe77fa1f}{void \hyperlink{a00790_a7be3bc7046e854e23f61fb42fe77fa1f}{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{a00790_a7be3bc7046e854e23f61fb42fe77fa1f}

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

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

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

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

\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{a00790_adb31fb16cf7d37a4f1129951a4d85c96}{static bool {\bfseries support\+\_\+json\+\_\+serialization} ()}\label{a00790_adb31fb16cf7d37a4f1129951a4d85c96}

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

\item 
\hypertarget{a00790_a495c13307a02856a545db20f8769fa4b}{\hyperlink{a01409}{Vec4f} {\bfseries ambient\+Color\+\_\+}}\label{a00790_a495c13307a02856a545db20f8769fa4b}

\item 
\hypertarget{a00790_aa560ae4f75b8074c2c5f08ac8aaea919}{\hyperlink{a01409}{Vec4f} {\bfseries diffuse\+Color\+\_\+}}\label{a00790_aa560ae4f75b8074c2c5f08ac8aaea919}

\item 
\hypertarget{a00790_ad9eccdc32111f228b278a74faf93fb48}{\hyperlink{a01409}{Vec4f} {\bfseries specular\+Color\+\_\+}}\label{a00790_ad9eccdc32111f228b278a74faf93fb48}

\item 
\hypertarget{a00790_a1184d2b079e301e2364cdf97b3a95f06}{\hyperlink{a01409}{Vec4f} {\bfseries overlay\+Color\+\_\+}}\label{a00790_a1184d2b079e301e2364cdf97b3a95f06}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00790_ae7d1155b6ec3369ce7fb9567c9f464da}{class \hyperlink{a00790_ae7d1155b6ec3369ce7fb9567c9f464da}{Material\+Node}}\label{a00790_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 Mesh\+Node2\+T.\+cc.



\subsection{Member Function Documentation}
\hypertarget{a00790_afcbdffdc3219344ec012fea645eee25e}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material}!color@{color}}
\index{color@{color}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material}}
\subsubsection[{color}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+::color (
\begin{DoxyParamCaption}
\item[{const {\bf Vec4f} \&}]{\+\_\+c}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a00790_afcbdffdc3219344ec012fea645eee25e}


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 Mesh\+Node2\+T.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Scenegraph/Mesh\+Node2\+T.\+cc\item 
A\+C\+G/\+Scenegraph/Material\+Node.\+cc\end{DoxyCompactItemize}
