|
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
javax.microedition.m3g.Node
javax.microedition.m3g.Group
A scene graph node that stores an unordered set of nodes as its children.
Field Summary |
Fields inherited from class javax.microedition.m3g.Node |
NONE, ORIGIN, X_AXIS, Y_AXIS, Z_AXIS |
Constructor Summary | |
Group()
Constructs a new Group node and initializes it with an empty list of children. |
Method Summary | |
void |
addChild(Node child)
Adds the given node to this Group, potentially changing the order and indices of the previously added children. |
Node |
getChild(int index)
Gets a child by index. |
int |
getChildCount()
Gets the number of children in this Group. |
boolean |
pick(int scope,
float x,
float y,
Camera camera,
RayIntersection ri)
Picks the first Mesh or scaled Sprite3D in this Group that is enabled for picking, is intercepted by the given pick ray, and is in the specified scope. |
boolean |
pick(int scope,
float ox,
float oy,
float oz,
float dx,
float dy,
float dz,
RayIntersection ri)
Picks the first Mesh in this Group that is intercepted by the given pick ray and is in the specified scope. |
void |
removeChild(Node child)
Removes the given node from this Group, potentially changing the order and indices of the remaining children. |
Methods inherited from class javax.microedition.m3g.Node |
align, getAlphaFactor, getParent, getScope, getTransformTo, isPickingEnabled, isRenderingEnabled, setAlignment, setAlphaFactor, setPickingEnable, setRenderingEnable, setScope |
Methods inherited from class javax.microedition.m3g.Transformable |
getCompositeTransform, getOrientation, getScale, getTransform, getTranslation, postRotate, preRotate, scale, setOrientation, setScale, setTransform, setTranslation, translate |
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 Group()
Method Detail |
public void addChild(Node child)
public void removeChild(Node child)
public int getChildCount()
public Node getChild(int index)
public boolean pick(int scope, float ox, float oy, float oz, float dx, float dy, float dz, RayIntersection ri)
public boolean pick(int scope, float x, float y, Camera camera, RayIntersection ri)
|
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. |