javax.microedition.m3g
Class SkinnedMesh
java.lang.Object
javax.microedition.m3g.Object3D
javax.microedition.m3g.Transformable
javax.microedition.m3g.Node
javax.microedition.m3g.Mesh
javax.microedition.m3g.SkinnedMesh
- public class SkinnedMesh
- extends Mesh
A scene graph node that represents a skeletally animated polygon mesh.
Method Summary |
void |
addTransform(Node bone,
int weight,
int firstVertex,
int numVertices)
Associates a weighted transformation, or "bone", with a range of
vertices in this SkinnedMesh. |
Group |
getSkeleton()
Returns the skeleton Group of this SkinnedMesh. |
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 |
SkinnedMesh
public SkinnedMesh(VertexBuffer vertices,
IndexBuffer submesh,
Appearance appearance,
Group skeleton)
- Constructs a new SkinnedMesh with the given vertices, submeshes and
skeleton.
SkinnedMesh
public SkinnedMesh(VertexBuffer vertices,
IndexBuffer[] submeshes,
Appearance[] appearances,
Group skeleton)
- Constructs a new SkinnedMesh with the given vertices, submeshes and
skeleton.
getSkeleton
public Group getSkeleton()
- Returns the skeleton Group of this SkinnedMesh.
addTransform
public void addTransform(Node bone,
int weight,
int firstVertex,
int numVertices)
- Associates a weighted transformation, or "bone", with a range of
vertices in this SkinnedMesh.
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.
|