com.jme3.scene.plugins.ogre.matext
Class OgreMaterialKey
java.lang.Object
com.jme3.asset.AssetKey<MaterialList>
com.jme3.scene.plugins.ogre.matext.OgreMaterialKey
- All Implemented Interfaces:
- Savable, java.lang.Cloneable
public class OgreMaterialKey
- extends AssetKey<MaterialList>
OgreMaterialKey
allows specifying material extensions, which map
from Ogre3D base materials to jME3 materials
Methods inherited from class com.jme3.asset.AssetKey |
clone, getCacheType, getExtension, getExtension, getFolder, getFolder, getName, getProcessorType, read, reducePath, toString, write |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
OgreMaterialKey
public OgreMaterialKey(java.lang.String name)
OgreMaterialKey
public OgreMaterialKey()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class AssetKey<MaterialList>
hashCode
public int hashCode()
- Overrides:
hashCode
in class AssetKey<MaterialList>
setMaterialExtensionSet
public void setMaterialExtensionSet(MaterialExtensionSet matExts)
- Set the
MaterialExtensionSet
to use for mapping base materials to
jME3 matdefs when loading. Set to
null
to disable this functionality.
- Parameters:
matExts
- The MaterialExtensionSet
to use
getMaterialExtensionSet
public MaterialExtensionSet getMaterialExtensionSet()
- Returns the
MaterialExtensionSet
previously set using
setMaterialExtensionSet(com.jme3.scene.plugins.ogre.matext.MaterialExtensionSet)
method.
- Returns:
- the
MaterialExtensionSet