Class MaterialExtensionSet
java.lang.Object
com.jme3.scene.plugins.ogre.matext.MaterialExtensionSet
MaterialExtensionSet is simply a container for several
 MaterialExtensions so that it can be set globally for all
 OgreMaterialKeys used.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddMaterialExtension(MaterialExtension extension) Adds a new material extension to the set of extensions.getMaterialExtension(String baseMatName) Returns theMaterialExtensionfor a given Ogre3D base material name.getNameMappings(String name) voidsetNameMapping(String name, String alias) Adds an alternative name for a material 
- 
Constructor Details
- 
MaterialExtensionSet
public MaterialExtensionSet() 
 - 
 - 
Method Details
- 
addMaterialExtension
Adds a new material extension to the set of extensions.- Parameters:
 extension- TheMaterialExtensionto add.
 - 
getMaterialExtension
Returns theMaterialExtensionfor a given Ogre3D base material name.- Parameters:
 baseMatName- The ogre3D base material name.- Returns:
 MaterialExtensionthat is set, or null if not set.
 - 
setNameMapping
Adds an alternative name for a material- Parameters:
 name- The material name to be found in a .mesh.xml filealias- The material name to be found in a .material file
 - 
getNameMappings
 
 -