honya Posted June 7, 2017 Posted June 7, 2017 Hi, i have Node that contain ObjectMeshStatic or ObjectMeshSkinned and i want change name of selected surface and then save mesh and node with new surface name. I found function setSurfaceName, but it is on Mesh or ObjectMeshDynamic, so my question is: is here a possibily to change surface name on Node without some workaround using Mesh class? Thanks Honya
maxi Posted June 8, 2017 Posted June 8, 2017 Hi Jan, Unfortunately, there is no such method in ObjectMeshStatic / Skinned available. You have to get mesh and modify it, then call ObjectMeshStatic::setMesh + saveMesh.
Recommended Posts