newbie question about meshes

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
chinanzio
Posts: 25
Joined: Wed Apr 11, 2007 10:56 am

newbie question about meshes

Post by chinanzio »

hi , i am not an expert programmer and i have found this library helpfull, making a little application , i've got a question...
has the api any function to get the mesh from an iscene node ??
like this:
MyIMesh = MyISceneNode->getMesh(0);
i have looked arround without luck...
thanks!!
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Did you check the API/source of ISceneNode for the function? If it's there then yes, if it's not then probably not ;)
Image Image Image
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Well, it's not that simple, although it's rather simple (especially if you'd first read the tutorials). There is an IMeshSceneNode and an IAnimatedMeshSceneNode from which you can get the meshes. A general ISceneNode does not have a mesh, hence also no method to return it.
Post Reply