Package com.jme3.scene.plugins.gltf
Class PBRSpecGlossExtensionLoader
java.lang.Object
com.jme3.scene.plugins.gltf.PBRSpecGlossExtensionLoader
- All Implemented Interfaces:
- ExtensionLoader
Material adapter for PBR Specular Glossiness pipeline
 Created by Nehon on 20/08/2017.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionhandleExtension(GltfLoader loader, String parentName, com.jme3.plugins.json.JsonElement parent, com.jme3.plugins.json.JsonElement extension, Object input) Handles a glTF extension.
- 
Constructor Details- 
PBRSpecGlossExtensionLoaderpublic PBRSpecGlossExtensionLoader()
 
- 
- 
Method Details- 
handleExtensionpublic Object handleExtension(GltfLoader loader, String parentName, com.jme3.plugins.json.JsonElement parent, com.jme3.plugins.json.JsonElement extension, Object input) throws IOException Description copied from interface:ExtensionLoaderHandles a glTF extension.- Specified by:
- handleExtensionin interface- ExtensionLoader
- Parameters:
- loader- the GltfLoader with all the data structures
- parentName- the name of the element being read
- parent- the element being read
- extension- the content of the extension found in the element being read
- input- an object containing already loaded data from the element, probably a JME object
- Returns:
- An object of the same type as input, containing the data from the input object and the eventual additional data read from the extension
- Throws:
- IOException- for various error conditions
 
 
-