public interface Appearance
Modifier and Type | Interface and Description |
---|---|
static interface |
Appearance.Material |
Modifier and Type | Method and Description |
---|---|
void |
addTexture(Image img,
int stage)
Add a texture to the whole Solid
|
boolean |
getEnabledBlending()
Gets if blending is enabled/disabled
|
boolean |
getEnabledLighting()
Gets if lighting is enabled/disabled
|
Appearance.Material |
getMaterial()
Gets the material of a Solid
|
Image |
getTexture(int stage)
Get the texure of a solid in a concrete stage
|
void |
setEnabledBlending(boolean value)
Enables/disables the blending in a solid
|
void |
setEnabledLighting(boolean value)
Enables disables lighting in a solid
|
void |
setMaterial(Appearance.Material mat)
Sets the material of a solid
|
void setEnabledBlending(boolean value)
value
- the value to setboolean getEnabledBlending()
void setEnabledLighting(boolean value)
value
- the value to setboolean getEnabledLighting()
void setMaterial(Appearance.Material mat)
mat
- the material to setAppearance.Material getMaterial()
void addTexture(Image img, int stage)
img
- the texturestage
- the texture stageImage getTexture(int stage)
stage
- the concrete stage