/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | ColorRGBA.java | 50 public final class ColorRGBA implements Savable, Cloneable, java.io.Serializable { class 56 public static final ColorRGBA Black = new ColorRGBA(0f, 0f, 0f, 1f); 60 public static final ColorRGBA White = new ColorRGBA(1f, 1f, 1f, 1f); 64 public static final ColorRGBA DarkGray = new ColorRGBA(0.2f, 0.2f, 0.2f, 1.0f); 68 public static final ColorRGBA Gray = new ColorRGBA(0.5f, 0.5f, 0.5f, 1.0f); 72 public static final ColorRGBA LightGray = new ColorRGBA(0.8f, 0.8f, 0.8f, 1.0f); 76 public static final ColorRGBA Red = new ColorRGBA(1f, 0f, 0f, 1f); 80 public static final ColorRGBA Green = new ColorRGBA(0f, 1f, 0f, 1f); 84 public static final ColorRGBA Blue = new ColorRGBA(0f, 0f, 1f, 1f); 88 public static final ColorRGBA Yellow = new ColorRGBA(1f, 1f, 0f, 1f); [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/games/ |
D | CubeField.java | 43 import com.jme3.math.ColorRGBA; 73 private ArrayList<ColorRGBA> obstacleColors; 106 obstacleColors = new ArrayList<ColorRGBA>(); in simpleInitApp() 131 obstacleColors.add(ColorRGBA.Orange); in gameReset() 132 obstacleColors.add(ColorRGBA.Red); in gameReset() 133 obstacleColors.add(ColorRGBA.Yellow); in gameReset() 134 renderer.setBackgroundColor(ColorRGBA.White); in gameReset() 205 mat.setColor("Color", ColorRGBA.Blue); in createFirstCube() 216 playerMaterial.setColor("Color", ColorRGBA.Red); in createPlayer() 225 floorMaterial.setColor("Color", ColorRGBA.LightGray); in createPlayer() [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
D | TestDebugShapes.java | 37 import com.jme3.math.ColorRGBA; 53 public Geometry putShape(Mesh shape, ColorRGBA color){ in putShape() 63 public void putArrow(Vector3f pos, Vector3f dir, ColorRGBA color){ in putArrow() 69 public void putBox(Vector3f pos, float size, ColorRGBA color){ in putBox() 73 public void putGrid(Vector3f pos, ColorRGBA color){ in putGrid() 77 public void putSphere(Vector3f pos, ColorRGBA color){ in putSphere() 86 putArrow(Vector3f.ZERO, Vector3f.UNIT_X, ColorRGBA.Red); in simpleInitApp() 87 putArrow(Vector3f.ZERO, Vector3f.UNIT_Y, ColorRGBA.Green); in simpleInitApp() 88 putArrow(Vector3f.ZERO, Vector3f.UNIT_Z, ColorRGBA.Blue); in simpleInitApp() 90 putBox(new Vector3f(2, 0, 0), 0.5f, ColorRGBA.Yellow); in simpleInitApp() [all …]
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
D | ColorOverlayFilter.java | 40 import com.jme3.math.ColorRGBA; 52 private ColorRGBA color = ColorRGBA.White; 65 public ColorOverlayFilter(ColorRGBA color) { in ColorOverlayFilter() 81 public ColorRGBA getColor() { in getColor() 89 public void setColor(ColorRGBA color) { in setColor() 102 oc.write(color, "color", ColorRGBA.White); in write() 109 color = (ColorRGBA) ic.readSavable("color", ColorRGBA.White); in read()
|
D | CrossHatchFilter.java | 36 import com.jme3.math.ColorRGBA; 53 private ColorRGBA lineColor = ColorRGBA.Black.clone(); 54 private ColorRGBA paperColor = ColorRGBA.White.clone(); 78 public CrossHatchFilter(ColorRGBA lineColor, ColorRGBA paperColor) { in CrossHatchFilter() 119 public void setLineColor(ColorRGBA lineColor) { in setLineColor() 130 public void setPaperColor(ColorRGBA paperColor) { in setPaperColor() 224 public ColorRGBA getLineColor() { in getLineColor() 232 public ColorRGBA getPaperColor() { in getPaperColor()
|
D | FogFilter.java | 40 import com.jme3.math.ColorRGBA; 52 private ColorRGBA fogColor = ColorRGBA.White.clone(); 69 public FogFilter(ColorRGBA fogColor, float fogDensity, float fogDistance) { in FogFilter() 100 public ColorRGBA getFogColor() { in getFogColor() 108 public void setFogColor(ColorRGBA fogColor) { in setFogColor() 157 oc.write(fogColor, "fogColor", ColorRGBA.White.clone()); in write() 166 fogColor = (ColorRGBA) ic.readSavable("fogColor", ColorRGBA.White.clone()); in read()
|
/external/jmonkeyengine/engine/src/test/jme3test/material/ |
D | TestColoredTexture.java | 37 import com.jme3.math.ColorRGBA; 45 private ColorRGBA nextColor; 46 private ColorRGBA prevColor; 65 nextColor = ColorRGBA.randomColor(); in simpleInitApp() 66 prevColor = ColorRGBA.Black; in simpleInitApp() 75 nextColor = ColorRGBA.randomColor(); in simpleUpdate() 77 ColorRGBA currentColor = new ColorRGBA(); in simpleUpdate()
|
D | TestUnshadedModel.java | 7 import com.jme3.math.ColorRGBA; 29 mat.setColor("Ambient", ColorRGBA.DarkGray); in simpleInitApp() 30 mat.setColor("Diffuse", ColorRGBA.White); in simpleInitApp() 36 pl.setColor(ColorRGBA.White); in simpleInitApp() 41 al.setColor(ColorRGBA.White); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/ |
D | MTLLoader.java | 39 import com.jme3.math.ColorRGBA; 65 protected ColorRGBA ambient = new ColorRGBA(); 66 protected ColorRGBA diffuse = new ColorRGBA(); 67 protected ColorRGBA specular = new ColorRGBA(); 85 protected ColorRGBA readColor(){ in readColor() 86 ColorRGBA v = new ColorRGBA(); in readColor() 109 ambient.set(ColorRGBA.DarkGray); in resetMaterial() 110 diffuse.set(ColorRGBA.LightGray); in resetMaterial() 111 specular.set(ColorRGBA.Black); in resetMaterial() 215 if (specular.equals(ColorRGBA.Black)){ in readLine() [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
D | TestMultiRenderTarget.java | 86 ColorRGBA[] colors = new ColorRGBA[]{ in simpleInitApp() 87 ColorRGBA.White, in simpleInitApp() 88 ColorRGBA.Blue, in simpleInitApp() 89 ColorRGBA.Cyan, in simpleInitApp() 90 ColorRGBA.DarkGray, in simpleInitApp() 91 ColorRGBA.Green, in simpleInitApp() 92 ColorRGBA.Magenta, in simpleInitApp() 93 ColorRGBA.Orange, in simpleInitApp() 94 ColorRGBA.Pink, in simpleInitApp() 95 ColorRGBA.Red, in simpleInitApp() [all …]
|
D | TestPosterization.java | 41 import com.jme3.math.ColorRGBA; 79 mat.setColor("Ambient", ColorRGBA.Yellow.mult(0.2f)); in simpleInitApp() 80 mat.setColor("Diffuse", ColorRGBA.Yellow.mult(0.2f)); in simpleInitApp() 81 mat.setColor("Specular", ColorRGBA.Yellow.mult(0.8f)); in simpleInitApp() 89 matSoil.setColor("Ambient", ColorRGBA.Gray); in simpleInitApp() 90 matSoil.setColor("Diffuse", ColorRGBA.Black); in simpleInitApp() 91 matSoil.setColor("Specular", ColorRGBA.Gray); in simpleInitApp() 112 light.setColor(ColorRGBA.White.mult(1.5f)); in simpleInitApp()
|
D | TestCrossHatch.java | 41 import com.jme3.math.ColorRGBA; 79 mat.setColor("Ambient", ColorRGBA.Yellow.mult(0.2f)); in simpleInitApp() 80 mat.setColor("Diffuse", ColorRGBA.Yellow.mult(0.2f)); in simpleInitApp() 81 mat.setColor("Specular", ColorRGBA.Yellow.mult(0.8f)); in simpleInitApp() 89 matSoil.setColor("Ambient", ColorRGBA.Gray); in simpleInitApp() 90 matSoil.setColor("Diffuse", ColorRGBA.Black); in simpleInitApp() 91 matSoil.setColor("Specular", ColorRGBA.Gray); in simpleInitApp() 112 light.setColor(ColorRGBA.White.mult(1.5f)); in simpleInitApp()
|
D | TestBloom.java | 41 import com.jme3.math.ColorRGBA; 79 mat.setColor("Ambient", ColorRGBA.Yellow.mult(0.2f)); in simpleInitApp() 80 mat.setColor("Diffuse", ColorRGBA.Yellow.mult(0.2f)); in simpleInitApp() 81 mat.setColor("Specular", ColorRGBA.Yellow.mult(0.8f)); in simpleInitApp() 89 matSoil.setColor("Ambient", ColorRGBA.Gray); in simpleInitApp() 90 matSoil.setColor("Diffuse", ColorRGBA.Black); in simpleInitApp() 91 matSoil.setColor("Specular", ColorRGBA.Gray); in simpleInitApp() 112 light.setColor(ColorRGBA.White.mult(1.5f)); in simpleInitApp()
|
D | TestCartoonEdge.java | 38 import com.jme3.math.ColorRGBA; 65 toon.setEdgeColor(ColorRGBA.Yellow); in setupFilters() 85 m.setColor("Specular", ColorRGBA.Black); in makeToonish() 86 m.setColor("Diffuse", ColorRGBA.White); in makeToonish() 96 dl.setColor(new ColorRGBA(2,2,2,1)); in setupLighting() 113 viewPort.setBackgroundColor(ColorRGBA.Gray); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/test/jme3test/batching/ |
D | TestBatchNodeCluster.java | 12 import com.jme3.math.ColorRGBA; 82 mat1.setColor("Color", ColorRGBA.White); in simpleInitApp() 83 mat1.setColor("GlowColor", ColorRGBA.Blue.mult(10)); in simpleInitApp() 86 mat2.setColor("Color", ColorRGBA.White); in simpleInitApp() 87 mat2.setColor("GlowColor", ColorRGBA.Red.mult(10)); in simpleInitApp() 90 mat3.setColor("Color", ColorRGBA.White); in simpleInitApp() 91 mat3.setColor("GlowColor", ColorRGBA.Yellow.mult(10)); in simpleInitApp() 94 mat4.setColor("Color", ColorRGBA.White); in simpleInitApp() 95 mat4.setColor("GlowColor", ColorRGBA.Orange.mult(10)); in simpleInitApp() 126 m.setColor("Color", ColorRGBA.Blue); in simpleInitApp() [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/effect/ |
D | TestExplosionEffect.java | 40 import com.jme3.math.ColorRGBA; 69 flame.setStartColor(new ColorRGBA(1f, 0.4f, 0.05f, (float) (1f / COUNT_FACTOR_F))); in createFlame() 70 flame.setEndColor(new ColorRGBA(.4f, .22f, .12f, 0f)); in createFlame() 92 flash.setStartColor(new ColorRGBA(1f, 0.8f, 0.36f, (float) (1f / COUNT_FACTOR_F))); in createFlash() 93 flash.setEndColor(new ColorRGBA(1f, 0.8f, 0.36f, 0f)); in createFlash() 114 roundspark.setStartColor(new ColorRGBA(1f, 0.29f, 0.34f, (float) (1.0 / COUNT_FACTOR_F))); in createRoundSpark() 115 roundspark.setEndColor(new ColorRGBA(0, 0, 0, (float) (0.5f / COUNT_FACTOR_F))); in createRoundSpark() 136 spark.setStartColor(new ColorRGBA(1f, 0.8f, 0.36f, (float) (1.0f / COUNT_FACTOR_F))); in createSpark() 137 spark.setEndColor(new ColorRGBA(1f, 0.8f, 0.36f, 0f)); in createSpark() 157 smoketrail.setStartColor(new ColorRGBA(1f, 0.8f, 0.36f, (float) (1.0f / COUNT_FACTOR_F))); in createSmokeTrail() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
D | StringBlock.java | 37 import com.jme3.math.ColorRGBA; 52 private ColorRGBA color = new ColorRGBA(ColorRGBA.White); 69 …StringBlock(String text, Rectangle textBox, BitmapFont.Align alignment, float size, ColorRGBA colo… in StringBlock() 84 this.color.set(ColorRGBA.White); in StringBlock() 141 ColorRGBA getColor() { in getColor() 145 void setColor(ColorRGBA color) { in setColor()
|
/external/jmonkeyengine/engine/src/core/com/jme3/light/ |
D | Light.java | 36 import com.jme3.math.ColorRGBA; 95 protected ColorRGBA color = new ColorRGBA(1f,1f,1f,1f); 118 public ColorRGBA getColor() { in getColor() 155 public void setColor(ColorRGBA color){ in setColor() 191 color = (ColorRGBA) ic.readSavable("color", null); in read()
|
/external/jmonkeyengine/engine/src/test/jme3test/model/ |
D | TestMonkeyHead.java | 38 import com.jme3.math.ColorRGBA; 58 viewPort.setBackgroundColor(ColorRGBA.DarkGray); in simpleInitApp() 69 pl.setColor(new ColorRGBA(0.88f, 0.92f, 0.95f, 1.0f)); in simpleInitApp() 75 dl.setColor(new ColorRGBA(0.44f, 0.30f, 0.20f, 1.0f)); in simpleInitApp() 81 dl.setColor(new ColorRGBA(0.10f, 0.22f, 0.44f, 1.0f)); in simpleInitApp() 87 dl.setColor(new ColorRGBA(0.50f, 0.40f, 0.50f, 1.0f)); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/test/jme3test/blender/ |
D | TestBlenderLoader.java | 37 import com.jme3.math.ColorRGBA; 50 viewPort.setBackgroundColor(ColorRGBA.DarkGray); in simpleInitApp() 63 dl.setColor(new ColorRGBA(0.44f, 0.30f, 0.20f, 1.0f)); in simpleInitApp() 69 dl.setColor(new ColorRGBA(0.10f, 0.22f, 0.44f, 1.0f)); in simpleInitApp() 75 dl.setColor(new ColorRGBA(0.80f, 0.70f, 0.80f, 1.0f)); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
D | TestSimpleLighting.java | 39 import com.jme3.math.ColorRGBA; 77 mat.setColor("Ambient", ColorRGBA.Black); in simpleInitApp() 78 mat.setColor("Diffuse", ColorRGBA.Gray); in simpleInitApp() 79 mat.setColor("Specular", ColorRGBA.Gray); in simpleInitApp() 90 pl.setColor(ColorRGBA.White); in simpleInitApp() 96 dl.setColor(ColorRGBA.Green); in simpleInitApp()
|
D | TestLightRadius.java | 39 import com.jme3.math.ColorRGBA; 69 mat.setColor("Ambient", ColorRGBA.Black); in simpleInitApp() 70 mat.setColor("Diffuse", ColorRGBA.White); in simpleInitApp() 71 mat.setColor("Specular", ColorRGBA.White); in simpleInitApp() 83 pl.setColor(ColorRGBA.Green); in simpleInitApp() 88 dl.setColor(ColorRGBA.Red); in simpleInitApp()
|
D | TestLightNode.java | 39 import com.jme3.math.ColorRGBA; 70 mat.setColor("Ambient", ColorRGBA.Black); in simpleInitApp() 71 mat.setColor("Diffuse", ColorRGBA.White); in simpleInitApp() 72 mat.setColor("Specular", ColorRGBA.White); in simpleInitApp() 87 pl.setColor(ColorRGBA.Green); in simpleInitApp() 95 dl.setColor(ColorRGBA.Red); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
D | TestUnshadedModel.java | 7 import com.jme3.math.ColorRGBA; 29 mat.setColor("Ambient", ColorRGBA.DarkGray); in simpleInitApp() 30 mat.setColor("Diffuse", ColorRGBA.White); in simpleInitApp() 36 pl.setColor(ColorRGBA.White); in simpleInitApp() 41 al.setColor(ColorRGBA.White); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/ |
D | WaterFilter.java | 90 private ColorRGBA lightColor = ColorRGBA.White; 92 private ColorRGBA waterColor = new ColorRGBA(0.0078f, 0.3176f, 0.5f, 1.0f); 93 private ColorRGBA deepWaterColor = new ColorRGBA(0.0039f, 0.00196f, 0.145f, 1.0f); 308 oc.write(lightColor, "lightColor", ColorRGBA.White); in write() 310 oc.write(waterColor, "waterColor", new ColorRGBA(0.0078f, 0.3176f, 0.5f, 1.0f)); in write() 311 oc.write(deepWaterColor, "deepWaterColor", new ColorRGBA(0.0039f, 0.00196f, 0.145f, 1.0f)); in write() 352 lightColor = (ColorRGBA) ic.readSavable("lightColor", ColorRGBA.White); in read() 354 …waterColor = (ColorRGBA) ic.readSavable("waterColor", new ColorRGBA(0.0078f, 0.3176f, 0.5f, 1.0f)); in read() 355 …deepWaterColor = (ColorRGBA) ic.readSavable("deepWaterColor", new ColorRGBA(0.0039f, 0.00196f, 0.1… in read() 526 public ColorRGBA getLightColor() { in getLightColor() [all …]
|