public class TLcdOpenFlight3DMeshStyle extends Object implements ILcd3DMeshStyle
Constructor and Description |
---|
TLcdOpenFlight3DMeshStyle() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aObject) |
Color |
getAmbientColor()
Returns the ambient color of this style.
|
Color |
getDiffuseColor()
Returns the diffuse color of this style.
|
Color |
getEmissiveColor()
Returns the emissive color of this style.
|
double |
getOpacity()
Returns the opacity of this style.
|
double |
getShininess()
Returns the specular exponent of this style.
|
Color |
getSpecularColor()
Returns the specular color of this style.
|
String |
getTextureSourceName()
Returns the path to a texture map for this style, or null if no texture is present.
|
int |
hashCode() |
boolean |
isCullBackFaces()
Returns true if backfacing polygons may be culled.
|
boolean |
isLit()
Returns true if primitives using this style should be lit.
|
boolean |
isTransparent()
Returns true if this style is transparent.
|
boolean |
isUseVertexColor()
Returns true if this style should derive color information from the
vertices in an ILcd3DMesh.
|
void |
setAmbientColor(Color aAmbientColor)
Sets the ambient color of this style.
|
void |
setCullBackFaces(boolean aCullBackFaces)
Specifies whether backfacing polygons may be culled.
|
void |
setDiffuseColor(Color aDiffuseColor)
Sets the diffuse color of this style.
|
void |
setEmissiveColor(Color aEmissiveColor)
Sets the emissive color of this style.
|
void |
setLit(boolean aLit)
Specifies whether primitives using this style should be lit.
|
void |
setOpacity(double aOpacity)
Sets the opacity of this style.
|
void |
setShininess(double aShininess)
Sets the specular exponent of this style.
|
void |
setSpecularColor(Color aSpecularColor)
Sets the specular color of this style.
|
void |
setTextureSourceName(String aTextureSourceName)
Sets the name of the texture image to be used with this style.
|
void |
setUseVertexColor(boolean aUseVertexColor)
Specifies whether vertex colors should be used instead of the colors
defined in this mesh style.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getGLTextureData, getTextureData
public boolean isCullBackFaces()
public void setCullBackFaces(boolean aCullBackFaces)
aCullBackFaces
- true if backfaces may be culledisCullBackFaces()
public boolean isLit()
public void setLit(boolean aLit)
aLit
- true if primitives using this style should be litisLit()
public Color getAmbientColor()
ILcd3DMeshStyle
Color.BLACK
.getAmbientColor
in interface ILcd3DMeshStyle
public void setAmbientColor(Color aAmbientColor)
aAmbientColor
- a ColorgetAmbientColor()
public Color getDiffuseColor()
ILcd3DMeshStyle
Color.WHITE
.getDiffuseColor
in interface ILcd3DMeshStyle
public void setDiffuseColor(Color aDiffuseColor)
aDiffuseColor
- a ColorgetDiffuseColor()
public Color getSpecularColor()
ILcd3DMeshStyle
Color.BLACK
.getSpecularColor
in interface ILcd3DMeshStyle
public void setSpecularColor(Color aSpecularColor)
aSpecularColor
- a ColorgetSpecularColor()
public Color getEmissiveColor()
ILcd3DMeshStyle
Color.BLACK
.getEmissiveColor
in interface ILcd3DMeshStyle
public void setEmissiveColor(Color aEmissiveColor)
aEmissiveColor
- a ColorgetEmissiveColor()
public double getOpacity()
public void setOpacity(double aOpacity)
aOpacity
- the new opacity valuegetOpacity()
public double getShininess()
ILcd3DMeshStyle
getShininess
in interface ILcd3DMeshStyle
public void setShininess(double aShininess)
aShininess
- the specular exponentgetShininess()
public String getTextureSourceName()
ILcd3DMeshStyle
getTextureSourceName
in interface ILcd3DMeshStyle
public void setTextureSourceName(String aTextureSourceName)
aTextureSourceName
- the name of a texture imagegetTextureSourceName()
public boolean isUseVertexColor()
public void setUseVertexColor(boolean aUseVertexColor)
aUseVertexColor
- true if vertex colors should be usedisUseVertexColor()
public boolean isTransparent()
ILcd3DMeshStyle
isTransparent
in interface ILcd3DMeshStyle