public class MaterialExtension
extends java.lang.Object
MaterialExtension
defines a mapping from an Ogre3D "base" material
to a jME3 material definition.Constructor and Description |
---|
MaterialExtension(java.lang.String baseMatName,
java.lang.String jmeMatDefName)
Material extension defines a mapping from an Ogre3D "base" material
to a jME3 material definition.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseMaterialName() |
java.lang.String |
getJmeMatDefName() |
java.lang.String |
getTextureMapping(java.lang.String ogreTexAlias)
Retrieves a mapping from an Ogre3D base material texture alias
to a jME3 texture param
|
void |
setTextureMapping(java.lang.String ogreTexAlias,
java.lang.String jmeTexParam)
Set mapping from an Ogre3D base material texture alias to a
jME3 texture param
|
public MaterialExtension(java.lang.String baseMatName, java.lang.String jmeMatDefName)
baseMatName
- The base material name for Ogre3DjmeMatDefName
- The material definition name for jME3public java.lang.String getBaseMaterialName()
public java.lang.String getJmeMatDefName()
public void setTextureMapping(java.lang.String ogreTexAlias, java.lang.String jmeTexParam)
ogreTexAlias
- The texture alias in the Ogre3D base materialjmeTexParam
- The texture param name in the jME3 material definition.public java.lang.String getTextureMapping(java.lang.String ogreTexAlias)
ogreTexAlias
- The texture alias in the Ogre3D base material