com.jme3.scene.plugins.ogre
Class OgreMeshKey
java.lang.Object
com.jme3.asset.AssetKey<Spatial>
com.jme3.asset.ModelKey
com.jme3.scene.plugins.ogre.OgreMeshKey
- All Implemented Interfaces:
- Savable, java.lang.Cloneable
public class OgreMeshKey
- extends ModelKey
OgreMeshKey is used to load Ogre3D mesh.xml models with a specific
material file or list. This allows customizing from where the materials
are retrieved, instead of loading the material file as the same
name as the model (the default).
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
OgreMeshKey
public OgreMeshKey()
OgreMeshKey
public OgreMeshKey(java.lang.String name)
OgreMeshKey
public OgreMeshKey(java.lang.String name,
MaterialList materialList)
OgreMeshKey
public OgreMeshKey(java.lang.String name,
java.lang.String materialName)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class AssetKey<Spatial>
hashCode
public int hashCode()
- Overrides:
hashCode
in class AssetKey<Spatial>
getMaterialList
public MaterialList getMaterialList()
setMaterialList
public void setMaterialList(MaterialList materialList)
getMaterialName
public java.lang.String getMaterialName()
setMaterialName
public void setMaterialName(java.lang.String name)