getMeshID ========= :doc:`/types/Script/index`::getMeshID Loads a mesh in the :doc:`/module/graphics_module/index` and returns a unique identifier to this mesh. Declaration ----------- .. code-block:: cpp MeshID getMeshID(const Mesh& mesh); Parameters ---------- .. list-table:: :width: 100% :header-rows: 1 :class: code-table * - Name - Type - Description * - mesh - const :doc:`/types/Mesh/index`\& - Mesh to load in the :doc:`/module/graphics_module/index`. Returns ------- A unique :doc:`/types/MeshID/index` identifier for the mesh. If the mesh could not be loaded, the returned value is ``NTSHENGN_MESH_UNKNOWN``.