public class PBRSpecGlossExtensionLoader extends java.lang.Object implements ExtensionLoader
Constructor and Description |
---|
PBRSpecGlossExtensionLoader() |
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
|
public 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
ExtensionLoader
handleExtension
in interface ExtensionLoader
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, this is most probably a JME objectjava.io.IOException
- for various error conditions