Package com.jme3.scene.plugins.gltf
Interface ExtensionLoader
- All Known Implementing Classes:
 LightsPunctualExtensionLoader,PBREmissiveStrengthExtensionLoader,PBRSpecGlossExtensionLoader,TextureTransformExtensionLoader,UnlitExtensionLoader
public interface ExtensionLoader
Interface to handle a glTF extension.
 Created by Nehon on 20/08/2017.
- 
Method Summary
Modifier and TypeMethodDescriptionhandleExtension(GltfLoader loader, String parentName, com.google.gson.JsonElement parent, com.google.gson.JsonElement extension, Object input) Handles a glTF extension. 
- 
Method Details
- 
handleExtension
Object handleExtension(GltfLoader loader, String parentName, com.google.gson.JsonElement parent, com.google.gson.JsonElement extension, Object input) throws IOException Handles a glTF extension.- Parameters:
 loader- the GltfLoader with all the data structuresparentName- the name of the element being readparent- the element being readextension- the content of the extension found in the element being readinput- 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
 
 -