Jump to content

[SOLVED] Finding mesh object issue


photo

Recommended Posts

Hello,

 

I have added few ObjectMesh using add_editor(new ObjectMesh("*.mesh")); after this I set transformation matirx & set material & property for all the mesh objects.

 

Now I am trying to get access to the names of each of these meshes using ObjectMesh.getName(), but I am getting null values to all.

 

Can anyone tell me at which stage the names will be assigned to dynamically add objectmesh, so that I can access them after it.

 

Thanks

Link to comment

But when I check the nodes from the editor, I am able to see the names of the ObjectMesh.

 

So if I am not able to get the names of the objectmesh through mentioned way, than what is that I need to do to access the specific objectmesh

 

Thanks

Link to comment

Yes you can see the name of mesh like ObjectMesh_xxx, but if you select it, you will find the name part in Nodes tab are blank. Meas no name, use id if you can or manually set the name.

Link to comment
×
×
  • Create New...