public class ObjModelLoader extends java.lang.Object implements IModelCustomLoader
Constructor and Description |
---|
ObjModelLoader() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getSuffixes()
Get resource suffixes this model loader recognizes
|
java.lang.String |
getType()
Get the main type name for this loader
|
IModelCustom |
loadInstance(java.lang.String resourceName,
java.net.URL resource)
Load a model instance from the supplied path
|
public java.lang.String getType()
IModelCustomLoader
getType
in interface IModelCustomLoader
public java.lang.String[] getSuffixes()
IModelCustomLoader
getSuffixes
in interface IModelCustomLoader
public IModelCustom loadInstance(java.lang.String resourceName, java.net.URL resource) throws ModelFormatException
IModelCustomLoader
loadInstance
in interface IModelCustomLoader
resourceName
- The resource name to loadresource
- The URL associated with the classloader resourceModelFormatException
- if the model format is not correct