Base class: Object
This is the base class for all media classes.
| Property | Type | Description |
|---|---|---|
| path | const WString& path | read-only string containing the path to the file the asset was loaded from |
| packagepath | const WString& path | read-only string containing the path to the package the asset was loaded from |
| properties | table | user-defined properties |
| GetPackage | Method | returns the package the asset was loaded from, if it has not been deleted |
| Reload | Method | reloads an asset from the file it was originally loaded from |
| Save | Method | saves an asset to a file |