Class OgreMaterialKey
OgreMaterialKey allows specifying material extensions, which map
from Ogre3D base materials to jME3 materials-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns theMaterialExtensionSetpreviously set usingsetMaterialExtensionSet(com.jme3.scene.plugins.ogre.matext.MaterialExtensionSet)method.inthashCode()voidSet theMaterialExtensionSetto 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:
equalsin classAssetKey<MaterialList>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAssetKey<MaterialList>
-
setMaterialExtensionSet
Set theMaterialExtensionSetto use for mapping base materials to jME3 matdefs when loading. Set tonullto disable this functionality.- Parameters:
matExts- TheMaterialExtensionSetto use
-
getMaterialExtensionSet
Returns theMaterialExtensionSetpreviously set usingsetMaterialExtensionSet(com.jme3.scene.plugins.ogre.matext.MaterialExtensionSet)method.- Returns:
- the
MaterialExtensionSet
-