|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.model.md5.importer.resource.ResourceImporter<IMD5Node>
com.model.md5.importer.resource.MeshImporter
public class MeshImporter
MeshImporter is responsible for importing MD5Mesh
resources and constructing the final IMD5Node
instance.
MeshImporter is used by MD5Importer
internally only.
| Field Summary |
|---|
| Fields inherited from class com.model.md5.importer.resource.ResourceImporter |
|---|
base, reader, version |
| Constructor Summary | |
|---|---|
MeshImporter()
Constructor of MeshImporter. |
|
| Method Summary | |
|---|---|
void |
cleanup()
Clean up the importer. |
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 orientedBounding)
Set if oriented bounding should be used for the meshes. |
| Methods inherited from class com.model.md5.importer.resource.ResourceImporter |
|---|
load, readVector |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MeshImporter()
MeshImporter.
| Method Detail |
|---|
protected IMD5Node load(java.lang.String name)
throws java.io.IOException
ResourceImporter
load in class ResourceImporter<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 orientedBounding)
orientedBounding - True if oriented bounding should be used. False otherwise.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()
public void cleanup()
ResourceImporter
cleanup in class ResourceImporter<IMD5Node>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||