|
BenQ Mobile |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.m3g.Object3D
An abstract base class for all objects that can be part of a 3D world. This includes the world itself, scene graph nodes, animations, textures, and so on. In fact, everything in this API is an Object3D, except for Loader, Transform, RayIntersection and Graphics3D.
Method Summary | |
void |
addAnimationTrack(AnimationTrack animationTrack)
Adds the given AnimationTrack to this Object3D, potentially changing the order and indices of the previously added tracks. |
int |
animate(int time)
Updates all animated properties in this Object3D and all Object3Ds that are reachable from this Object3D. |
Object3D |
duplicate()
Creates a duplicate of this Object3D. |
Object3D |
find(int userID)
Retrieves an object that has the given user ID and is reachable from this object. |
AnimationTrack |
getAnimationTrack(int index)
Gets an AnimationTrack by index. |
int |
getAnimationTrackCount()
Gets the number of AnimationTracks currently associated with this Object3D. |
int |
getReferences(Object3D[] references)
Returns the number of direct Object3D references in this object, and fills in the objects to the given array. |
int |
getUserID()
Gets the user ID of this object. |
java.lang.Object |
getUserObject()
Retrieves the user object that is currently associated with this Object3D. |
void |
removeAnimationTrack(AnimationTrack animationTrack)
Removes the given AnimationTrack from this Object3D, potentially changing the order and indices of the remaining tracks. |
void |
setUserID(int userID)
Sets the user ID for this object. |
void |
setUserObject(java.lang.Object pUserObject)
Associates an arbitrary, application specific Object with this Object3D. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public final Object3D duplicate()
public Object3D find(int userID)
public int getReferences(Object3D[] references)
public void setUserID(int userID)
public int getUserID()
public void setUserObject(java.lang.Object pUserObject)
public java.lang.Object getUserObject()
public void addAnimationTrack(AnimationTrack animationTrack)
public AnimationTrack getAnimationTrack(int index)
public void removeAnimationTrack(AnimationTrack animationTrack)
public int getAnimationTrackCount()
public final int animate(int time)
|
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. |