Class GltfModelLoader
- Namespace
- Elegy.AssetSystem.Loaders
- Assembly
- Elegy.AssetSystem.dll
Built-in GLTF loader.
public class GltfModelLoader : BaseAssetIo, IModelLoader, IAssetIo, IPlugin
- Inheritance
-
GltfModelLoader
- Implements
- Inherited Members
Properties
Name
The name of this plugin.
public override string Name { get; }
Property Value
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 extension)
Parameters
extension
string