loader.ObjectLoader

Loader modules are responsible for loading content into the scene. In this case, we are importing an .obj file using loader.ObjectLoader, which has its path specified as a command line argument. Other types of loader modules can be used to load other types of files (such as .blend files and materials).

    {
      "module": "loader.ObjectLoader",
      "config": {
        "path": "<args:1>"
      }
    }

Last updated