public class OgreMaterialKey extends AssetKey<MaterialList>
OgreMaterialKey
allows specifying material extensions, which map
from Ogre3D base materials to jME3 materialsConstructor and Description |
---|
OgreMaterialKey() |
OgreMaterialKey(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
MaterialExtensionSet |
getMaterialExtensionSet()
Returns the
MaterialExtensionSet previously set using
setMaterialExtensionSet(com.jme3.scene.plugins.ogre.matext.MaterialExtensionSet) method. |
int |
hashCode() |
void |
setMaterialExtensionSet(MaterialExtensionSet matExts)
Set the
MaterialExtensionSet to use for mapping base materials to
jME3 matdefs when loading. |
clone, getCacheType, getExtension, getExtension, getFolder, getFolder, getName, getProcessorType, read, reducePath, toString, write
public OgreMaterialKey(java.lang.String name)
public OgreMaterialKey()
public boolean equals(java.lang.Object obj)
equals
in class AssetKey<MaterialList>
public int hashCode()
hashCode
in class AssetKey<MaterialList>
public void setMaterialExtensionSet(MaterialExtensionSet matExts)
MaterialExtensionSet
to use for mapping base materials to
jME3 matdefs when loading. Set to
null
to disable this functionality.matExts
- The MaterialExtensionSet
to usepublic MaterialExtensionSet getMaterialExtensionSet()
MaterialExtensionSet
previously set using
setMaterialExtensionSet(com.jme3.scene.plugins.ogre.matext.MaterialExtensionSet)
method.MaterialExtensionSet