Class OgreMaterialKey
OgreMaterialKey
allows specifying material extensions, which map
from Ogre3D base materials to jME3 materials-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns theMaterialExtensionSet
previously set usingsetMaterialExtensionSet(com.jme3.scene.plugins.ogre.matext.MaterialExtensionSet)
method.int
hashCode()
void
Set theMaterialExtensionSet
to use for mapping base materials to jME3 matdefs when loading.Methods inherited from class com.jme3.asset.AssetKey
clone, getCacheType, getExtension, getExtension, getFolder, getFolder, getName, getProcessorType, read, reducePath, toString, write
-
Constructor Details
-
OgreMaterialKey
-
OgreMaterialKey
public OgreMaterialKey()
-
-
Method Details
-
equals
- Overrides:
equals
in classAssetKey<MaterialList>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAssetKey<MaterialList>
-
setMaterialExtensionSet
Set theMaterialExtensionSet
to use for mapping base materials to jME3 matdefs when loading. Set tonull
to disable this functionality.- Parameters:
matExts
- TheMaterialExtensionSet
to use
-
getMaterialExtensionSet
Returns theMaterialExtensionSet
previously set usingsetMaterialExtensionSet(com.jme3.scene.plugins.ogre.matext.MaterialExtensionSet)
method.- Returns:
- the
MaterialExtensionSet
-