findModelByName

AssetManager::findModelByName

Returns the model associated with the name.

Declaration

Model* findModelByName(const std::string& modelName);

Parameters

Name

Type

Description

modelName

const std::string&

The name of the Model.

Returns

A pointer to a Model if the name is associated with a model, else, returns nullptr.