Package com.jme3.scene.plugins.ogre
Class OgreMeshKey
java.lang.Object
com.jme3.asset.AssetKey<com.jme3.scene.Spatial>
com.jme3.asset.ModelKey
com.jme3.scene.plugins.ogre.OgreMeshKey
- All Implemented Interfaces:
com.jme3.export.Savable,Cloneable
public class OgreMeshKey
extends com.jme3.asset.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).
- Author:
- Kirill Vainer
-
Field Summary
Fields inherited from class com.jme3.asset.AssetKey
extension, folder, name -
Constructor Summary
ConstructorsConstructorDescriptionOgreMeshKey(String name) OgreMeshKey(String name, com.jme3.material.MaterialList materialList) OgreMeshKey(String name, String materialName) -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.jme3.material.MaterialListinthashCode()voidsetMaterialList(com.jme3.material.MaterialList materialList) voidsetMaterialName(String name) Methods inherited from class com.jme3.asset.ModelKey
getCacheType, getProcessorTypeMethods inherited from class com.jme3.asset.AssetKey
clone, getExtension, getExtension, getFolder, getFolder, getName, read, reducePath, toString, write
-
Constructor Details
-
OgreMeshKey
public OgreMeshKey() -
OgreMeshKey
-
OgreMeshKey
-
OgreMeshKey
-
-
Method Details
-
equals
- Overrides:
equalsin classcom.jme3.asset.AssetKey<com.jme3.scene.Spatial>
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.jme3.asset.AssetKey<com.jme3.scene.Spatial>
-
getMaterialList
public com.jme3.material.MaterialList getMaterialList() -
setMaterialList
public void setMaterialList(com.jme3.material.MaterialList materialList) -
getMaterialName
-
setMaterialName
-