com.jmex.model.util
Class ModelLoader
java.lang.Object
com.jmex.model.util.ModelLoader
public class ModelLoader
- extends java.lang.Object
This is a utility that will prompt for a model file and then load it into
a scene.
- Author:
- Matthew D. Hicks, Alexander J. Gilpin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelLoader
public ModelLoader()
main
public static void main(java.lang.String[] args)
loadModel
public static Node loadModel(java.io.File file)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadModel
public static Node loadModel(java.lang.String file)
throws java.lang.Exception
- Throws:
java.lang.Exception
isValidModelFile
public static boolean isValidModelFile(java.io.File file)
isValidModelFile
public static boolean isValidModelFile(java.lang.String file)