OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ColorAttribute
(Results
1 - 6
of
6
) sorted by null
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
ConvexHullTest.java
23
import com.badlogic.gdx.graphics.g3d.attributes.
ColorAttribute
;
37
carModel.materials.get(0).set(
ColorAttribute
.createDiffuse(Color.WHITE),
ColorAttribute
.createSpecular(Color.WHITE));
GimpactTest.java
7
import com.badlogic.gdx.graphics.g3d.attributes.
ColorAttribute
;
25
chassisModel.materials.get(0).set(
ColorAttribute
.createDiffuse(Color.RED),
ColorAttribute
.createSpecular(Color.WHITE));
ConvexHullDistanceTest.java
23
import com.badlogic.gdx.graphics.g3d.attributes.
ColorAttribute
;
52
carModel.materials.get(0).set(
ColorAttribute
.createDiffuse(Color.WHITE),
ColorAttribute
.createSpecular(Color.WHITE));
TriangleRaycastTest.java
27
import com.badlogic.gdx.graphics.g3d.attributes.
ColorAttribute
;
115
model.materials.get(0).set(
ColorAttribute
.createDiffuse(Color.WHITE),
ColorAttribute
.createSpecular(Color.WHITE));
VehicleTest.java
26
import com.badlogic.gdx.graphics.g3d.attributes.
ColorAttribute
;
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
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/attributes/
ColorAttribute.java
23
public class
ColorAttribute
extends Attribute {
45
public final static
ColorAttribute
createAmbient (final Color color) {
46
return new
ColorAttribute
(Ambient, color);
49
public final static
ColorAttribute
createAmbient (float r, float g, float b, float a) {
50
return new
ColorAttribute
(Ambient, r, g, b, a);
53
public final static
ColorAttribute
createDiffuse (final Color color) {
54
return new
ColorAttribute
(Diffuse, color);
57
public final static
ColorAttribute
createDiffuse (float r, float g, float b, float a) {
58
return new
ColorAttribute
(Diffuse, r, g, b, a);
61
public final static
ColorAttribute
createSpecular (final Color color) {
[
all
...]
Completed in 135 milliseconds