public abstract class MaterialAdapter
extends java.lang.Object
Constructor and Description |
---|
MaterialAdapter() |
Modifier and Type | Method and Description |
---|---|
protected abstract MatParam |
adaptMatParam(MatParam param) |
protected void |
addParamMapping(java.lang.String gltfParamName,
java.lang.String jmeParamName) |
protected java.lang.String |
getJmeParamName(java.lang.String gltfParamName) |
protected Material |
getMaterial() |
protected abstract java.lang.String |
getMaterialDefPath()
Should return the material definition used by this material adapter
|
protected void |
init(AssetManager assetManager) |
void |
setParam(java.lang.String gltfParamName,
java.lang.Object value) |
protected abstract java.lang.String getMaterialDefPath()
protected void init(AssetManager assetManager)
protected Material getMaterial()
public void setParam(java.lang.String gltfParamName, java.lang.Object value)
protected void addParamMapping(java.lang.String gltfParamName, java.lang.String jmeParamName)
protected java.lang.String getJmeParamName(java.lang.String gltfParamName)