Package | Description |
---|---|
com.tyrlib2.graphics.materials | |
com.tyrlib2.graphics.particles | |
com.tyrlib2.graphics.renderables | |
com.tyrlib2.graphics.scene | |
com.tyrlib2.util |
Modifier and Type | Method and Description |
---|---|
Color |
PointSpriteMaterial.getColor() |
Color[] |
DefaultMaterial3.getColors() |
Color[] |
ColoredMaterial.getColors() |
Color[] |
ColoredLightedMaterial.getColors() |
Modifier and Type | Method and Description |
---|---|
void |
PointSpriteMaterial.setColor(Color color) |
Constructor and Description |
---|
ColoredLightedMaterial(Color[] colors,
LightingType type) |
ColoredMaterial(Color[] colors) |
DefaultMaterial3(Context context,
java.lang.String textureName,
float repeatX,
float repeatY,
LightingType type,
Color[] colors) |
DefaultMaterial3(Program program,
java.lang.String textureName,
float repeatX,
float repeatY,
Color[] colors) |
DefaultMaterial3(java.lang.String textureName,
float repeatX,
float repeatY,
LightingType type,
Color[] colors) |
PointSpriteMaterial(java.lang.String textureName,
float size,
Color color) |
Modifier and Type | Method and Description |
---|---|
Color |
ColorChanger.getColorChange() |
Modifier and Type | Method and Description |
---|---|
void |
ColorChanger.setColorChange(Color colorChange) |
Constructor and Description |
---|
ColorChanger(Color colorChange) |
Modifier and Type | Field and Description |
---|---|
static Color |
Rectangle2.DEFAULT_COLOR |
Modifier and Type | Method and Description |
---|---|
Color |
Text2.getColor() |
Color |
Rectangle2.getColor() |
Modifier and Type | Method and Description |
---|---|
void |
Text2.setColor(Color color) |
Constructor and Description |
---|
Line2(Vector2 startPoint,
Vector2 endPoint,
Color color,
int thickness) |
Rectangle2(Vector2 size,
Color color) |
Text2(java.lang.String text,
int rotation,
Color color,
Font font) |
Modifier and Type | Method and Description |
---|---|
Color |
SceneManager.getAmbientLight()
Get the global ambient illumination
|
Modifier and Type | Method and Description |
---|---|
Line2 |
SceneManager.createLine2(Vector2 from,
Vector2 to,
Color color,
int thickness) |
Rectangle2 |
SceneManager.createRectangle2(Vector2 size,
Color color) |
Text2 |
SceneManager.createText2(java.lang.String text,
int rotation,
Color color) |
void |
SceneManager.setAmbientLight(Color color)
Change the color of the ambient light
|
Modifier and Type | Field and Description |
---|---|
static Color |
Color.BLACK |
static Color |
Color.BLUE |
static Color |
Color.GREEN |
static Color |
Color.RED |
static Color |
Color.WHITE |
Modifier and Type | Method and Description |
---|---|
Color |
Color.copy() |
static Color |
Color.getRandomColor() |
Modifier and Type | Method and Description |
---|---|
static Mesh |
MeshCreator.createSphere(float radius,
int rings,
int sectors,
int posOffset,
int normalOffset,
int uvOffset,
int repeatX,
int repeatY,
int colorOffset,
Color color,
int vertexSize) |