public interface ExtrasLoader
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
handleExtras(GltfLoader loader,
java.lang.String parentName,
com.google.gson.JsonElement parent,
com.google.gson.JsonElement extras,
java.lang.Object input)
Implement this methods to handle gltf extra reading
Note that this method will be invoked every time an "extras" element will be found in the gltf file.
|
java.lang.Object handleExtras(GltfLoader loader, java.lang.String parentName, com.google.gson.JsonElement parent, com.google.gson.JsonElement extras, java.lang.Object input)
loader
- the GltfLoader with all the data structure.parentName
- the name of the element being readparent
- the element being readextras
- the content of the extras found in the element being readinput
- an object containing already loaded data from the element, this is most probably a JME object