This page contains reference documentation for the GetActiveMesh function. This function returns the active mesh in the scene graph.
Mesh GetActiveMesh()
Examples are as follows:
// Set the selected mesh as Active Mesh.
Node activeMesh = Model.GetActiveMesh();
activeMesh.Name = "ActiveMesh";
For sample code: