/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/attributes/ |
ColorAttribute.java | 53 public final static ColorAttribute createDiffuse (final Color color) {
57 public final static ColorAttribute createDiffuse (float r, float g, float b, float a) {
|
TextureAttribute.java | 49 public static TextureAttribute createDiffuse (final Texture texture) {
53 public static TextureAttribute createDiffuse (final TextureRegion region) {
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
ConvexHullTest.java | 37 carModel.materials.get(0).set(ColorAttribute.createDiffuse(Color.WHITE), ColorAttribute.createSpecular(Color.WHITE));
|
GimpactTest.java | 25 chassisModel.materials.get(0).set(ColorAttribute.createDiffuse(Color.RED), ColorAttribute.createSpecular(Color.WHITE));
|
VehicleTest.java | 65 chassisModel.materials.get(0).set(ColorAttribute.createDiffuse(Color.RED), ColorAttribute.createSpecular(Color.WHITE)); 69 wheelModel.materials.get(0).set(ColorAttribute.createDiffuse(Color.BLACK), ColorAttribute.createSpecular(Color.WHITE), 76 new Material(TextureAttribute.createDiffuse(checkboard), ColorAttribute.createSpecular(Color.WHITE), FloatAttribute
|
BasicShapesTest.java | 41 final Material material = new Material(TextureAttribute.createDiffuse(texture), ColorAttribute.createSpecular(1, 1, 1, 1),
|
MeshShapeTest.java | 43 new Material(ColorAttribute.createDiffuse(Color.WHITE), ColorAttribute.createSpecular(Color.WHITE)), Usage.Position
|
BaseBulletTest.java | 127 new Material(ColorAttribute.createDiffuse(Color.WHITE), ColorAttribute.createSpecular(Color.WHITE), FloatAttribute 130 final Model boxModel = modelBuilder.createBox(1f, 1f, 1f, new Material(ColorAttribute.createDiffuse(Color.WHITE),
|
BasicBulletTest.java | 111 new Material(ColorAttribute.createDiffuse(Color.BLUE), ColorAttribute.createSpecular(Color.WHITE), FloatAttribute 120 new Material(ColorAttribute.createDiffuse(Color.RED), ColorAttribute.createSpecular(Color.WHITE), FloatAttribute
|
CharacterTest.java | 70 final Material material = new Material(TextureAttribute.createDiffuse(texture), ColorAttribute.createSpecular(1,1,1,1), FloatAttribute.createShininess(8f));
|
ConvexHullDistanceTest.java | 52 carModel.materials.get(0).set(ColorAttribute.createDiffuse(Color.WHITE), ColorAttribute.createSpecular(Color.WHITE));
|
TriangleRaycastTest.java | 115 model.materials.get(0).set(ColorAttribute.createDiffuse(Color.WHITE), ColorAttribute.createSpecular(Color.WHITE));
|
OcclusionCullingTest.java | 235 new Material(ColorAttribute.createDiffuse(Color.WHITE)), 249 new Material(ColorAttribute.createDiffuse(Color.WHITE)),
|
ContactCacheTest.java | 126 new Material(ColorAttribute.createDiffuse(Color.WHITE), ColorAttribute.createSpecular(Color.WHITE)), Usage.Position
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
ViewportTest3.java | 82 Model boxModel = modelBuilder.createBox(50f, 50f, 50f, new Material(ColorAttribute.createDiffuse(Color.GREEN)),
|
KTXTest.java | 114 model = modelBuilder.createBox(5f, 5f, 5f, new Material(ColorAttribute.createDiffuse(Color.GREEN)), Usage.Position
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
Basic3DTest.java | 61 model = modelBuilder.createBox(5f, 5f, 5f, new Material(ColorAttribute.createDiffuse(Color.GREEN)), Usage.Position
|
FogTest.java | 61 model = modelBuilder.createBox(5f, 5f, 5f, new Material(ColorAttribute.createDiffuse(Color.GREEN)), Usage.Position
|
HeightMapTest.java | 63 ground.material = new Material(TextureAttribute.createDiffuse(texture));
|
LightsTest.java | 51 lightModel = mb.createSphere(1, 1, 1, 10, 10, new Material(ColorAttribute.createDiffuse(1, 1, 1, 1)), Usage.Position);
|
ShadowMappingTest.java | 68 new Material(ColorAttribute.createDiffuse(Color.WHITE)));
|
ShaderTest.java | 215 Material redMaterial = new Material("RedMaterial", ColorAttribute.createDiffuse(Color.RED));
216 Material testMaterial2 = new Material("TestMaterial2", new TestAttribute(1f), ColorAttribute.createDiffuse(Color.BLUE));
|
Animation3DTest.java | 189 floorModel.getMaterial("concrete").set(TextureAttribute.createDiffuse(assets.get("data/g3d/concrete.png", Texture.class)));
191 TextureAttribute.createDiffuse(assets.get("data/tree.png", Texture.class)),
|
TextureRegion3DTest.java | 63 final Material material = new Material(ColorAttribute.createDiffuse(1f, 1f, 1f, 1f), new TextureAttribute(TextureAttribute.Diffuse));
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/ |
PointSpriteParticleBatch.java | 87 TextureAttribute.createDiffuse((Texture)null));
|