|
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.Fog
An Appearance component encapsulating attributes for fogging.
Field Summary | |
static int |
EXPONENTIAL
A parameter to setMode, specifying exponential fog. |
static int |
LINEAR
A parameter to setMode, specifying linear fog. |
Constructor Summary | |
Fog()
Constructs a new Fog object with default values. |
Method Summary | |
int |
getColor()
Retrieves the current color of this Fog. |
float |
getDensity()
Retrieves the fog density of exponential fog. |
float |
getFarDistance()
Retrieves the linear fog far distance. |
int |
getMode()
Retrieves the current fog mode. |
float |
getNearDistance()
Retrieves the linear fog near distance. |
void |
setColor(int RGB)
Sets the color of this Fog. |
void |
setDensity(float density)
Sets the fog density for exponential fog. |
void |
setLinear(float near,
float far)
Sets the near and far distances for linear fog. |
void |
setMode(int mode)
Sets the fog mode to either linear or exponential. |
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 |
Field Detail |
public static final int EXPONENTIAL
public static final int LINEAR
Constructor Detail |
public Fog()
Method Detail |
public void setMode(int mode)
public int getMode()
public void setLinear(float near, float far)
public float getNearDistance()
public float getFarDistance()
public void setDensity(float density)
public float getDensity()
public void setColor(int RGB)
public int getColor()
|
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. |