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)
Handles a glTF extension.
|
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 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 objectjava.io.IOException
- for various error conditions