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)
Handles a glTF extension.
|
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
ExtensionLoaderhandleExtension in interface ExtensionLoaderloader - 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