|
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.Transformable
An abstract base class for Node and Texture2D, defining common methods for manipulating node and texture transformations.
Method Summary | |
void |
getCompositeTransform(Transform transform)
Retrieves the composite transformation matrix of this Transformable. |
void |
getOrientation(float[] angleAxis)
Retrieves the orientation component of this Transformable. |
void |
getScale(float[] xyz)
Retrieves the scale component of this Transformable. |
void |
getTransform(Transform transform)
Retrieves the matrix component of this Transformable. |
void |
getTranslation(float[] xyz)
Retrieves the translation component of this Transformable. |
void |
postRotate(float angle,
float ax,
float ay,
float az)
Multiplies the current orientation component from the right by the given orientation. |
void |
preRotate(float angle,
float ax,
float ay,
float az)
Multiplies the current orientation component from the left by the given orientation. |
void |
scale(float sx,
float sy,
float sz)
Multiplies the current scale component by the given scale factors. |
void |
setOrientation(float angle,
float ax,
float ay,
float az)
Sets the orientation component of this Transformable. |
void |
setScale(float sx,
float sy,
float sz)
Retrieves the scale component of this Transformable. |
void |
setTransform(Transform transform)
Sets the matrix component of this Transformable by copying in the given Transform. |
void |
setTranslation(float tx,
float ty,
float tz)
Sets the translation component of this Transformable. |
void |
translate(float tx,
float ty,
float tz)
Adds the given offset to the current translation component. |
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void setOrientation(float angle, float ax, float ay, float az)
public void preRotate(float angle, float ax, float ay, float az)
public void postRotate(float angle, float ax, float ay, float az)
public void getOrientation(float[] angleAxis)
public void setScale(float sx, float sy, float sz)
public void scale(float sx, float sy, float sz)
public void getScale(float[] xyz)
public void setTranslation(float tx, float ty, float tz)
public void translate(float tx, float ty, float tz)
public void getTranslation(float[] xyz)
public void setTransform(Transform transform)
public void getTransform(Transform transform)
public void getCompositeTransform(Transform transform)
|
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. |