Class ObjModelLoader

Namespace
Elegy.AssetSystem.Loaders
Assembly
Elegy.AssetSystem.dll

Built-in OBJ loader.

public class ObjModelLoader : BaseAssetIo, IModelLoader, IAssetIo, IPlugin
Inheritance
ObjModelLoader
Implements
Inherited Members

Properties

Name

The name of this plugin.

public override string Name { get; }

Property Value

string

Methods

LoadModel(string)

Loads a model from the given path.

public Model? LoadModel(string path)

Parameters

path string

Returns

Model

The model with its data, null if it cannot be loaded.

Supports(string)

Whether or not this asset loader/writer supports this format. For example, an OBJ loader may support .obj.

public override bool Supports(string path)

Parameters

path string

Returns

bool