Class UnlitMaterialAdapter
java.lang.Object
com.jme3.scene.plugins.gltf.MaterialAdapter
com.jme3.scene.plugins.gltf.UnlitMaterialAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.jme3.material.MatParamadaptMatParam(com.jme3.material.MatParam param) Deprecated.protected StringDeprecated.Should return the material definition used by this material adapterprotected voidinitDefaultMatParams(com.jme3.material.Material material) Deprecated.Initializes material parameters to their default settings.Methods inherited from class MaterialAdapter
addParamMapping, getJmeParamName, getMaterial, init, setParam
-
Constructor Details
-
UnlitMaterialAdapter
public UnlitMaterialAdapter()Deprecated.
-
-
Method Details
-
getMaterialDefPath
Deprecated.Description copied from class:MaterialAdapterShould return the material definition used by this material adapter- Specified by:
getMaterialDefPathin classMaterialAdapter- Returns:
- path to the material definition
-
adaptMatParam
protected com.jme3.material.MatParam adaptMatParam(com.jme3.material.MatParam param) Deprecated.- Specified by:
adaptMatParamin classMaterialAdapter
-
initDefaultMatParams
protected void initDefaultMatParams(com.jme3.material.Material material) Deprecated.Description copied from class:MaterialAdapterInitializes material parameters to their default settings.- Specified by:
initDefaultMatParamsin classMaterialAdapter- Parameters:
material-
-
GltfMaterialFactoryand register it with theGltfLoader.