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