|
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
An abstract base class for all scene graph nodes. There are five different kinds of nodes: - Camera defines the projection from 3D to 2D, as well as the position of the viewer in the scene. - Mesh defines a 3D object, consisting of triangles with associated material properties. - Sprite3D defines a screen-aligned 2D image with a position in 3D space. - Light defines the position, direction, color and other attributes of a light source. - Group serves as a root for scene graph branches.
Field Summary | |
static int |
NONE
Specifies for the setAlignment method that no alignment should be done for the specified axis. |
static int |
ORIGIN
Specifies the origin of the reference node as an orientation reference for the setAlignment method. |
static int |
X_AXIS
Specifies the X axis of the reference node as an orientation reference for the setAlignment method. |
static int |
Y_AXIS
Specifies the Y axis of the reference node as an orientation reference for the setAlignment method. |
static int |
Z_AXIS
Specifies the Z axis of the reference node as an orientation reference for the setAlignment method. |
Method Summary | |
void |
align(Node reference)
Applies alignments to this Node and its descendants. |
float |
getAlphaFactor()
Retrieves the alpha factor of this Node. |
Node |
getParent()
Returns the scene graph parent of this node. |
int |
getScope()
Retrieves the scope of this Node. |
boolean |
getTransformTo(Node target,
Transform transform)
Gets the composite transformation from this node to the given node. |
boolean |
isPickingEnabled()
Retrieves the picking enable flag of this Node. |
boolean |
isRenderingEnabled()
Retrieves the rendering enable flag of this Node. |
void |
setAlignment(Node zRef,
int zTarget,
Node yRef,
int yTarget)
Sets this node to align with the given other node(s), or disables alignment. |
void |
setAlphaFactor(float alphaFactor)
Sets the alpha factor for this Node. |
void |
setPickingEnable(boolean enable)
Sets the picking enable flag of this Node. |
void |
setRenderingEnable(boolean enable)
Sets the rendering enable flag of this Node. |
void |
setScope(int scope)
Sets the scope of this node. |
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NONE
public static final int ORIGIN
public static final int X_AXIS
public static final int Y_AXIS
public static final int Z_AXIS
Method Detail |
public void setRenderingEnable(boolean enable)
public void setPickingEnable(boolean enable)
public void setScope(int scope)
public void setAlphaFactor(float alphaFactor)
public boolean isRenderingEnabled()
public boolean isPickingEnabled()
public int getScope()
public float getAlphaFactor()
public Node getParent()
public boolean getTransformTo(Node target, Transform transform)
public final void align(Node reference)
public void setAlignment(Node zRef, int zTarget, Node yRef, int yTarget)
|
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. |