|
BenQ Mobile |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.m3g.Object3D
javax.microedition.m3g.Appearance
A set of component objects that define the rendering attributes of a Mesh or Sprite3D.
Constructor Summary | |
Appearance()
Constructs an Appearance object with default values. |
Method Summary | |
CompositingMode |
getCompositingMode()
Returns the current CompositingMode for this Appearance. |
Fog |
getFog()
Returns the current fogging attributes for this Appearance. |
int |
getLayer()
Gets the current rendering layer for this Appearance. |
Material |
getMaterial()
Returns the current Material for this Appearance. |
PolygonMode |
getPolygonMode()
Returns the current PolygonMode for this Appearance. |
Texture2D |
getTexture(int index)
Retrieves the current texture image and its attributes for the given texturing unit. |
void |
setCompositingMode(CompositingMode compositingMode)
Sets the CompositingMode to use for this Appearance. |
void |
setFog(Fog fog)
Sets the fogging attributes to use for this Appearance. |
void |
setLayer(int layer)
Sets the rendering layer for this Appearance. |
void |
setMaterial(Material material)
Sets the Material to use when lighting this Appearance. |
void |
setPolygonMode(PolygonMode polygonMode)
Sets the PolygonMode to use for this Appearance. |
void |
setTexture(int index,
Texture2D texture)
Sets the texture image and its attributes for the given texturing unit. |
Methods inherited from class javax.microedition.m3g.Object3D |
addAnimationTrack, animate, duplicate, find, getAnimationTrack, getAnimationTrackCount, getReferences, getUserID, getUserObject, removeAnimationTrack, setUserID, setUserObject |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Appearance()
Method Detail |
public void setLayer(int layer)
public int getLayer()
public void setFog(Fog fog)
public Fog getFog()
public void setPolygonMode(PolygonMode polygonMode)
public PolygonMode getPolygonMode()
public void setCompositingMode(CompositingMode compositingMode)
public CompositingMode getCompositingMode()
public void setTexture(int index, Texture2D texture)
public Texture2D getTexture(int index)
public void setMaterial(Material material)
public Material getMaterial()
|
BenQ Mobile |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner. All Rights Reserved. BenQ Corp. is a trademark licensee of Siemens AG. |
For further information about Mobility Toolkit (MTK) visit our Developer Portal. |