public class BonesImporter extends Object
Contains static importer methods to convert jME and Ardor format to Bones format.
| Modifier and Type | Method and Description |
|---|---|
static AnimatedGroup |
importCollada(com.ardor3d.extension.model.collada.jdom.data.ColladaStorage colladaStorage,
float scale,
Quaternion rotation)
Constructs an
AnimatedGroup out of Ardor's skinData. |
static AnimatedGroup |
importOgre(com.jmex.model.ogrexml.OgreEntityNode node,
float scale,
Quaternion rotation)
Constructs an
AnimatedGroup out of jME OGRE data. |
public static AnimatedGroup importCollada(com.ardor3d.extension.model.collada.jdom.data.ColladaStorage colladaStorage, float scale, Quaternion rotation)
Constructs an AnimatedGroup out of Ardor's skinData.
colladaStorage - Ardor collada storagescale - the scaling appliedrotation - the rotation applied to whole system. maybe nullAnimatedGrouppublic static AnimatedGroup importOgre(com.jmex.model.ogrexml.OgreEntityNode node, float scale, Quaternion rotation) throws IOException
Constructs an AnimatedGroup out of jME OGRE data.
node - jME OgreEntityNodescale - the scalerotation - the rotation applied to whole system. maybe nullIOException