honya Posted June 7, 2017 Share 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 Link to comment
maxi Posted June 8, 2017 Share 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. Link to comment
honya Posted June 8, 2017 Author Share Posted June 8, 2017 Ok, thanks for reply. Honya Link to comment
Recommended Posts