I am searching "OnPreRender()" method, where it actually defines and implemented but unable to find.
Please help me,
I have read the documentation for the
class irr::scene::IAnimatedMeshSceneNode;
class irr::scene::ISceneNode;
but still not found that..
OnPreRender() Method??
-
- Posts: 8
- Joined: Fri Aug 27, 2010 3:41 pm
- Location: Multan, Pakistan
OnPreRender() Method??
Can't Be Tamed
look for OnRegisterSceneNode() !!!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 8
- Joined: Fri Aug 27, 2010 3:41 pm
- Location: Multan, Pakistan
Code: Select all
virtual void irr::scene::ISceneNode::OnAnimate ( u32 timeMs ) [inline, virtual]
OnAnimate() is called just before rendering the whole scene.
Nodes may calculate or store animations here, and may do other useful things, depending on what they are. Also, OnAnimate() should be called for all child scene nodes here. This method will be called once per frame, independent of whether the scene node is visible or not.
Code: Select all
virtual void irr::scene::ISceneNode::OnRegisterSceneNode ( ) [inline, virtual]
This method is called just before the rendering process of the whole scene.
Nodes may register themselves in the render pipeline during this call, precalculate the geometry which should be renderered, and prevent their children from being able to register themselves if they are clipped by simply not calling their OnRegisterSceneNode method. If you are implementing your own scene node, you should overwrite this method with an implementation code looking like this:
In fact i want to handle those nodes that are currently visible..
Can't Be Tamed