|
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.Mesh
javax.microedition.m3g.MorphingMesh
A scene graph node that represents a vertex morphing polygon mesh.
Field Summary |
Fields inherited from class javax.microedition.m3g.Node |
NONE, ORIGIN, X_AXIS, Y_AXIS, Z_AXIS |
Constructor Summary | |
MorphingMesh(VertexBuffer base,
VertexBuffer[] targets,
IndexBuffer[] submeshes,
Appearance[] appearances)
Constructs a new MorphingMesh with the given base mesh and morph targets. |
|
MorphingMesh(VertexBuffer base,
VertexBuffer[] targets,
IndexBuffer submesh,
Appearance appearance)
Constructs a new MorphingMesh with the given base mesh and morph targets. |
Method Summary | |
VertexBuffer |
getMorphTarget(int index)
Returns the morph target VertexBuffer at the given index. |
int |
getMorphTargetCount()
Returns the number of morph targets in this MorphingMesh. |
void |
getWeights(float[] weights)
Gets the current morph target weights for this mesh. |
void |
setWeights(float[] weights)
Sets the weights for all morph targets in this mesh. |
Methods inherited from class javax.microedition.m3g.Mesh |
getAppearance, getIndexBuffer, getSubmeshCount, getVertexBuffer, setAppearance |
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 MorphingMesh(VertexBuffer base, VertexBuffer[] targets, IndexBuffer submesh, Appearance appearance)
public MorphingMesh(VertexBuffer base, VertexBuffer[] targets, IndexBuffer[] submeshes, Appearance[] appearances)
Method Detail |
public VertexBuffer getMorphTarget(int index)
public int getMorphTargetCount()
public void setWeights(float[] weights)
public void getWeights(float[] weights)
|
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. |