Chi-Tech
chi_objects__Material.h
Go to the documentation of this file.
1/** \defgroup chi_objects__Material chi_objects.Material
2
3
4\ingroup DocExperimental
5
6
7
8## Example usage:
9Create this object:
10\code
11params =
12{
13 param_name1 = value1,
14 param_name2 = value2,
15 --etc.
16}
17chi_objects.Material.Create(params)
18\endcode
19## Required Input parameters
20\htmlonly
21
22<div style="display: block;">
23<button type="button" class="droppy2" style=
24"
25background-color: #edf0f5;
26color: #9373A5;
27cursor: pointer;
28border: none;
29text-align: left;
30outline: none;
31font-size: 15px;
32margin: 2px 2px;
33border: 2px solid #687372;
34display: block;
35width: 100%;
36vertical-align: middle;
37padding-top: 4px;
38padding-bottom: 0px;
39"
40><span class="arrow" style="padding-left: 0px;">►</span><TT><B>name</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspThe text name that will be associated with this material</span></button>
41<div class="content" style="display: none;">
42 <p><I>type=</I><span style="color: blue;"><TT>STRING</TT></span>. The text name that will be associated with this material.
43</p>
44</div>
45
46<button type="button" class="droppy2" style=
47"
48background-color: #edf0f5;
49color: #9373A5;
50cursor: pointer;
51border: none;
52text-align: left;
53outline: none;
54font-size: 15px;
55margin: 2px 2px;
56border: 2px solid #687372;
57display: block;
58width: 100%;
59vertical-align: middle;
60padding-top: 4px;
61padding-bottom: 0px;
62"
63><span class="arrow" style="padding-left: 0px;">►</span><TT><B>properties</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspExpects an array object handles that represents the properties</span></button>
64<div class="content" style="display: none;">
65 <p><I>type=</I><span style="color: blue;"><TT>ARRAY</TT></span>. Expects an array object handles that represents the properties.
66</p>
67</div>
68
69</div>
70\endhtmlonly
71
72\htmlonly
73
74<script>
75
76{
77 var coll = document.getElementsByClassName("droppy2");
78 var i;
79
80 for (i = 0; i < coll.length; i++) {
81 coll[i].addEventListener("click", function() {
82 this.classList.toggle("active");
83 var content = this.nextElementSibling;
84 if (content.style.display === "block") {
85 content.style.display = "none";
86 this.childNodes[0].innerText = "►"
87 } else {
88 content.style.display = "block";
89 this.children[0].innerText = "▼"
90 }
91 });
92 }
93}</script>
94
95\endhtmlonly
96
97*/