File::save()
This works in a project you run on your own computer, but not in the examples you can start here in the browser. There is no file system, no video encoder and no OpenGL behind a web page, so calling it there tells you as much and does nothing.
Saves the given object to the specified path in the default file type (JSON).
Syntax
Java
.save(path, obj)
Parameters
| Name | Data Type | Description |
|---|---|---|
| path | String | the path where the object should be saved |
| obj | T | the object to be saved |
Return
void