public interface ExtensionLoader
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
handleExtension(GltfLoader loader,
java.lang.String parentName,
com.google.gson.JsonElement parent,
com.google.gson.JsonElement extension,
java.lang.Object input)
Implement this methods to handle a gltf extension reading
|
java.lang.Object handleExtension(GltfLoader loader, java.lang.String parentName, com.google.gson.JsonElement parent, com.google.gson.JsonElement extension, java.lang.Object input) throws java.io.IOException
loader
- the GltfLoader with all the data structure.parentName
- 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, this is most probably a JME objectjava.io.IOException
- for various error conditions