Lines Matching refs:material
35 import com.jme3.material.Material;
91 material = new Material(manager, "Common/MatDefs/Post/CrossHatch.j3md");
92 material.setColor("LineColor", lineColor);
93 material.setColor("PaperColor", paperColor);
95 material.setFloat("ColorInfluenceLine", colorInfluenceLine);
96 material.setFloat("ColorInfluencePaper", colorInfluencePaper);
98 material.setFloat("FillValue", fillValue);
100 material.setFloat("Luminance1", luminance1);
101 material.setFloat("Luminance2", luminance2);
102 material.setFloat("Luminance3", luminance3);
103 material.setFloat("Luminance4", luminance4);
104 material.setFloat("Luminance5", luminance5);
106 material.setFloat("LineThickness", lineThickness);
107 material.setFloat("LineDistance", lineDistance);
111 protected Material getMaterial() {
112 return material;
121 if (material != null) {
122 material.setColor("LineColor", lineColor);
132 if (material != null) {
133 material.setColor("PaperColor", paperColor);
143 if (material != null) {
144 material.setFloat("ColorInfluenceLine", colorInfluenceLine);
154 if (material != null) {
155 material.setFloat("ColorInfluencePaper", colorInfluencePaper);
166 if (material != null) {
167 material.setFloat("FillValue", fillValue);
187 if (material != null) {
188 material.setFloat("Luminance1", luminance1);
189 material.setFloat("Luminance2", luminance2);
190 material.setFloat("Luminance3", luminance3);
191 material.setFloat("Luminance4", luminance4);
192 material.setFloat("Luminance5", luminance5);
202 if (material != null) {
203 material.setFloat("LineThickness", lineThickness);
215 if (material != null) {
216 material.setFloat("LineDistance", lineDistance);