Class OgreMaterialKey
java.lang.Object
com.jme3.asset.AssetKey<com.jme3.material.MaterialList>
com.jme3.scene.plugins.ogre.matext.OgreMaterialKey
- All Implemented Interfaces:
com.jme3.export.Savable,Cloneable
public class OgreMaterialKey
extends com.jme3.asset.AssetKey<com.jme3.material.MaterialList>
OgreMaterialKey allows specifying material extensions, which map
from Ogre3D base materials to jME3 materials-
Field Summary
Fields inherited from class com.jme3.asset.AssetKey
extension, folder, name -
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 classcom.jme3.asset.AssetKey<com.jme3.material.MaterialList>
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.jme3.asset.AssetKey<com.jme3.material.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
-