|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.scene.plugins.ogre.matext.MaterialExtension
public class MaterialExtension
MaterialExtension
defines a mapping from an Ogre3D "base" material
to a jME3 material definition.
Constructor Summary | |
---|---|
MaterialExtension(java.lang.String baseMatName,
java.lang.String jmeMatDefName)
Material extension defines a mapping from an Ogre3D "base" material to a jME3 material definition. |
Method Summary | |
---|---|
java.lang.String |
getBaseMaterialName()
|
java.lang.String |
getJmeMatDefName()
|
java.lang.String |
getTextureMapping(java.lang.String ogreTexAlias)
Retreives 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaterialExtension(java.lang.String baseMatName, java.lang.String jmeMatDefName)
baseMatName
- The base material name for Ogre3DjmeMatDefName
- The material definition name for jME3Method Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |