findModelByName =============== :doc:`/types/Script/index`::findModelByName Returns the model associated with the name. Declaration ----------- .. code-block:: cpp Model* findModelByName(const std::string& modelName); Parameters ---------- .. list-table:: :width: 100% :header-rows: 1 :class: code-table * - Name - Type - Description * - modelName - const `std::string `_\& - The name of the :doc:`/types/Model/index`. Returns ------- A pointer to a :doc:`/types/Model/index` if the name is associated with a model, else, returns ``nullptr``.