loadModel
AssetLoaderModuleInterface::loadModel
Loads a model from a file.
Declaration
virtual Model loadModel(const std::string& filePath) = 0;
Parameters
Name |
Type |
Description |
---|---|---|
filePath |
const std::string& |
Path to the file to load. |
Returns
A Model containing information about the loaded model.
If the model could not be loaded (for example: if the file does not exist, or the Asset Loader Module does not support this model file format), the returned Model contains the structure’s default information.