loadModel
AssetLoaderModuleInterface::loadModel
Loads a model from a file.
Declaration
virtual bool loadModel(const std::string& filePath, Model& model) = 0;
Parameters
Name |
Type |
Description |
|---|---|---|
filePath |
const std::string& |
Path to the file to load. |
model |
The model to put the information in. |
Returns
true if the model has been successfully loaded, else, if the model could not be loaded (for example: if the file does not exist, or the Asset Manager or Asset Loader Module does not support this model file format (including the case where there is no Asset Loader Module)), returns false.