Jump to content

Missing setSurfaceName on ObjectMeshSkinned/ObjectMeshStatic/Object


photo

Recommended Posts

Posted

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

Posted

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.

×
×
  • Create New...