|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMD5Node
IMD5Node defines the interface of a completed loaded
MD5 model node. It can be maintained by other MD5 nodes as their
dependent child, which will force the dependent child to follow
the joints of its parent.
| Method Summary | |
|---|---|
void |
addController(IMD5Controller controller)
Add a controller to control this node. |
void |
attachChild(IMD5Node node,
int jointIndex)
Attach the given MD5 node to the joint with given index. |
void |
attachChild(IMD5Node node,
java.lang.String jointID)
Attach the given MD5 node to the joint with given ID. |
void |
attachDependent(IMD5Node node)
Attach the given MD5 node as a dependent child which shares the skeleton with this node. |
IMD5Node |
clone()
Clone this MD5 node. |
void |
flagUpdate()
Notify the IMD5Node that its skeleton has been modified. |
IJoint |
getJoint(int index)
Retrieve the joint with given index. |
IJoint[] |
getJoints()
Retrieve the skeleton of this MD5 node. |
IMesh |
getMesh(int index)
Retrieve the mesh with given index. |
IMesh[] |
getMeshes()
Retrieve all the meshes maintained by this node. |
java.lang.String |
getName()
Retrieve the name of the node. |
IJoint |
getRootJoint()
Retrieve the root joint. |
void |
initialize()
Initialize the IMD5Node. |
boolean |
isDependent()
Check if this MD5 node is a dependent child of some other node. |
void |
removeChild(IMD5Node node)
Remove the given child from this node. |
void |
removeController(IMD5Controller controller)
Remove the given controller from this node. |
void |
removeDependent(IMD5Node node)
Remove the given dependent child. |
| Methods inherited from interface com.jme.util.export.Savable |
|---|
getClassTag, read, write |
| Method Detail |
|---|
void initialize()
IMD5Node.
void addController(IMD5Controller controller)
controller - The IMD5Controller instance.
void attachChild(IMD5Node node,
java.lang.String jointID)
node - The IMD5Node needs to be attached.jointID - The String ID of the joint.
void attachChild(IMD5Node node,
int jointIndex)
node - The IMD5Node needs to be attached.jointIndex - The Integer index of the joint.void attachDependent(IMD5Node node)
node - The dependent IMD5Node needs to be attached.void removeController(IMD5Controller controller)
controller - The IMD5Controller instance.void removeChild(IMD5Node node)
node - The IMD5Node instance.void removeDependent(IMD5Node node)
node - The IMD5Node instance.void flagUpdate()
IMD5Node that its skeleton has been modified.
java.lang.String getName()
String name.IJoint[] getJoints()
IJoint.IJoint getJoint(int index)
index - The Integer index number.
IJoint instance.IJoint getRootJoint()
IJoint instance.IMesh getMesh(int index)
index - The Integer index number.
IMesh instance.IMesh[] getMeshes()
IMesh instances.boolean isDependent()
IMD5Node clone()
IMD5Node instance.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||