Scene Node Callbacks?

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
Avian
Posts: 17
Joined: Sun Dec 16, 2007 7:14 am

Scene Node Callbacks?

Post by Avian »

Is there some kind of method of creating a callback for each scene node to be called each time the screen is redrawn?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, you have to overwrite OnRegisterSceneNode. It's called each time before rendering is done, at least for the top-most scene nodes. Childs may prohibited from calling this method by their parents.
Post Reply