|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.md5importer.loader.ResourceLoader<IMD5Node>
com.md5importer.loader.MeshLoader
public class MeshLoader
MeshLoader is responsible for importing MD5Mesh
resources and constructing the final IMD5Node
instance.
MeshLoader is used by MD5Importer
internally only.
| Field Summary |
|---|
| Fields inherited from class com.md5importer.loader.ResourceLoader |
|---|
base, reader, version |
| Constructor Summary | |
|---|---|
MeshLoader()
Constructor of MeshLoader. |
|
| Method Summary | |
|---|---|
void |
cleanup()
Clean up the loader. |
int |
getAnisotropic()
Retrieve the anisotropic level. |
com.jme.image.Texture.MagnificationFilter |
getMagFilter()
Retrieve the magnification (FM) texture filter. |
com.jme.image.Texture.MinificationFilter |
getMiniFilter()
Retrieve the minification (MM) texture filter. |
boolean |
isOriented()
Check if oriented bounding should be used. |
protected IMD5Node |
load(java.lang.String name)
Load the data with given name. |
void |
setAnisotropic(int aniso)
Set the texture anisotropic level. |
void |
setMagFilter(com.jme.image.Texture.MagnificationFilter filter)
Set the magnification (FM) Texture filter. |
void |
setMiniFilter(com.jme.image.Texture.MinificationFilter filter)
Set the minification (MM) Texture filter. |
void |
setOrientedBounding(boolean value)
Set if oriented bounding should be used for the meshes. |
| Methods inherited from class com.md5importer.loader.ResourceLoader |
|---|
load, readVector |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MeshLoader()
MeshLoader.
| Method Detail |
|---|
protected IMD5Node load(java.lang.String name)
throws java.io.IOException
ResourceLoader
load in class ResourceLoader<IMD5Node>name - The String to set the result to.
T loaded data structure.
java.io.IOException - If reading is interrupted.public void setAnisotropic(int aniso)
value - The Integer anisotropic level value.public void setMiniFilter(com.jme.image.Texture.MinificationFilter filter)
Texture filter.
filter - The minification (MM) Texture filter.public void setMagFilter(com.jme.image.Texture.MagnificationFilter filter)
Texture filter.
filter - The magnification (FM) Texture filter.public void setOrientedBounding(boolean value)
value - The Boolean oriented bounding flag.public int getAnisotropic()
Integer anisotropic level.public com.jme.image.Texture.MinificationFilter getMiniFilter()
MinificationFilter enumeration.public com.jme.image.Texture.MagnificationFilter getMagFilter()
MagnificationFilter enumeration.public boolean isOriented()
Boolean oriented bounding flag.public void cleanup()
ResourceLoader
cleanup in class ResourceLoader<IMD5Node>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||