public class ArdorColladaImporter extends Object
Utility class to import Collada skins via Ardor3D's collada loader. Can also be used as a command line tool. Use the script in scripts folder to use from command line.
Constructor and Description |
---|
ArdorColladaImporter(File outFile,
List<File> inputFiles,
float scale,
Quaternion rotation)
Creates a new importer with given parameters.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Command line entry method.
|
void |
run()
Executes the importer.
|
ArdorColladaImporter |
setMergeAnimations(boolean mergeAnimations)
Sets if merge animations.
|
public ArdorColladaImporter(File outFile, List<File> inputFiles, float scale, Quaternion rotation)
outFile
- destination file to write bones group. May be null.inputFiles
- list of collada files. There must be at least one. If there are many,
their skeletons must match.scale
- the scaling of grouprotation
- the rotation applied while loadingBonesImporter.importCollada(ColladaStorage, float, Quaternion)
,
AnimatedGroup.mergeAnimations(AnimatedGroup...)
public ArdorColladaImporter setMergeAnimations(boolean mergeAnimations)
mergeAnimations
- merge animations or groups