Class PBREmissiveStrengthExtensionLoader

java.lang.Object
com.jme3.scene.plugins.gltf.PBREmissiveStrengthExtensionLoader
All Implemented Interfaces:
ExtensionLoader

public class PBREmissiveStrengthExtensionLoader extends Object implements ExtensionLoader
Extension loader for "KHR_materials_emissive_strength".
  • Constructor Details

    • PBREmissiveStrengthExtensionLoader

      public PBREmissiveStrengthExtensionLoader()
  • Method Details

    • handleExtension

      public Object handleExtension(GltfLoader loader, String parentName, com.google.gson.JsonElement parent, com.google.gson.JsonElement extension, Object input) throws IOException
      Description copied from interface: ExtensionLoader
      Handles a glTF extension.
      Specified by:
      handleExtension in interface ExtensionLoader
      Parameters:
      loader - the GltfLoader with all the data structures
      parentName - the name of the element being read
      parent - the element being read
      extension - the content of the extension found in the element being read
      input - an object containing already loaded data from the element, probably a JME object
      Returns:
      An object of the same type as input, containing the data from the input object and the eventual additional data read from the extension
      Throws:
      IOException - for various error conditions