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 SummaryConstructors
- 
Method SummaryModifier 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- 
MaterialExtensionSetpublic MaterialExtensionSet()
 
- 
- 
Method Details- 
addMaterialExtensionAdds a new material extension to the set of extensions.- Parameters:
- extension- The- MaterialExtensionto add.
 
- 
getMaterialExtensionReturns theMaterialExtensionfor a given Ogre3D base material name.- Parameters:
- baseMatName- The ogre3D base material name.
- Returns:
- MaterialExtensionthat is set, or null if not set.
 
- 
setNameMappingAdds an alternative name for a material- Parameters:
- name- The material name to be found in a .mesh.xml file
- alias- The material name to be found in a .material file
 
- 
getNameMappings
 
-