Page 1 of 1

Identifying a mesh

Posted: Sun Jul 03, 2005 9:42 pm
by selles
Hello,:D

I am making a mouse picking that return the name of mesh pointed for the mouse cursor in my scene, does a function exist where I can set a name/id for a mesh and later get him when I point the mouse cursor to the same mesh?

Thank you!

selles do Brasil

Posted: Mon Jul 04, 2005 6:31 pm
by puh
Hm, you even didn't try to search the docs, uh :evil:
setName

Code: Select all

virtual void irr::scene::ISceneNode::setName  (  const wchar_t *  name   )  [inline, virtual] 
Sets the name of the node. 
getName

Code: Select all

virtual const wchar_t* irr::scene::ISceneNode::getName  (    )  const [inline, virtual] 
Returns the name of the node.

Posted: Mon Jul 04, 2005 7:32 pm
by Guest
I'm a stupid even, I sought every place, less in that class :lol:

I accustomed with the way of organization of the engine Ogre, and now that began with Irrilicht I am half lost

Sorry and Thank you..

Posted: Mon Jul 04, 2005 7:32 pm
by Guest
I'm a stupid even, I sought every place, less in that class :lol:

I accustomed with the way of organization of the engine Ogre, and now that began with Irrilicht I am half lost

Sorry and Thank you. :D