Class JSLayerImporter
java.lang.Object
com.ardor3d.extension.animation.skeletal.state.loader.JSLayerImporter
Import utility used for reading and constructing AnimationLayer information for a manager using JavaScript.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OutputStore
addLayers
(ResourceSource layersFile, AnimationManager manager, InputStore input) Populate a manager with layer information.
-
Constructor Details
-
JSLayerImporter
public JSLayerImporter()
-
-
Method Details
-
addLayers
public static OutputStore addLayers(ResourceSource layersFile, AnimationManager manager, InputStore input) throws IOException, ScriptException Populate a manager with layer information.- Parameters:
layersFile
- the script file to read from.manager
- the manager to add layer information to.input
- the input store object, holding things like AnimationClips that the layers might need for construction.- Returns:
- an output store object
- Throws:
IOException
- if there is a problem accessing the contents of the layersFile.ScriptException
- if the script given has syntax/parse errors.
-