Class BaseAssetIo
- Namespace
- Elegy.AssetSystem.Loaders
- Assembly
- Elegy.AssetSystem.dll
Base model loader, makes implementing the IAssetIo interface quicker.
public abstract class BaseAssetIo : IAssetIo, IPlugin
- Inheritance
-
BaseAssetIo
- Implements
- Derived
- Inherited Members
Properties
Error
If Init() returned false
, the error message.
public string Error { get; }
Property Value
Initialised
Set by Init() once initialisation succeeds.
public bool Initialised { get; }
Property Value
Name
The name of this plugin.
public abstract string Name { get; }
Property Value
Methods
Init()
Called when the plugin is being initialised.
public virtual bool Init()
Returns
Shutdown()
Called when the engine and plugins are shutting down.
public virtual void Shutdown()
Supports(string)
Whether or not this asset loader/writer supports this format. For example, an OBJ loader may support .obj.
public abstract bool Supports(string path)
Parameters
path
string