PageRenderTime 24ms CodeModel.GetById 10ms RepoModel.GetById 1ms app.codeStats 0ms

/build/javadoc/core/processing/core/PMaterial.html

https://gitlab.com/dannywillems/Arduino
HTML | 638 lines | 548 code | 67 blank | 23 comment | 0 complexity | cdb696e07014c1e8ac1811b8b3ef2e67 MD5 | raw file
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <TITLE>
  6. PMaterial
  7. </TITLE>
  8. <META NAME="keywords" CONTENT="processing.core.PMaterial class">
  9. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
  10. <SCRIPT type="text/javascript">
  11. function windowTitle()
  12. {
  13. parent.document.title="PMaterial";
  14. }
  15. </SCRIPT>
  16. <NOSCRIPT>
  17. </NOSCRIPT>
  18. </HEAD>
  19. <BODY BGCOLOR="white" onload="windowTitle();">
  20. <!-- ========= START OF TOP NAVBAR ======= -->
  21. <A NAME="navbar_top"><!-- --></A>
  22. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  23. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  24. <TR>
  25. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  26. <A NAME="navbar_top_firstrow"><!-- --></A>
  27. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  28. <TR ALIGN="center" VALIGN="top">
  29. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../processing/core/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  30. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  32. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  35. </TR>
  36. </TABLE>
  37. </TD>
  38. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  39. </EM>
  40. </TD>
  41. </TR>
  42. <TR>
  43. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  44. &nbsp;<A HREF="../../processing/core/PLine.html" title="class in processing.core"><B>PREV CLASS</B></A>&nbsp;
  45. &nbsp;<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core"><B>NEXT CLASS</B></A></FONT></TD>
  46. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  47. <A HREF="../../index.html?processing/core/PMaterial.html" target="_top"><B>FRAMES</B></A> &nbsp;
  48. &nbsp;<A HREF="PMaterial.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  49. &nbsp;<SCRIPT type="text/javascript">
  50. <!--
  51. if(window==top) {
  52. document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
  53. }
  54. //-->
  55. </SCRIPT>
  56. <NOSCRIPT>
  57. <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
  58. </NOSCRIPT>
  59. </FONT></TD>
  60. </TR>
  61. <TR>
  62. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  63. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  64. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  65. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  66. </TR>
  67. </TABLE>
  68. <A NAME="skip-navbar_top"></A>
  69. <!-- ========= END OF TOP NAVBAR ========= -->
  70. <HR>
  71. <!-- ======== START OF CLASS DATA ======== -->
  72. <H2>
  73. <FONT SIZE="-1">
  74. processing.core</FONT>
  75. <BR>
  76. Class PMaterial</H2>
  77. <PRE>
  78. java.lang.Object
  79. <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>processing.core.PMaterial</B>
  80. </PRE>
  81. <HR>
  82. <DL>
  83. <DT><PRE>public class <B>PMaterial</B><DT>extends java.lang.Object</DL>
  84. </PRE>
  85. <P>
  86. <HR>
  87. <P>
  88. <!-- =========== FIELD SUMMARY =========== -->
  89. <A NAME="field_summary"><!-- --></A>
  90. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  91. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  92. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  93. <B>Field Summary</B></FONT></TH>
  94. </TR>
  95. <TR BGCOLOR="white" CLASS="TableRowColor">
  96. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  97. <CODE>&nbsp;float</CODE></FONT></TD>
  98. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#ambientB">ambientB</A></B></CODE>
  99. <BR>
  100. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ka parameters of the material.</TD>
  101. </TR>
  102. <TR BGCOLOR="white" CLASS="TableRowColor">
  103. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  104. <CODE>&nbsp;float</CODE></FONT></TD>
  105. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#ambientG">ambientG</A></B></CODE>
  106. <BR>
  107. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ka parameters of the material.</TD>
  108. </TR>
  109. <TR BGCOLOR="white" CLASS="TableRowColor">
  110. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  111. <CODE>&nbsp;float</CODE></FONT></TD>
  112. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#ambientR">ambientR</A></B></CODE>
  113. <BR>
  114. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ka parameters of the material.</TD>
  115. </TR>
  116. <TR BGCOLOR="white" CLASS="TableRowColor">
  117. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  118. <CODE>&nbsp;float</CODE></FONT></TD>
  119. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#diffuseB">diffuseB</A></B></CODE>
  120. <BR>
  121. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kd parameters of the material</TD>
  122. </TR>
  123. <TR BGCOLOR="white" CLASS="TableRowColor">
  124. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  125. <CODE>&nbsp;float</CODE></FONT></TD>
  126. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#diffuseG">diffuseG</A></B></CODE>
  127. <BR>
  128. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kd parameters of the material</TD>
  129. </TR>
  130. <TR BGCOLOR="white" CLASS="TableRowColor">
  131. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  132. <CODE>&nbsp;float</CODE></FONT></TD>
  133. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#diffuseR">diffuseR</A></B></CODE>
  134. <BR>
  135. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kd parameters of the material</TD>
  136. </TR>
  137. <TR BGCOLOR="white" CLASS="TableRowColor">
  138. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  139. <CODE>&nbsp;float</CODE></FONT></TD>
  140. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#emissiveB">emissiveB</A></B></CODE>
  141. <BR>
  142. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ke parameters of the material</TD>
  143. </TR>
  144. <TR BGCOLOR="white" CLASS="TableRowColor">
  145. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  146. <CODE>&nbsp;float</CODE></FONT></TD>
  147. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#emissiveG">emissiveG</A></B></CODE>
  148. <BR>
  149. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ke parameters of the material</TD>
  150. </TR>
  151. <TR BGCOLOR="white" CLASS="TableRowColor">
  152. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  153. <CODE>&nbsp;float</CODE></FONT></TD>
  154. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#emissiveR">emissiveR</A></B></CODE>
  155. <BR>
  156. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ke parameters of the material</TD>
  157. </TR>
  158. <TR BGCOLOR="white" CLASS="TableRowColor">
  159. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  160. <CODE>&nbsp;float</CODE></FONT></TD>
  161. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#shininess">shininess</A></B></CODE>
  162. <BR>
  163. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Se parameter of the material</TD>
  164. </TR>
  165. <TR BGCOLOR="white" CLASS="TableRowColor">
  166. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  167. <CODE>&nbsp;float</CODE></FONT></TD>
  168. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#specularB">specularB</A></B></CODE>
  169. <BR>
  170. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ks parameters of the material</TD>
  171. </TR>
  172. <TR BGCOLOR="white" CLASS="TableRowColor">
  173. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  174. <CODE>&nbsp;float</CODE></FONT></TD>
  175. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#specularG">specularG</A></B></CODE>
  176. <BR>
  177. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ks parameters of the material</TD>
  178. </TR>
  179. <TR BGCOLOR="white" CLASS="TableRowColor">
  180. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  181. <CODE>&nbsp;float</CODE></FONT></TD>
  182. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#specularR">specularR</A></B></CODE>
  183. <BR>
  184. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ks parameters of the material</TD>
  185. </TR>
  186. </TABLE>
  187. &nbsp;
  188. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  189. <A NAME="constructor_summary"><!-- --></A>
  190. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  191. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  192. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  193. <B>Constructor Summary</B></FONT></TH>
  194. </TR>
  195. <TR BGCOLOR="white" CLASS="TableRowColor">
  196. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#PMaterial(float, float, float, float, float, float, float, float, float, float, float, float, float)">PMaterial</A></B>(float&nbsp;ambientR,
  197. float&nbsp;ambientG,
  198. float&nbsp;ambientB,
  199. float&nbsp;diffuseR,
  200. float&nbsp;diffuseG,
  201. float&nbsp;diffuseB,
  202. float&nbsp;specularR,
  203. float&nbsp;specularG,
  204. float&nbsp;specularB,
  205. float&nbsp;emissiveR,
  206. float&nbsp;emissiveG,
  207. float&nbsp;emissiveB,
  208. float&nbsp;shininess)</CODE>
  209. <BR>
  210. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  211. </TR>
  212. </TABLE>
  213. &nbsp;
  214. <!-- ========== METHOD SUMMARY =========== -->
  215. <A NAME="method_summary"><!-- --></A>
  216. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  217. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  218. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  219. <B>Method Summary</B></FONT></TH>
  220. </TR>
  221. <TR BGCOLOR="white" CLASS="TableRowColor">
  222. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  223. <CODE>&nbsp;void</CODE></FONT></TD>
  224. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#ambient(float, float, float)">ambient</A></B>(float&nbsp;r,
  225. float&nbsp;g,
  226. float&nbsp;b)</CODE>
  227. <BR>
  228. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  229. </TR>
  230. <TR BGCOLOR="white" CLASS="TableRowColor">
  231. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  232. <CODE>&nbsp;void</CODE></FONT></TD>
  233. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#diffuse(float, float, float)">diffuse</A></B>(float&nbsp;r,
  234. float&nbsp;g,
  235. float&nbsp;b)</CODE>
  236. <BR>
  237. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  238. </TR>
  239. <TR BGCOLOR="white" CLASS="TableRowColor">
  240. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  241. <CODE>&nbsp;void</CODE></FONT></TD>
  242. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#emissive(float, float, float)">emissive</A></B>(float&nbsp;r,
  243. float&nbsp;g,
  244. float&nbsp;b)</CODE>
  245. <BR>
  246. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  247. </TR>
  248. <TR BGCOLOR="white" CLASS="TableRowColor">
  249. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  250. <CODE>&nbsp;void</CODE></FONT></TD>
  251. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#shininess(float)">shininess</A></B>(float&nbsp;s)</CODE>
  252. <BR>
  253. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  254. </TR>
  255. <TR BGCOLOR="white" CLASS="TableRowColor">
  256. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  257. <CODE>&nbsp;void</CODE></FONT></TD>
  258. <TD><CODE><B><A HREF="../../processing/core/PMaterial.html#specular(float, float, float)">specular</A></B>(float&nbsp;r,
  259. float&nbsp;g,
  260. float&nbsp;b)</CODE>
  261. <BR>
  262. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  263. </TR>
  264. </TABLE>
  265. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  266. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  267. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  268. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  269. </TR>
  270. <TR BGCOLOR="white" CLASS="TableRowColor">
  271. <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  272. </TR>
  273. </TABLE>
  274. &nbsp;
  275. <P>
  276. <!-- ============ FIELD DETAIL =========== -->
  277. <A NAME="field_detail"><!-- --></A>
  278. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  279. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  280. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  281. <B>Field Detail</B></FONT></TH>
  282. </TR>
  283. </TABLE>
  284. <A NAME="ambientR"><!-- --></A><H3>
  285. ambientR</H3>
  286. <PRE>
  287. public float <B>ambientR</B></PRE>
  288. <DL>
  289. <DD>Ka parameters of the material.
  290. <P>
  291. <DL>
  292. </DL>
  293. </DL>
  294. <HR>
  295. <A NAME="ambientG"><!-- --></A><H3>
  296. ambientG</H3>
  297. <PRE>
  298. public float <B>ambientG</B></PRE>
  299. <DL>
  300. <DD>Ka parameters of the material.
  301. <P>
  302. <DL>
  303. </DL>
  304. </DL>
  305. <HR>
  306. <A NAME="ambientB"><!-- --></A><H3>
  307. ambientB</H3>
  308. <PRE>
  309. public float <B>ambientB</B></PRE>
  310. <DL>
  311. <DD>Ka parameters of the material.
  312. <P>
  313. <DL>
  314. </DL>
  315. </DL>
  316. <HR>
  317. <A NAME="diffuseR"><!-- --></A><H3>
  318. diffuseR</H3>
  319. <PRE>
  320. public float <B>diffuseR</B></PRE>
  321. <DL>
  322. <DD>Kd parameters of the material
  323. <P>
  324. <DL>
  325. </DL>
  326. </DL>
  327. <HR>
  328. <A NAME="diffuseG"><!-- --></A><H3>
  329. diffuseG</H3>
  330. <PRE>
  331. public float <B>diffuseG</B></PRE>
  332. <DL>
  333. <DD>Kd parameters of the material
  334. <P>
  335. <DL>
  336. </DL>
  337. </DL>
  338. <HR>
  339. <A NAME="diffuseB"><!-- --></A><H3>
  340. diffuseB</H3>
  341. <PRE>
  342. public float <B>diffuseB</B></PRE>
  343. <DL>
  344. <DD>Kd parameters of the material
  345. <P>
  346. <DL>
  347. </DL>
  348. </DL>
  349. <HR>
  350. <A NAME="specularR"><!-- --></A><H3>
  351. specularR</H3>
  352. <PRE>
  353. public float <B>specularR</B></PRE>
  354. <DL>
  355. <DD>Ks parameters of the material
  356. <P>
  357. <DL>
  358. </DL>
  359. </DL>
  360. <HR>
  361. <A NAME="specularG"><!-- --></A><H3>
  362. specularG</H3>
  363. <PRE>
  364. public float <B>specularG</B></PRE>
  365. <DL>
  366. <DD>Ks parameters of the material
  367. <P>
  368. <DL>
  369. </DL>
  370. </DL>
  371. <HR>
  372. <A NAME="specularB"><!-- --></A><H3>
  373. specularB</H3>
  374. <PRE>
  375. public float <B>specularB</B></PRE>
  376. <DL>
  377. <DD>Ks parameters of the material
  378. <P>
  379. <DL>
  380. </DL>
  381. </DL>
  382. <HR>
  383. <A NAME="emissiveR"><!-- --></A><H3>
  384. emissiveR</H3>
  385. <PRE>
  386. public float <B>emissiveR</B></PRE>
  387. <DL>
  388. <DD>Ke parameters of the material
  389. <P>
  390. <DL>
  391. </DL>
  392. </DL>
  393. <HR>
  394. <A NAME="emissiveG"><!-- --></A><H3>
  395. emissiveG</H3>
  396. <PRE>
  397. public float <B>emissiveG</B></PRE>
  398. <DL>
  399. <DD>Ke parameters of the material
  400. <P>
  401. <DL>
  402. </DL>
  403. </DL>
  404. <HR>
  405. <A NAME="emissiveB"><!-- --></A><H3>
  406. emissiveB</H3>
  407. <PRE>
  408. public float <B>emissiveB</B></PRE>
  409. <DL>
  410. <DD>Ke parameters of the material
  411. <P>
  412. <DL>
  413. </DL>
  414. </DL>
  415. <HR>
  416. <A NAME="shininess"><!-- --></A><H3>
  417. shininess</H3>
  418. <PRE>
  419. public float <B>shininess</B></PRE>
  420. <DL>
  421. <DD>Se parameter of the material
  422. <P>
  423. <DL>
  424. </DL>
  425. </DL>
  426. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  427. <A NAME="constructor_detail"><!-- --></A>
  428. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  429. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  430. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  431. <B>Constructor Detail</B></FONT></TH>
  432. </TR>
  433. </TABLE>
  434. <A NAME="PMaterial(float, float, float, float, float, float, float, float, float, float, float, float, float)"><!-- --></A><H3>
  435. PMaterial</H3>
  436. <PRE>
  437. public <B>PMaterial</B>(float&nbsp;ambientR,
  438. float&nbsp;ambientG,
  439. float&nbsp;ambientB,
  440. float&nbsp;diffuseR,
  441. float&nbsp;diffuseG,
  442. float&nbsp;diffuseB,
  443. float&nbsp;specularR,
  444. float&nbsp;specularG,
  445. float&nbsp;specularB,
  446. float&nbsp;emissiveR,
  447. float&nbsp;emissiveG,
  448. float&nbsp;emissiveB,
  449. float&nbsp;shininess)</PRE>
  450. <DL>
  451. </DL>
  452. <!-- ============ METHOD DETAIL ========== -->
  453. <A NAME="method_detail"><!-- --></A>
  454. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  455. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  456. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  457. <B>Method Detail</B></FONT></TH>
  458. </TR>
  459. </TABLE>
  460. <A NAME="ambient(float, float, float)"><!-- --></A><H3>
  461. ambient</H3>
  462. <PRE>
  463. public void <B>ambient</B>(float&nbsp;r,
  464. float&nbsp;g,
  465. float&nbsp;b)</PRE>
  466. <DL>
  467. <DD><DL>
  468. </DL>
  469. </DD>
  470. </DL>
  471. <HR>
  472. <A NAME="diffuse(float, float, float)"><!-- --></A><H3>
  473. diffuse</H3>
  474. <PRE>
  475. public void <B>diffuse</B>(float&nbsp;r,
  476. float&nbsp;g,
  477. float&nbsp;b)</PRE>
  478. <DL>
  479. <DD><DL>
  480. </DL>
  481. </DD>
  482. </DL>
  483. <HR>
  484. <A NAME="specular(float, float, float)"><!-- --></A><H3>
  485. specular</H3>
  486. <PRE>
  487. public void <B>specular</B>(float&nbsp;r,
  488. float&nbsp;g,
  489. float&nbsp;b)</PRE>
  490. <DL>
  491. <DD><DL>
  492. </DL>
  493. </DD>
  494. </DL>
  495. <HR>
  496. <A NAME="emissive(float, float, float)"><!-- --></A><H3>
  497. emissive</H3>
  498. <PRE>
  499. public void <B>emissive</B>(float&nbsp;r,
  500. float&nbsp;g,
  501. float&nbsp;b)</PRE>
  502. <DL>
  503. <DD><DL>
  504. </DL>
  505. </DD>
  506. </DL>
  507. <HR>
  508. <A NAME="shininess(float)"><!-- --></A><H3>
  509. shininess</H3>
  510. <PRE>
  511. public void <B>shininess</B>(float&nbsp;s)</PRE>
  512. <DL>
  513. <DD><DL>
  514. </DL>
  515. </DD>
  516. </DL>
  517. <!-- ========= END OF CLASS DATA ========= -->
  518. <HR>
  519. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  520. <A NAME="navbar_bottom"><!-- --></A>
  521. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  522. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  523. <TR>
  524. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  525. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  526. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  527. <TR ALIGN="center" VALIGN="top">
  528. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../processing/core/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  529. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  530. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  531. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  532. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  533. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  534. </TR>
  535. </TABLE>
  536. </TD>
  537. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  538. </EM>
  539. </TD>
  540. </TR>
  541. <TR>
  542. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  543. &nbsp;<A HREF="../../processing/core/PLine.html" title="class in processing.core"><B>PREV CLASS</B></A>&nbsp;
  544. &nbsp;<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core"><B>NEXT CLASS</B></A></FONT></TD>
  545. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  546. <A HREF="../../index.html?processing/core/PMaterial.html" target="_top"><B>FRAMES</B></A> &nbsp;
  547. &nbsp;<A HREF="PMaterial.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  548. &nbsp;<SCRIPT type="text/javascript">
  549. <!--
  550. if(window==top) {
  551. document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
  552. }
  553. //-->
  554. </SCRIPT>
  555. <NOSCRIPT>
  556. <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
  557. </NOSCRIPT>
  558. </FONT></TD>
  559. </TR>
  560. <TR>
  561. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  562. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  563. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  564. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  565. </TR>
  566. </TABLE>
  567. <A NAME="skip-navbar_bottom"></A>
  568. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  569. <HR>
  570. </BODY>
  571. </HTML>