Class MaterialExtension
java.lang.Object
com.jme3.scene.plugins.ogre.matext.MaterialExtension
MaterialExtension
defines a mapping from an Ogre3D "base" material
to a jME3 material definition.-
Constructor Summary
ConstructorDescriptionMaterialExtension
(String baseMatName, String jmeMatDefName) Material extension defines a mapping from an Ogre3D "base" material to a jME3 material definition. -
Method Summary
Modifier and TypeMethodDescriptiongetTextureMapping
(String ogreTexAlias) Retrieves a mapping from an Ogre3D base material texture alias to a jME3 texture paramvoid
setTextureMapping
(String ogreTexAlias, String jmeTexParam) Set mapping from an Ogre3D base material texture alias to a jME3 texture param
-
Constructor Details
-
MaterialExtension
Material extension defines a mapping from an Ogre3D "base" material to a jME3 material definition.- Parameters:
baseMatName
- The base material name for Ogre3DjmeMatDefName
- The material definition name for jME3
-
-
Method Details
-
getBaseMaterialName
-
getJmeMatDefName
-
setTextureMapping
Set mapping from an Ogre3D base material texture alias to a jME3 texture param- Parameters:
ogreTexAlias
- The texture alias in the Ogre3D base materialjmeTexParam
- The texture param name in the jME3 material definition.
-
getTextureMapping
Retrieves a mapping from an Ogre3D base material texture alias to a jME3 texture param- Parameters:
ogreTexAlias
- The texture alias in the Ogre3D base material- Returns:
- The texture alias in the Ogre3D base material
-